[FFmpeg-user] How to get DVB-Teletxt into MP4
Robin A. Jensen
RAJensen at youmail.dk
Sat Feb 8 20:38:44 EET 2020
Hi.
I could use a little help.
I have a file with several streams and a DVB-Teletext stream with subtitles.
I have been looking in the Wiki, but i am unable to get the subtitles
encoded into my mp4 file. I keep getting different errors. Video and
sound is np problem. I know how to get that encoded
I want the stream 0:1:2 dan or all of them to be encoded to my file.
I have tried with this:
ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to
00:05:00 -map 0:0 -map 0:1 -map 0:2 -c:v h264_omx -b:v 4800k -c:a:0 copy
-c:s:0 copy mov_text -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4'
And other combinations, but it won't work.
So what is the correct commandline to get it work for this file:
Input #0, mpegts, from 'Beck_ _je for _je (4).ts':
Duration: 01:42:01.16, start: 27482.817233, bitrate: 9647 kb/s
Program 7310
Metadata:
service_name : C More Hits
service_provider: YouSee
Stream #0:0[0x99c]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50
tbr, 90k tbn, 50 tbc
Stream #0:1[0x99e](swe,nor,dan,fin): Subtitle: dvb_teletext
([6][0][0][0] / 0x0006)
Stream #0:2[0x9a2](dan): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
Stream #0:3[0x9a3](nor): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 384 kb/s
No Program
Stream #0:4[0x12]: Data: epg
More information about the ffmpeg-user
mailing list