similar to https://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-June/027029.html and
https://trac.ffmpeg.org/ticket/3025 My "quest" is to convert an dvb_teletext stream to some human readable (ex: .srt) format. Ex: using this file: https://trac.ffmpeg.org/attachment/ticket/3025/sbs.2.5M.ts I don't seem to be having much luck (DVBT stream). Any feedback welcome :) -roger- ffmpeg.exe -txt_format text -i c:\users\rdp\Downloads\sbs.2.5M.ts -map 0:i:0x2c -y out.srt ffmpeg version N-77844-g62051f3 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/Users/rdp2/dev/ffmpeg-windows-build-helpers2/sandbox/cross_compi lers/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fo ntconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_S TATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enabl e-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --en able-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable -libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enab le-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvp x --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --en able-gray --enable-libopenh264 --extra-libs=-lpsapi --extra-cflags= --enable-static --disable-shared --prefix=/Users/rdp2/dev/ff mpeg-windows-build-helpers2/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 --enable-runtime-cpudetect libavutil 55. 12.100 / 55. 12.100 libavcodec 57. 22.100 / 57. 22.100 libavformat 57. 21.101 / 57. 21.101 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 23.100 / 6. 23.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 [mpegts @ 054a3860] PES packet size mismatch Last message repeated 8 times [mpegts @ 054a3860] probed stream 2 failed [mpeg2video @ 05564b00] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05564b00] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05564b00] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05564b00] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. Last message repeated 1 times [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpegts @ 054a3860] DTS 5653752687 < 14243683679 out of order [mpeg2video @ 05564b00] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. Last message repeated 1 times [mpeg2video @ 05d52560] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 0556b7a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpeg2video @ 055724a0] Invalid frame dimensions 0x0, or possibly encountered data before first frame. [mpegts @ 054a3860] PES packet size mismatch Last message repeated 5 times [mpegts @ 054a3860] Could not find codec parameters for stream 2 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 054a3860] Could not find codec parameters for stream 12 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 054a3860] Could not find codec parameters for stream 13 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 054a3860] Could not find codec parameters for stream 14 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 054a3860] Could not find codec parameters for stream 18 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 054a3860] Could not find codec parameters for stream 23 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 054a3860] Could not find codec parameters for stream 24 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'c:\users\rdp\Downloads\sbs.2.5M.ts': Duration: 00:00:01.96, start: 17589.904667, bitrate: 10031 kb/s Program 817 Stream #0:7[0xa1]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 k b/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:25[0x51](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:9[0x29](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 Stream #0:13[0x1388]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:24[0x1e89]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:14[0x1b58]: Unknown: none ([11][0][0][0] / 0x000B) Program 818 Stream #0:5[0xa2]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 k b/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:11[0x53](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:3[0x2a](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 Stream #0:12[0x1e8a]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:13[0x1388]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:14[0x1b58]: Unknown: none ([11][0][0][0] / 0x000B) Program 820 Stream #0:16[0xa4]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:22[0x57](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:10[0x2d](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 Stream #0:23[0x1e8c]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:13[0x1388]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:14[0x1b58]: Unknown: none ([11][0][0][0] / 0x000B) Program 821 Stream #0:8[0x66]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], max. 80000 k b/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:17[0x67](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:15[0x2b](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 Stream #0:18[0x1e8d]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:13[0x1388]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:14[0x1b58]: Unknown: none ([11][0][0][0] / 0x000B) Program 830 Stream #0:0[0xc9](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s Program 831 Stream #0:20[0xca](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s Program 832 Stream #0:6[0xcb](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s Program 819 Stream #0:13[0x1388]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:24[0x1e89]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:14[0x1b58]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:4[0x2c](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250 Stream #0:21[0x55](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:19[0xa3]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x65]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s Stream #0:2[0x64]: Unknown: none Output #0, srt, to 'out.srt': Stream #0:0(eng): Subtitle: subrip, 128 kb/s Metadata: encoder : Lavc57.22.100 srt Stream mapping: Stream #0:4 -> #0:0 (dvb_teletext (libzvbi_teletextdec) -> subrip (srt)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
