[FFmpeg-trac] #11463(undetermined:new): Bitstreams with long Closed Captions do not get passed through in transcode flows
FFmpeg
trac at avcodec.org
Mon Feb 10 07:39:43 EET 2025
#11463: Bitstreams with long Closed Captions do not get passed through in transcode
flows
-------------------------------------+-------------------------------------
Reporter: uttam_32472 | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: cc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Using input file with long closed caption (which may require multiple
payloads) are not getting transcoded with all subtitle details. The long
lines doesn't appear in transcoded result.
./ffmpeg -y -i test_long-cc_hevc.mp4 out_long-cc.mp4
Input file test_long-cc_hevc.mp4 contains long line at #5 which can be
seen when played with vlc player.
Now using transcoded file out_long-cc.mp4, it shows blank for long line
and other smaller lines appear fine.
Pleas enable subtitles from vlc player using menu option "Subtitle->Sub
Track->Closed cations 1".
Execution logs:
./ffmpeg -y -i test_long-cc_hevc.mp4 out_long-cc.mp4
ffmpeg version 7.0.2-static https://johnvansickle.com/ffmpeg/ Copyright
(c) 2000-2024 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-
debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
--cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp
--enable-libgme --enable-gray --enable-libaom --enable-libfribidi
--enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt
--enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid
--enable-libzvbi --enable-libzimg
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_long-cc_hevc.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf61.9.100
Duration: 00:00:50.00, start: 0.000000, bitrate: 49 kb/s
Stream #0:0[0x1](und): Video: hevc (Main) (hev1 / 0x31766568),
yuv420p(tv, progressive), 1280x720, 45 kb/s, 30 fps, 30 tbr, 15360 tbn
(default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
encoder : Lavc61.22.100 libx265
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x7045500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3 BMI2 AVX2
[libx264 @ 0x7045500] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x7045500] 264 - core 164 r3191 4613ac3 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2024 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out_long-cc.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf61.1.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv,
progressive), 1280x720, q=2-31, 30 fps, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
encoder : Lavc61.3.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[out#0/mp4 @ 0x705af00] video:219KiB audio:0KiB subtitle:0KiB other
streams:0KiB global headers:0KiB muxing overhead: 8.946482%
frame= 1500 fps=268 q=-1.0 Lsize= 238KiB time=00:00:49.93 bitrate=
39.1kbits/s speed=8.92x
[libx264 @ 0x7045500] frame I:6 Avg QP: 7.50 size: 314
[libx264 @ 0x7045500] frame P:378 Avg QP:10.07 size: 155
[libx264 @ 0x7045500] frame B:1116 Avg QP:13.67 size: 146
[libx264 @ 0x7045500] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 0x7045500] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x7045500] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0%
0.0% 0.0% 0.0% skip:100.0%
[libx264 @ 0x7045500] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0%
0.0% direct: 0.0% skip:100.0%
[libx264 @ 0x7045500] 8x8 transform intra:0.0%
[libx264 @ 0x7045500] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0%
0.0% 0.0%
[libx264 @ 0x7045500] i16 v,h,dc,p: 98% 0% 2% 0%
[libx264 @ 0x7045500] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 0x7045500] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7045500] kb/s:35.70
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11463>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list