Log in

View Full Version : Does avs support file of the swf?


gameyixiu
18th December 2007, 08:35
If it support the swf format,what can i write the script?

themostestultimategenius
18th December 2007, 09:38
Dont' know if it supports SWF, never tried.

directshowsource("D:\Videos\file.swf")
#Filters here

gameyixiu
18th December 2007, 09:47
I do it,the video-player said can't open the avs
I think,the avs is not support the file of the swf format!

unskinnyboy
18th December 2007, 15:57
No, Avisynth doesn't support SWF files. Is that all you want to know? Assuming you want to convert it to some format, you should be able to do it using edit.py of pyvnc2swf + ffmpeg. You'll need to convert the swf to flv first using edit.py and then use ffmpeg on the flv.

IanB
18th December 2007, 21:23
Try FFmpegSource

gameyixiu
19th December 2007, 03:07
Code:
FFmpegSource("D:\test\7.swf")

My video-Player open the avs,said script error there is no function named "FFmpegSource"

IanB
19th December 2007, 03:51
LoadPlugin! Read the thread!

gameyixiu
19th December 2007, 04:47
I download the ffmpegSource Plugin,and I see the document .

===========================
FFmpegSource Documentation
Loads video files without sucking

Compatibility - Video
AVI, MKV, MP4, FLV: Frame accurate
WMV: Frame accurate(?) but avformat seems to pick keyframes relatively far away
OGM: Messed up first frame and seeking produces smearing with seekmode=3, incredibly slow seeking without, remux to mkv or avi
VOB: No rff flags applied, frame accurate?
MPG: Seeking seems to be off by one or two frames now and then
TS: don't bother
Image files: most formats can be opened if seekmode=-1 is set
================================
The document doesn't say has support file of the swf

Placio74
19th December 2007, 07:27
FFmpeg and latest FFmpegSource support SWF.
But... only if SWF contain video - not animation.

If You see - "Video track is unseekable" - modify AVS script:
FFmpegSource("d:\file.swf",seekmode=-1)