Opened 6 years ago

Closed 6 years ago

#3436 closed defect (duplicate)

Getting error while convert swf video to avi format

Reported by: raju Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I am trying to transcode .swf this format to .avi format but it's not converted.
exact command line is "ffmpeg -i test2.swf -an output.avi"

I am attaching the test2.swf file to reproduce the issue on your side

The full, uncut console output is as below

C:\xampp\htdocs\phpffmpeg\ffmpeg\bin>ffmpeg -i test2.swf -an output.avi
ffmpeg version N-60321-g4d7d9a5 Copyright (c) 2000-2014 the FFmpeg developers

built on Feb 2 2014 22:01:03 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av

isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

libavutil 52. 63.100 / 52. 63.100
libavcodec 55. 49.101 / 55. 49.101
libavformat 55. 29.101 / 55. 29.101
libavdevice 55. 7.100 / 55. 7.100
libavfilter 4. 1.102 / 4. 1.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100

[swf @ 048da860] SWF compressed file detected
Input #0, swf, from 'test2.swf':

Duration: N/A, bitrate: N/A

Stream #0:0: Video: rawvideo (ARGB / 0x42475241), argb, 723x20, 8 fps, 8 tbr

, 8.01 tbn
[mpeg4 @ 04970b80] too many threads/slices (3), reducing to 2
Output #0, avi, to 'output.avi':

Metadata:

ISFT : Lavf55.29.101
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 723x20, q=2-31, 200

kb/s, 8 tbn, 8 tbc
Stream mapping:

Stream #0:0 -> #0:0 (rawvideo -> mpeg4)

Press [q] to stop, ? for help
Input stream #0:0 frame changed from size:723x20 fmt:argb to size:906x534 fmt:ar
gb
[swscaler @ 04979fe0] Warning: data is not aligned! This can lead to a speedloss

[rawvideo @ 048c5600] Invalid buffer size, packet size 9216 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 6400 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57840 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57840 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 318120 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 144600 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 448260 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57840 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 144600 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 318120 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 318120 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 144600 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 751920 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 4488 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 3772 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 3772 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57840 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 22400 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 491640 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 101220 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 535020 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57840 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 101220 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 274740 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 231360 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 187980 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 578400 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 4488 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 7680 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 645000 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 884 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1092796 < expected frame_
size 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57280 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 57280 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 400960 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 100240 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 443920 < expected frame_s
ize 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 35448 < expected frame_si
ze 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1600 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1512 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1440 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1680 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 560 < expected frame_size

1935216

Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1600 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1680 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
[rawvideo @ 048c5600] Invalid buffer size, packet size 1600 < expected frame_siz
e 1935216
Error while decoding stream #0:0: Error number -22 occurred
frame= 1 fps=0.0 q=1.8 Lsize= 11kB time=00:00:00.12 bitrate= 699.8kbits/
s
video:5kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 109.143
076%

C:\xampp\htdocs\phpffmpeg\ffmpeg\bin>

Attachments (1)

test2.swf (177.1 KB) - added by raju 6 years ago.
swf file to convert into avi format

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by raju

swf file to convert into avi format

comment:1 Changed 6 years ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Priority changed from important to normal
  • Resolution set to duplicate
  • Status changed from new to closed

This needs to be tested again once ticket #2564 is implemented.

Note: See TracTickets for help on using tickets.