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

Robin A. Jensen RAJensen at youmail.dk
Sat Feb 8 21:47:35 EET 2020


Den 08-02-2020 kl. 20:38 skrev Reino Wijnsma:
> On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
>> Den 08-02-2020 kl. 20:06 skrev James Darnley:
>>> On 2020-02-08 19:38, Robin A. Jensen via ffmpeg-user wrote:
>>>> -c:s:0 copy mov_text
>>> Make up your mind.  codec copy or codec mov_text?
>> 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
> That's https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/subtitle_options#Set_Subtitle_Codec I take it?
> You noticed it says "parameter example*s*"? Plural! Meaning it's either "copy", or "mov_text". Not both.
> So it's -c:s:0 mov_text what you want.
No one of them is getting me any closer. Just the same error:
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 @ 0x22cbbb0] Increasing reorder buffer to 2
[mpegts @ 0x22c63d0] start time for stream 4 is not set in 
estimate_timings_from_pts
[mpegts @ 0x22c63d0] 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
-c:v h264_omx -b:v 4800k -c:a:0 copy -c:s:0 mov_text -metadata:0:1:2 
language=dan 'Beck Øje for øje (4).mp4'r _je (4).ts' -to 00:05:00 -map 
0:0 -map 0:1 -map 0
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 @ 0x1b5dbb0] Increasing reorder buffer to 2
[mpegts @ 0x1b583d0] start time for stream 4 is not set in 
estimate_timings_from_pts
[mpegts @ 0x1b583d0] 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

>
> On 2020-02-08T20:01:31+0100, Robin A. Jensen via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
>> I don't know what you mean with top-post mailing list. I just use button "Answer list, so now i m,ove answer to buttom of mail.
> You could've used Google to find out of course, but posting your answer beneath the quoted message (or "bottom-posting") is exactly the etiquette here.
> Next time please remove the footer (from "ffmpeg-user mailing list" downward) as well.
>
> -- Reino

> I did use google but the answer on the mailing list, did get me any clear to the answer.


More information about the ffmpeg-user mailing list