[FFmpeg-user] Which command line can do dvb_teletext from ts to mp4

Moritz Barsnick barsnick at gmx.net
Tue Feb 16 14:19:37 CET 2016


On Tue, Feb 16, 2016 at 12:08:32 +0100, Moritz Barsnick wrote:
> On Tue, Feb 16, 2016 at 10:19:37 +0000, Carl Eugen Hoyos wrote:
> > Since I just wanted to open a ticket saying this 
> > absolutely never works:

Why do you assume this absolutely never works? (I may have missed what
is so different about my stream that it couldn't work with Henk's.)
Not a rhetorical question. Out of interest. :-)

> > Please provide your input sample;-(
> 
> Okay, let me strip that 10 GB input MPEG-TS down (using "dd") to a
> section which demonstrates nicely. I'll upload it in an hour or so.

I have stripped it down to approx. one minute, 100MiB. Sorry, I could
have stripped it down more, but I wanted at least a few transitions in
the subtitles.

Find it as DVB-S.teletext_subtitles_777.ts and
DVB-S.teletext_subtitles_777.ts.txt on
ftp://upload.ffmpeg.org/incoming/.

For those who don't have read access there:
https://dl.dropboxusercontent.com/u/16955557/Video/DVB-S.teletext_subtitles_777.ts
https://dl.dropboxusercontent.com/u/16955557/Video/DVB-S.teletext_subtitles_777.ts.txt

I wrote some details in the text file, but let me quote as least one
caveat (for those who trip across this message and not the whole
thread):
Note that only with the use of "-fix_sub_duration" do the subtitles
come with the correct timing in the resulting file. Without they come
extremely too slowly.

Command line used:
$ ffmpeg -fix_sub_duration -txt_format text -txt_page 777 -i DVB-S.teletext_subtitles_777.ts -map 0:v -map 0:2 -map 0:5 -c:v libx264 -c:a libfdk_aac -c:s mov_text -t 60 mov_text_from_DVB.02.mp4

Moritz


More information about the ffmpeg-user mailing list