View previous topic :: View next topic |
Author |
Message |
penetrode Apprentice
Joined: 29 Dec 2003 Posts: 285 Location: Calgary, Alberta
|
Posted: Wed Mar 28, 2007 12:03 am Post subject: Can you rip video from Flash (SWF) files? |
|
|
Is there a way, in Gentoo (or Linux generally) to rip video -- be it FLV or some other format -- from a binary SWF file? Given that FLV format files are playable in Linux, it seems like it wouldn't be too much of a stretch to transcode the video embedded in a SWF file. |
|
Back to top |
|
|
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Wed Mar 28, 2007 9:02 pm Post subject: |
|
|
This will let you transcode to avi ( everything in the box is one line )
Code: | mplayer [file.flv] -forceidx -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:mbd=2:v4mv:autoaspect -vf pp=lb -oac mp3lame -lameopts fast:preset=standard -o [file.avi] |
mind you the only reason for doing this would be to make the file searchable since mplayer seems to be unable to search in flv files. |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Sat Mar 31, 2007 5:22 am Post subject: |
|
|
guppy wrote: | This will let you transcode to avi ( everything in the box is one line )
Code: | mplayer [file.flv] -forceidx -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:mbd=2:v4mv:autoaspect -vf pp=lb -oac mp3lame -lameopts fast:preset=standard -o [file.avi] |
mind you the only reason for doing this would be to make the file searchable since mplayer seems to be unable to search in flv files. |
Uhh I think you mean mencoder, also you should NOT need -forceidx or -vf pp=lb (pp=lb is linear-blend deinterlacing, useless unless the file is ACTUALLY interlaced, which no Flash video should ever be because most computer monitor's are Progressive scan). In addition I'd recommend using trell in the lavcopts as well, since it can help quite a bit. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
guppy Tux's lil' helper
Joined: 02 Oct 2004 Posts: 127 Location: Denmark
|
Posted: Sat Mar 31, 2007 1:27 pm Post subject: |
|
|
predatorfreak wrote: | guppy wrote: | This will let you transcode to avi ( everything in the box is one line )
Code: | mplayer [file.flv] -forceidx -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:mbd=2:v4mv:autoaspect -vf pp=lb -oac mp3lame -lameopts fast:preset=standard -o [file.avi] |
mind you the only reason for doing this would be to make the file searchable since mplayer seems to be unable to search in flv files. |
Uhh I think you mean mencoder, also you should NOT need -forceidx or -vf pp=lb (pp=lb is linear-blend deinterlacing, useless unless the file is ACTUALLY interlaced, which no Flash video should ever be because most computer monitor's are Progressive scan). In addition I'd recommend using trell in the lavcopts as well, since it can help quite a bit. |
yes ofcourse I meant mencoder ...woopsie ^^
-forceidx is there just to make sure the the resulting file is searchable
the same for the video filther, it doesn't hurt to have it there - so if your making a generic convert command it migth as well be there. ofcourse you are free to remove them - they are after all options |
|
Back to top |
|
|
|