Skip to main content

Thread: Convert SWF to AVI?


i want able convert swf files avi.....or mp4.

ffmpeg not don't mention it.

winff won't work either.



how do it?

hi pda,

quote posted pda1 view post
i want able convert swf files avi.....or mp4. ffmpeg not don't mention it.
well, hate go against direction ffmpeg convert some swf files. sample file example:

code:
wget http://samples.mplayerhq.hu/swf/zeldaadpcm5bit.swf
this converts quite neatly ffmpeg mp4:

code:
andrew@skamandros~/desktop$ ffmpeg -i zeldaadpcm5bit.swf \  >        -acodec libfaac -ab 64k -ac 1 \  >        -vcodec libx264 -vpre slow -crf 18 \  >        -threads 0 zelda.mp4  ffmpeg version svn-r25047, copyright (c) 2000-2010 ffmpeg developers    built on sep  6 2010 14:24:55 gcc 4.4.4    configuration: --prefix=/usr --mandir=/usr/man --enable-postproc --enable-avfilter --enable-pthreads --enable-shared --disable-static --disable-ffserver --enable-libtheora --enable-libvorbis --enable-x11grab --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-zlib --enable-libvpx --enable-libgsm --enable-nonfree --enable-gpl    libavutil     50.25. 0 / 50.25. 0    libavcore      0. 6. 0 /  0. 6. 0    libavcodec    52.87. 1 / 52.87. 1    libavformat   52.78. 3 / 52.78. 3    libavdevice   52. 2. 1 / 52. 2. 1    libavfilter    1.38. 1 /  1.38. 1    libswscale     0.11. 0 /  0.11. 0    libpostproc   51. 2. 0 / 51. 2. 0  [swf @ 0x807b470] max_analyze_duration reached  [swf @ 0x807b470] estimating duration bitrate, may inaccurate  input #0, swf, 'zeldaadpcm5bit.swf':    duration: n/a, start: 0.000000, bitrate: n/a      stream #0.0: audio: adpcm_swf, 22050 hz, 1 channels, s16      stream #0.1: video: flv, yuv420p, 160x120, 12 fps, 12 tbr, 12 tbn, 12 tbc  [buffer @ 0x8084330] w:160 h:120 pixfmt:yuv420p  [libx264 @ 0x807ec00] using cpu capabilities: mmx2 sse2fast ssse3 cache64  [libx264 @ 0x807ec00] profile high, level 1.1  [libx264 @ 0x807ec00] 264 - core 104 r244 c276662 - h.264/mpeg-4 avc codec - copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00  output #0, mp4, 'zelda.mp4':    metadata:      encoder         : lavf52.78.3      stream #0.0: video: libx264, yuv420p, 160x120, q=10-51, 200 kb/s, 3072 tbn, 12 tbc      stream #0.1: audio: libfaac, 22050 hz, 1 channels, s16, 64 kb/s  stream mapping:    stream #0.1 -> #0.0    stream #0.0 -> #0.1  press [q] stop encoding  frame=  358 fps= 90 q=-1.0 lsize=     947kb time=29.67 bitrate= 261.6kbits/s      video:798kb audio:138kb global headers:0kb muxing overhead 1.255074%  [libx264 @ 0x807ec00] frame i:17    avg qp:19.18  size:  5393  [libx264 @ 0x807ec00] frame p:102   avg qp:23.04  size:  3318  [libx264 @ 0x807ec00] frame b:239   avg qp:25.44  size:  1616  [libx264 @ 0x807ec00] consecutive b-frames:  2.6%  6.5% 15.8% 75.1%  [libx264 @ 0x807ec00] mb  i16..4:  1.5% 88.8%  9.7%  [libx264 @ 0x807ec00] mb p  i16..4:  0.2% 21.9%  3.4%  p16..4: 25.5% 27.8% 21.1%  0.0%  0.0%    skip: 0.2%  [libx264 @ 0x807ec00] mb b  i16..4:  0.1%  7.6%  0.9%  b16..8: 30.7% 22.0% 10.4%  direct:18.5%  skip: 9.7%  l0:35.9% l1:27.2% bi:36.9%  [libx264 @ 0x807ec00] 8x8 transform intra:87.4% inter:69.8%  [libx264 @ 0x807ec00] direct mvs  spatial:96.7% temporal:3.3%  [libx264 @ 0x807ec00] coded y,uvdc,uvac intra: 96.7% 98.5% 84.5% inter: 78.2% 72.7% 29.1%  [libx264 @ 0x807ec00] i16 v,h,dc,p:  0% 71%  5% 24%  [libx264 @ 0x807ec00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 27% 15%  4%  6%  6%  6%  5%  8%  [libx264 @ 0x807ec00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18%  6%  6% 11% 10%  9%  8% 11%  [libx264 @ 0x807ec00] i8c dc,h,v,p: 45% 26% 17% 11%  [libx264 @ 0x807ec00] weighted p-frames: y:17.6%  [libx264 @ 0x807ec00] ref p l0: 36.6% 12.8% 21.9% 12.9% 10.6%  4.6%  0.6%  [libx264 @ 0x807ec00] ref b l0: 61.3% 24.4% 11.3%  3.1%  [libx264 @ 0x807ec00] ref b l1: 89.7% 10.3%  [libx264 @ 0x807ec00] kb/s:218.94
i gather there several different types of swf files, of ffmpeg not convert, there others converts easily...

andrew


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] Convert SWF to AVI?


Ubuntu

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい