[FFmpeg-user] How to get DVB-Teletxt into MP4

Robin A. Jensen RAJensen at youmail.dk
Sat Feb 8 21:12:32 EET 2020


Den 08-02-2020 kl. 20:06 skrev James Darnley:
> On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
>> 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'
>> [NULL @ 0x255b3e0] Unable to find a suitable output format for 'mov_text'
> You have a syntax error i your command line.  You are trying to write to
> a file called "mov_text_ and ffmpeg doesn't know what format that is
> supposed to be so gives you that error.
>
>> -c:s:0 copy mov_text
> Make up your mind.  codec copy or codec mov_text?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
That command is in the wiki. Apparently it used because of the mp4.
This is the command:

*-scodec*  [/*subtitle codec*/]
for*MP4*  containers:|*copy*|,|*mov_text If i remove it: 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 -metadata:0:1:2 language=dan 
'Beck Øje for øje (4).mp4 ffmpeg version git-2019-09-25-55b3258 
Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (Raspbian 
8.3.0-6+rpi1) configuration: --arch=armhf --enable-gpl --enable-nonfree 
--enable-omx --enable-omx-rpi --enable-mmal libavutil 56. 35.100 / 56. 
35.100 libavcodec 58. 58.101 / 58. 58.101 libavformat 58. 33.100 / 58. 
33.100 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.102 / 7. 
58.102 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 
libpostproc 55. 6.100 / 55. 6.100 [h264 @ 0x35bfbb0] Increasing reorder 
buffer to 2 [mpegts @ 0x35ba3d0] start time for stream 4 is not set in 
estimate_timings_from_pts [mpegts @ 0x35ba3d0] PES packet size mismatch 
Last message repeated 1 times 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 Beck Øje for øje 
(4).mp4: Invalid or incomplete multibyte or wide character *|



More information about the ffmpeg-user mailing list