[FFmpeg-user] How to correctly set "-audio_service_type hi"?
Peter van den Houten
petervdh at gmail.com
Fri Nov 22 19:24:22 EET 2019
On 11/22/2019 06:05 AM, André Weidemann wrote:
> 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.
These are a few of the metadata tags you can use. Several have sample
data that I've used. You'll want to change the disposition tag to suite
your use:
-metadata description=""
-metadata title=""
-metadata year=""
-metadata category=""
-metadata podcast=""
-metadata genre=""
-metadata artist=""
-metadata date=""
-metadata album=""
-metadata comment=""
-metadata media_type=""
-metadata:s:v:0 title="10Mbps 1080p AVC"
-metadata:s:v:0 language=eng
-disposition:v:0 default
-metadata:s:a:0 title="1509Kbps 5.1 channel DTS"
-metadata:s:a:0 language=eng
-disposition:a:0 default
-metadata:s:s:0 title="English UTF"
-metadata:s:s:0 language=eng
-disposition:s:0 none
-metadata:s:s:1 title="French UTF"
-metadata:s:s:1 language=fre
-disposition:s:1 none
-metadata:s:s:2 title="French UTF FORCED"
-metadata:s:s:2 language=fre
-disposition:s:2 none
-metadata:s:s:3 title="German SRT"
-metadata:s:s:3 language=ger
-disposition:s:3 none
-metadata:s:s:4 title="Spanish SRT"
-metadata:s:s:4 language=spa
-disposition:s:4 none
-metadata:s:s:5 title="Dutch SRT"
-metadata:s:s:5 language=dut
-disposition:s:5 default
-metadata:s:s:6 title="Italian SRT"
-metadata:s:s:6 language=ita
-disposition:s:6 none
More information about the ffmpeg-user
mailing list