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

Reino Wijnsma rwijnsma at xs4all.nl
Sat Feb 8 22:22:54 EET 2020


On 2020-02-08T20:47:35+0100, Robin A. Jensen via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:

> No one of them is getting me any closer. Just the same error:
> [...]
>     Stream #0:4[0x12]: Data: epg
> Beck Øje for øje (4).mp4: Invalid or incomplete multibyte or wide character

I'm no FFmpeg expert, but from what I can find this probably means certain characters can't be converted to mov_text. I'm not sure though.

On 2020-02-08T20:12:32+0100, Robin A. Jensen via ffmpeg-user <ffmpeg-user at ffmpeg.org> 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 -metadata:0:1:2 language=dan 'Beck Øje for øje (4).mp4

I don't have any experience with a Raspberry Pi, but I can't believe putting both -c:v h264_mmal and -c:v h264_omx in your commandline would work.
Except for the video-bitrate you're not changing anything else, so why not do a streamcopy instead?Also the order of your options matters. Could you try:

ffmpeg -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -map 0:2 -map 0:3 -c copy -map 0:1 -c:s mov_text -metadata:s:s language=dan 'Beck Øje for øje (4).mp4'

-- Reino


More information about the ffmpeg-user mailing list