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

Alon Bar-Lev alon.barlev at gmail.com
Tue Dec 11 00:27:50 CET 2012


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

How do I put the filter in this case?

Thanks!
Alon


More information about the ffmpeg-user mailing list