[FFmpeg-trac] #11263(avcodec:closed): [Regression] Closed Captions in MPEG-TS no more recognized

FFmpeg trac at avcodec.org
Sat Dec 28 01:01:57 EET 2024


#11263: [Regression] Closed Captions in MPEG-TS no more recognized
---------------------------------------+-----------------------------------
             Reporter:  Selcuk Ozturk  |                    Owner:  (none)
                 Type:  defect         |                   Status:  closed
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:  fixed
             Keywords:  mpegts         |               Blocked By:
             Blocking:                 |  Reproduced by developer:  1
Analyzed by developer:  1              |
---------------------------------------+-----------------------------------
Changes (by Marth64):

 * analyzed:  0 => 1
 * resolution:   => fixed
 * status:  new => closed

Comment:

 In "bbd0be04d0 avcodec/ccaption_dec: allow selection of second field
 captions",the ability was added to decode field 1/2 separately

 Your sample likely has a field 2 with padding or junk bytes, and as such
 the auto selection is choosing field 2. I haven't dug into the hex yet but
 this is likely to be the cause.

 Anyways, this works:

 {{{
 ffmpeg -data_field first -c:s:1 ccaption_dec -f lavfi -i
 "movie=11263.ts[out+subcc]" -map 0:s -c:s ass -f ass -
 }}}

 Not a bug IMO, its working as designed within FFmpeg's Closed Captions
 limits. Will close ticket, please let me know if we need to re-open.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11263#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list