Hi,I'd like to transcode a TS file containing several streams. There is one video, 3 audio and one subtitle stream.
I'm using ffmpeg version 3.4.6-0ubuntu0.18.04.1 One of the audio streams is descriptive audio for the hearing impaired.Now I'd like to mark it as such in the newly created mkv file. ffmpeg only flags the subtitle stream as hearing impaired, but this was marked in the input file already...
Does anyone know how to specifiy the stream that should be marked? I'd like to mark stream 0:2. Thanks in advance André This is my commandline:ffmpeg -y -vsync 0 -hwaccel cuvid -i 00001.ts -ss 00:00:00.435 -metadata title="SomeDescription" -metadata:s:a:1 language=deu -metadata:s:a:2 language=deu -metadata:s:a:3 language=deu -metadata:s:s:4 language=deu -map 0:0 -map 0:1 -map 0:3 -map 0:4 -map 0:2 -b:v 2M -c:v h264_nvenc -c:s dvdsub -c:a copy -audio_service_type hi -preset slow 1.mkv
ffmpeg prints the following for input and output: Input #0, mpegts, from '00001.ts': Duration: 01:29:44.02, start: 37145.012544, bitrate: 11153 kb/s Program 132Stream #0:0[0x13ed]: 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[0x13ee](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s Stream #0:2[0x13ef](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s Stream #0:3[0x13f2](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s Stream #0:4[0x13f1](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (dvb_subtitle (dvbsub) -> dvd_subtitle (dvdsub))
Press [q] to stop, [?] for help
Output #0, matroska, to '1.mkv':
Metadata:
title : SomeDescription
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (h264_nvenc) (Main) (H264 / 0x34363248),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 50 fps, 1k
tbn, 50 tbc
Metadata:
encoder : Lavc57.107.100 h264_nvenc
Side data:
cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 4000000
vbv_delay: -1
Stream #0:1(deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz,
stereo, s16p, 256 kb/s
Stream #0:2(deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz,
stereo, s16p, 256 kb/s
Stream #0:3(deu): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), fltp, 448 kb/s
Stream #0:4(deu): Subtitle: dvd_subtitle (dvdsub) (hearing impaired)
Metadata:
encoder : Lavc57.107.100 dvdsub
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ 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".
