Hi
I'm trying to convert swf files to flv's using ffmpeg and can't get it to work.
Other conversions like AVI to FLV are working just fine like:
ffmpeg -i $in_file -sameq -ar 22050 -ab 32 -f flv -s 320x240 $out_file
I tried it on SWF file like
ffmpeg -i c:\tmp\test.swf -vdodec flv c:\tmp\test.flv
but got an error:
FFmpeg version SVN-r15394, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-postproc --enable-swscale --enable-gpl --enable-libfaac --enable-libfaad --enable-l
ibgsm --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --disable-ffserver --disable-vhook
--enable-avisynth --enable-pthreads
libavutil 49.10. 0 / 49.10. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 6. 1 / 0. 6. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Sep 24 2008 15:49:57, gcc: 4.2.4 (TDM-1 for MinGW)
[swf @ 003DAD10]Compressed SWF format not supported
so I've decompressed the swf fo uncompressed format (cws2fws) but now ffmpeg complains that it cannot find the codec
ffmpeg -i c:\tmp\test_FWS.swf -vdodec flv c:\tmp\test.flv
returns
c:\tmp\test_FWS.swf: could not find codec parameters
I'm testing on windows but implementation will be on Unix.
Can someone please tell me how to make it work?
+ Reply to Thread
Results 1 to 4 of 4
-
-
Are either of you sure your SWF files contain an embedded FLV/compressed digital video stream, and aren't the original type of SWFs (in other words, the more simple scripted web animations)?
Most digital video converters, like ffmpeg, can only handle FLV streams, as far as I'm aware, and not the original-format SWFs. Your best bet for the latter is probably to use something to capture the audio and video of the SWF while it's playing.If cameras add ten pounds, why would people want to eat them? -
I'm no expert, and have never succeeded in this. However, I think you want something to disassemble / decompile the SWF into it's components. There are some programs out there than can do this, but I never succeeded--in part b/c I was using my work computer where I don't have admin rights, and I'm scared of downloading some virus / spyware / bloatware. Hopefully one of the elements when decompiling the SWF will be the FLV file that can be converted with ffmpeg.
Similar Threads
-
Cannot convert swf to jpef using ffmpeg
By marora26 in forum ffmpegX general discussionReplies: 1Last Post: 6th Aug 2009, 13:02 -
Quicktime to flv convert with ffmpeg
By ades567 in forum Video ConversionReplies: 2Last Post: 27th Jul 2009, 09:41 -
convert flv to swf or avi
By thecrock in forum Newbie / General discussionsReplies: 4Last Post: 1st Apr 2009, 16:33 -
SWF mx, swf 3 ( legacy ), and FLV, whats the difference
By theewizard in forum Newbie / General discussionsReplies: 3Last Post: 5th Feb 2008, 00:15