Hi all, i'm trying to cut some TV recordings with FFmpeg and would like to keep as much metadata as possible.
Cutting works well for the most part but the audio track titles that are displayed in VLC for the original transport stream are always lost in the process - even if I'm just remuxing the streams into a new TS container. The only software I know that manages to retain the titles is the commercial Windows tool TS-Doctor. I've uploaded a short sample file [1] and a screenshot of the track title display in VLC [2]. After running ffmpeg -i test.ts -map 0 -c copy test-ffmpeg.ts the title that was displayed for audio track 2 (visual impaired) is gone. VLC only shows the language for each track in the output file. I've attached the output of ffmpeg below. Does anybody know if these audio track titles can be retained somehow? Regards Janis [1] http://www.hamme.info/files/tests.ts [2] http://www.hamme.info/files/vlc-audio-tracks.png ffmpeg version 4.1.3 from Debian Buster: Input #0, mpegts, from 'test.ts': Duration: 00:01:00.22, start: 36865.445022, bitrate: 7586 kb/s Program 55101 Stream #0:0[0x201]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x202](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2[0x203](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions) Stream #0:3[0x204](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s Stream #0:4[0x5f1](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired) Output #0, mpegts, to 'test-ffmpeg.ts': Metadata: encoder : Lavf58.20.100 Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions) Stream #0:3(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s Stream #0:4(deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired) Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Stream #0:4 -> #0:4 (copy) Press [q] to stop, [?] for help frame= 3012 fps=0.0 q=-1.0 Lsize= 52431kB time=00:01:00.26 bitrate=7127.7kbits/s speed= 576x video:42024kB audio:6118kB subtitle:6kB other streams:0kB global headers:0kB muxing overhead: 8.896022% _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
