#11464: Subtitles extracted out of order 608 TS [out+subcc]
--------------------------------------+------------------------------------
Reporter: Monquis | Owner: (none)
Type: defect | Status: new
Priority: minor | Component: avfilter
Version: 7.1 | Resolution:
Keywords: eia-608 atsc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by Monquis):
You nailed it. I can upload an example capture.
14
00:00:35,736 --> 00:00:38,671
Okay everyone, our mission
is to provide complete,
15
00:00:38,673 --> 00:00:40,740
balanced nutrition
for strength and energy.
F:\Entertainment General\badsubtitles>"D:\Program
Files\ffmpeg\bin\ffmpeg.exe" -report -n -f lavfi -i
"movie='subtitles_out_of_order.ts'[out+subcc]" -map 0:s -c:s copy -f rcwt
subtitles_out_of_order.rcwt.bin
ffmpeg started on 2025-02-11 at 20:48:39
Report written to "ffmpeg-20250211-204839.log"
Log level: 48
ffmpeg version N-118457-gd6a364e7c3-20250210 Copyright (c) 2000-2025 the
FFmpeg developers
built with gcc 14.2.0 (crosstool-NG 1.26.0.120_4d36f27)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--enable-shared --disable-static --disable-w32threads --enable-pthreads
--enable-iconv --enable-zlib --enable-libfreetype --enable-libfribidi
--enable-gmp --enable-libxml2 --enable-lzma --enable-fontconfig --enable-
libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse
--enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-
libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint
--enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav
--disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r
--enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-
libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-
libopus --enable-librist --enable-libssh --enable-libtheora --enable-
libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl
--enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-
librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-
libsnappy --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-
libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-
libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo
--disable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2
--enable-libxvid --enable-libzimg --enable-libzvbi --extra-
cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-
ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc
--cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar
--ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm
--extra-version=20250210
libavutil 59. 56.100 / 59. 56.100
libavcodec 61. 33.100 / 61. 33.100
libavformat 61. 9.107 / 61. 9.107
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 9.100 / 10. 9.100
libswscale 8. 13.100 / 8. 13.100
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
[mpeg2video @ 000002a54c553a40] Invalid frame dimensions 0x0.
Last message repeated 42 times
[mpegts @ 000002a54c543980] PES packet size mismatch
[mpegts @ 000002a54c543980] Packet corrupt (stream = 1, dts = 7050204567).
Input #0, lavfi, from 'movie='subtitles_out_of_order.ts'[out+subcc]':
Duration: N/A, start: 78283.660633, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 720x480 [SAR 1:1 DAR 3:2],
29.97 fps, 29.97 tbr, 90k tbn
Stream #0:1: Subtitle: eia_608 (cc_dec)
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Output #0, rcwt, to 'subtitles_out_of_order.rcwt.bin':
Metadata:
encoder : Lavf61.9.107
Stream #0:0: Subtitle: eia_608
Press [q] to stop, [?] for help
[mpeg2video @ 000002a54e398f80] ac-tex damaged at 14 28
[mpeg2video @ 000002a54e398f80] Warning MVs not available
[mpeg2video @ 000002a54e398f80] concealing 90 DC, 90 AC, 90 MV errors in P
frame
[out#0/rcwt @ 000002a54c4e9200] video:0KiB audio:0KiB subtitle:95KiB other
streams:0KiB global headers:0KiB muxing overhead: unknown
size= 30KiB time=00:00:52.65 bitrate= 4.6kbits/s speed= 131x
F:\Entertainment General\badsubtitles>ccextractorwinfull.exe
subtitles_out_of_order.rcwt.bin
CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
--------------------------------------------------------------------------
Input: subtitles_out_of_order.rcwt.bin
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[CEA-708: 63 decoders active]
[CEA-708: using charset "none" for all services]
[Timing mode: Auto] [Debug: No] [Buffer input: Yes]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No]
[Add font color data: Yes] [Add font typesetting: Yes]
[Convert case: No][Filter profanity: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
[Quantisation-mode: CCExtractor's internal function]
-----------------------------------------------------------------
Opening file: subtitles_out_of_order.rcwt.bin
File seems to be a raw caption with time data
Analyzing data in CCExtractor's binary format
Total frames time: 00:00:00:000 (0 frames at 29.97fps)
Min PTS: 00:00:00:000
Max PTS: 00:00:52:653
Length: 00:00:52:653
Done, processing time = 0 seconds
Issues? Open a ticket here
https://github.com/CCExtractor/ccextractor/issues
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11464#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".