[FFmpeg-trac] #4616(avformat:open): Closed Captions: Data Ignored since exceeding screen width

FFmpeg trac at avcodec.org
Thu Aug 27 13:59:21 CEST 2015


#4616: Closed Captions: Data Ignored since exceeding screen width
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  cc mov       |               Blocked By:
  videolan                           |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 The beginning of the Closed Captions looks like the following:
 {{{
 00000000  00 00 00 0c 63 64 61 74  00 00 00 00 00 00 00 5c
 |....cdat.......\|
 00000010  63 64 61 74 94 20 94 52  c8 49 2c 20 54 c8 45 52  |cdat. .R.I,
 T.ER|
 00000020  45 ae 20 4a d5 d3 54 20  57 c1 ce 54 45 c4 94 f2  |E. J..T
 W..TE...|
 00000030  54 4f 20 57 45 4c 43 4f  cd 45 20 d9 4f d5 20 54  |TO WELCO.E
 .O. T|
 00000040  4f 20 cd d9 20 d3 c8 4f  57 80 94 20 94 2c 94 2f  |O .. ..OW..
 .,./|
 00000050  94 20 94 f2 d3 54 c1 52  52 49 ce c7 20 cd 45 ad  |. ...T.RRI..
 .E.|
 00000060  ad cb d5 da 43 4f ae 80  00 00 00 3c 63 64 61 74
 |....CO.....<cdat|
 }}}
 I suspect this (the second packet) should be decoded as "HI THERE JUST
 WANTED TO WELCOME YOU TO MY SHOW STARRING ME..." (or similar). If I cut
 away the first eight bytes (size + "cdat") and feed the shortened packet
 to the cc_dec decoder the result is "T WCO". What do I miss?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4616#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list