> > Okay, I still don't see the point where ffmpeg is not able to convert > to mov_text. I fail to find the proper description of that in this > thread. ;-) I send Carl a sample, which didn’t/does not work as it seems to work for you. > > Just like conversion from teletext to SRT works fine, so does this for > me: > > $ ffmpeg -ss 00:03:20 -fix_sub_duration -txt_format text -txt_page 777 -i > /home/barsnick/Downloads/PVR/20160130\ 2014\ -\ ZDF\ HD\ -\ München\ Mord.ts > -map 0:v -map 0:2 -map 0:5 -c:v copy -c:a copy -c:s mov_text -t 60 > tmp/München_Mord.mp4 Just did a recording from EinsFestival and here are the results:
ffmpeg -fix_sub_duration -txt_format text -txt_page 150 -i *.ts -map 0:v -map 0:3 -map 0:5 -c:v copy -c:a copy -c:s mov_text -t 60 ts2mp4.mp4 ffmpeg version N-78441-g4c44972 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8.2 (GCC) configuration: --prefix=/usr --enable-libfdk_aac --enable-libx264 --enable-gpl --enable-nonfree --enable-libzvbi libavutil 55. 17.102 / 55. 17.102 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 [h264 @ 0x1fd8ac0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x1fd8ac0] decode_slice_header error [h264 @ 0x1fd8ac0] no frame! [h264 @ 0x1fd8ac0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x1fd8ac0] decode_slice_header error [h264 @ 0x1fd8ac0] no frame! snip h264 @ 0x1fd8ac0] Increasing reorder buffer to 2 [NULL @ 0x1fdb940] start time for stream 4 is not set in estimate_timings_from_pts [mpegts @ 0x1fd4540] PES packet size mismatch Last message repeated 2 times Input #0, mpegts, from 'Patientenabzocke - Wohin geht das Geld im Gesundheitssystem-.10-30.ts': Duration: 00:15:36.91, start: 12645.189111, bitrate: 12758 kb/s Program 1 Stream #0:0[0x1523]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc Stream #0:1[0x1524](ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:2[0x1525](mis): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:3[0x1528](ger): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 448 kb/s Stream #0:4[0x1527](ger): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) No Program Stream #0:5[0x1526]: Subtitle: dvb_teletext, 492x250 Output #0, mp4, to 'ts2mp4.mp4': Stream #0:0: Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(ger): Audio: ac3, 48000 Hz, stereo, 448 kb/s Stream #0:2: Subtitle: mov_text, 128 kb/s Metadata: encoder : Lavc57.24.102 mov_text Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:3 -> #0:1 (copy) Stream #0:5 -> #0:2 (dvb_teletext (libzvbi_teletextdec) -> mov_text (native)) Error while opening encoder for output stream #0:2 - maybe incorrect parameters such as bit_rate, rate, width or height > > This displays fine in VLC, though I'm not sure whether you might want > better formatting. > > Moritz > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user