Opened 4 years ago

Last modified 4 years ago

#2564 open enhancement

Tiled swf lossless frames are not decoded

Reported by: hxuanyu Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: swf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by cehoyos)

Hi, this is the swf screen-capture with audio generated by Jing.
https://dl.dropboxusercontent.com/u/89678527/2013-05-13_1157.swf

While this file could be played in Flashplayer, ffmpeg has problem in playing the video (image freezes), and audio playback is ok.

log shows:

$ ffplay.exe 2013-05-13_1157.swf
ffplay version N-50025-gb8bb661 Copyright (c) 2003-2013 the FFmpeg developers=0/0
  built on Feb 17 2013 02:37:45 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 38.100 /  3. 38.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[swf @ 039c1800] Stream #0: not enough frames to estimate rate; consider increasing probesize
[swf @ 039c1800] Estimating duration from bitrate, this may be inaccurate
Input #0, swf, from '2013-05-13_1157.swf':
  Duration: 01:07:07.73, bitrate: 88 kb/s
    Stream #0:0: Audio: adpcm_swf, 22050 Hz, mono, s16, 88 kb/s
    Stream #0:1: Video: rawvideo (ARGB / 0x42475241), argb, 386x217, 10 fps, 10 tbr, 10 tbn
[rawvideo @ 039d99c0] Invalid buffer size, packet size 335048 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 335916 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 336592 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 337464 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 318080 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 374528 < expected length 2221648

...

Attachments (1)

patchtiledswf.diff (1.8 KB) - added by cehoyos 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from FFmpeg to avformat
  • Description modified (diff)
  • Keywords swf added
  • Priority changed from important to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Summary changed from swf video can't be played while Flashplayer can play it to Tiled swf lossless frames are not decoded
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

For future bug reports: Please only post ffplay console output if a problem is not reproducible with ffmpeg, always test ffmpeg (the application).

Frames after the first frame are tiled into four parts, I will attach a patch that allows to see the principle. Maybe possible to implement specifically in the swf demuxer.

Changed 4 years ago by cehoyos

comment:2 Changed 4 years ago by hxuanyu

Hi friend,

any progress on this enhancement?

Thanks!

comment:3 Changed 4 years ago by cehoyos

Ticket #3436 looks related.

Note: See TracTickets for help on using tickets.