[FFmpeg-user] vob->mpeg4 with subtitle track

Roger Pack rogerdpack2 at gmail.com
Tue Dec 11 03:49:48 CET 2012


On 12/10/12, Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> On Mon, Nov 19, 2012 at 10:35 PM, Nicolas George
> <nicolas.george at normalesup.org> wrote:
>>
>> Le nonidi 29 brumaire, an CCXXI, Roger Pack a écrit :
>> > Anybody know if ffmpeg supports dvdsub "hard burn"?
>>
>> You could try the docs:
>>
>> http://ffmpeg.org/ffmpeg.html
>>
>> Look for "hardcode subtitles".
>>
>> Regards,
>>
>> --
>>   Nicolas George
>>
>
> Hi,
>
> Thank you for the reference.
>
> I don't exactly understand how to do convert the example to my case,
> can you please help?
>
> I use (the -map 0:2 is not working, so ignore):
>         ffmpeg \
>                 -i "${input}" \
>                 -map 0:0 \
>                 -map 0:1 \
>                 -map 0:2 \
>                 -codec:v mpeg4 \
>                 -codec:a copy \
>                 -codec:s copy \
>                 -qscale:v 4 \
>                 -threads 6 \
>                 -y "${output}"
>
> With the following streams:
>
> Input #0, mpeg, from '1-01-2.vob':
>   Duration: 00:10:04.19, start: 165.932000, bitrate: 6289 kb/s
>     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576
> [SAR 16:15 DAR 4:3], 9000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
>     Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
>     Stream #0:2[0x20]: Subtitle: dvd_subtitle

You insert an overlay filter, if that helps at all :)
-r


More information about the ffmpeg-user mailing list