[FFmpeg-trac] #6977(undetermined:new): Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY for some FLV files

FFmpeg trac at avcodec.org
Tue Jan 23 11:42:48 EET 2018


#6977: Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY for some FLV files
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  alex.svetkin                       |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:               |  master
  undetermined                       |               Blocked By:
             Keywords:  flv          |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Latest ffmpeg yields error for some flv files:
 {{{
 [flv @ 0x55992fe78ac0] Missing AMF_END_OF_OBJECT in
 AMF_DATA_TYPE_MIXEDARRAY, found 0
 [flv @ 0x55992fe78ac0] Packet mismatch -603979776 220 5497
 [flv @ 0x55992fe78ac0] Could not find codec parameters for stream 0
 (Audio: mp3, 22050 Hz, stereo, s16p, 64 kb/s): unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 ...
 [aac @ 0x558e4fadeda0] Trying to remove 1024 samples, but the queue is
 empty
 [mp4 @ 0x558e4fadd440] Timestamps are unset in a packet for stream 0. This
 is deprecated and will stop working in the future. Fix your code to set
 the timestamps properly
 [mp4 @ 0x558e4fadd440] Encoder did not produce proper pts, making some up.
 [aac @ 0x558e4fadeda0] Trying to remove 1024 samples, but the queue is
 empty
 }}}
 Increasing 'analyzeduration' and 'probesize' won't help. Output file has
 no video stream.
 Older versions (2.6.x) work as expected, so I assume this is regression
 bug.
 Also I can fix flv file metadata with yamdi, after that everything works
 fine:
 {{{
 yamdi -i bad.flv -o good.flv
 }}}

 How to reproduce:
 {{{
 ffmpeg -i bad.flv output.mp4
 }}}

 {{{
 ffmpeg version N-89872-g2e96f52780 Copyright (c) 2000-2018 the FFmpeg
 developers
   built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6977>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list