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

Reino Wijnsma rwijnsma at xs4all.nl
Sun Feb 9 03:19:22 EET 2020


On 2020-02-09T01:59:53+0100, Robin A. Jensen via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> ffmpeg -txt_format text -txt_page 599 -ss 00:04:45 -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:s:0 -c:s:2 mov_text -metadata:s:2 language=dan 'Beck _je for _je (4).srt'
> The -txt_page number i get by using VLC. So now i have the .srt file. Don't know how else to get ffmpeg to pick that one subtitle.
> Then i encode my video as i always do.
> Then i combine it with:
> ffmpeg -i 'Beck _je for _je (4).mp4' -i 'Beck _je for _je (4).srt' -c:v copy -c:a copy -c:s mov_text 'test.mp4'
> This seems to be working. But is a long way to go.

ffmpeg -ss 00:04:45 -c:v h264_mmal -i 'Beck_ _je for _je (4).ts' -to 00:05:00 -map 0:0 -c:v h264_omx -b:v 4800k -map 0:2 -map 0:3 -c:a copy -map 0:1 -txt_format text -txt_page 599 -c:s mov_text -metadata:s:s language=dan 'Beck Øje for øje (4).mp4'

Wouldn't this work? But again, without a sample we can't verify.

-- Reino


More information about the ffmpeg-user mailing list