Skirner Posted February 12, 2010 Share Posted February 12, 2010 I missing some .FLV movies for my handpicked Sega Genesis collection.But i have the missing ones in .AVITried a converter but it becamed all messed up in Hyperspin. The movie was way to big on screen and the top was the onlything visible of the movie in HS.And the converter added some shitty scrolltext in the movie.Any Suggestions?The games im missing FLV's for:Lotus II RECSQuack Shot Starring Donald DuckStreets of RageSub-TerraniaTale SpinTruxtonWolf ChildYs III - Wanderers from YsZoolRegardsSkirner Link to comment Share on other sites More sharing options...
Layer0730 Posted February 13, 2010 Share Posted February 13, 2010 I missing some .FLV movies for my handpicked Sega Genesis collection. But i have the missing ones in .AVI Tried a converter but it becamed all messed up in Hyperspin. The movie was way to big on screen and the top was the onlything visible of the movie in HS. And the converter added some shitty scrolltext in the movie. Any Suggestions? The games im missing FLV's for: Lotus II RECS Quack Shot Starring Donald Duck Streets of Rage Sub-Terrania Tale Spin Truxton Wolf Child Ys III - Wanderers from Ys Zool Regards Skirner Premium Member, (waiting for Circo to update my profile) I use IMTooFLV (shareware) to do Hyperspin AVI to FLV it does single and batch conversions. You can tweak bitrate, size, etc. Only 2 things - 1) It has a nag screen for registration. 2) It only will convert the first 3 minutes of your source. These don't affect this great program. Link to comment Share on other sites More sharing options...
Skirner Posted February 13, 2010 Author Share Posted February 13, 2010 Thanks, will try it out Link to comment Share on other sites More sharing options...
GrimJack Posted February 28, 2010 Share Posted February 28, 2010 I use IMTooFLV (shareware) to do Hyperspin AVI to FLV it does single and batch conversions. You can tweak bitrate, size, etc. Only 2 things - 1) It has a nag screen for registration. 2) It only will convert the first 3 minutes of your source. These don't affect this great program.I tried IMTooFLV and it keeps failing at the very end trying to convert the N64 AVI snaps to FLV. Have you tried to convert any of these? Link to comment Share on other sites More sharing options...
Nologic Posted February 28, 2010 Share Posted February 28, 2010 You should be able to use AviDemux and a batch script to do the conversion. Edit as needed...namely the CBR value...and of course the paths to the different folders and executable's.@echo offset Old_Dir=C:\Video Capture\Rawset FLV_Dir=%old_dir%\FLVset Run_App=C:\Program Files\Avidemux 2.5\avidemux2_cli.exeif NOT exist "%FLV_Dir%" ( mkdir "%FLV_Dir%" )for %%a in ("%old_dir%\*.avi") do ( echo Converting: %%a to FLV "%Run_App%" --nogui --load "%%a" --audio-codec COPY --video-codec FLV1 --video-conf cbr=1500 --output-format FLV --save "%FLV_Dir%\%%~na.flv" --quit) Link to comment Share on other sites More sharing options...
Circo Posted February 28, 2010 Share Posted February 28, 2010 You should be able to use AviDemux and a batch script to do the conversion. Edit as needed.@echo offset Old_Dir=C:\Video Capture\Rawset FLV_Dir=%old_dir%\FLVset Run_App=C:\Program Files\Avidemux 2.5\avidemux2_cli.exeif NOT exist "%FLV_Dir%" ( mkdir "%FLV_Dir%" )for %%a in ("%old_dir%\*.avi") do ( echo Converting: %%a to FLV "%Run_App%" --nogui --load "%%a" --audio-codec COPY --video-codec FLV1 --video-conf cbr=1500 --output-format FLV --save "%FLV_Dir%\%%~na.flv" --quit)I always just do a batch decode to uncompressed using virtual dub, then convert them to flv with adobe media encoder. Two batch runs and I am done. Link to comment Share on other sites More sharing options...
Nologic Posted February 28, 2010 Share Posted February 28, 2010 hmm I'm not seeing any benefit creating an uncompressed version...which is still going to be damaged already from the original encoding...unless AME doesn't like Xvid? Plus this is just one batch run. Link to comment Share on other sites More sharing options...
Circo Posted February 28, 2010 Share Posted February 28, 2010 hmm I'm not seeing any benefit creating an uncompressed version...which is still going to be damaged already from the original encoding...unless AME doesn't like Xvid? Plus this is just one batch run. Xvid is not it's favorite. Link to comment Share on other sites More sharing options...
codecrank Posted February 28, 2010 Share Posted February 28, 2010 If like me, you're not running a fairly new cpu, the 640x480 flash vids won't be smooth. You can resize them to 320x240, on a CGA tube, you won't tell the difference anyways. I use mencoder instead because avidemux don't have command line options for filters, and the API looks like a pain to learn.just run this script in the directory where your avi files are.#!/bin/bashfor avifile in *.avi ; do flvfile=`echo $avifile | sed 's/.avi$/.flv/'` if [ -f $flvfile ] ; then echo "$flvfile already exists, skip..." else if file $avifile | grep -q "640 x 480" ; then EXTRA_OPTS="-vf scale=320:240" else EXTRA_OPTS= fi mencoder $avifile \ -of lavf \ -ovc lavc \ -lavcopts vcodec=flv:vbitrate=1500 \ -oac mp3lame \ -lameopts abr:br=32 \ -srate 22050 \ $EXTRA_OPTS -o $flvfile fidonehope that helps someone ! Link to comment Share on other sites More sharing options...
Nologic Posted March 1, 2010 Share Posted March 1, 2010 codecrank thanks for the contribution...question thou are you running that in linux as I'm seeing bash and grep mentioned in the script? Oh and mencoder is an excellent application. Link to comment Share on other sites More sharing options...
codecrank Posted March 2, 2010 Share Posted March 2, 2010 yeah I'm running it on linux, which I primarely use. ( my 2.6 Ghz core 2 duo can transcode a lot faster than my 2.3 ghz p4 running hyperspin ) you could adapt one of the batch files above to use mencoder with the options used my scripts. mencoder is a great app in deed, just very cryptic, so I thought I'd spare someone from wasting an hour looking for the correct options. Link to comment Share on other sites More sharing options...
Nologic Posted March 2, 2010 Share Posted March 2, 2010 Thats cool, oh have you tried any of that new KMS support thats just gone in? I don't run Linux but certainly enjoy keeping track of its development. Yeah Memcoder's CLI interface is very extensive while being very impressive. So you are looking for something like this: @echo offset Old_Dir=C:\FLVset RSZ_Dir=%old_dir%\RSZset Run_App=C:\Program Files\mencoder\mencoder.exeif NOT exist "%RSZ_Dir%" ( mkdir "%RSZ_Dir%" )for %%a in ("%old_dir%\*.flv") do ( echo Converting: %%a to Resizing "%Run_App%" "%%a" -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=1500 -oac mp3lame -lameopts abr:br=32 -srate 22050 -vf scale=320:240 -o "%RSZ_Dir%\%%~na.flv") Link to comment Share on other sites More sharing options...
codecrank Posted March 2, 2010 Share Posted March 2, 2010 I run nvidia's proprietary driver, no KMS possible for it yet due to lack of docs from nvidia. Works on Ati and intel video chips. I work closely with cutting edge linux application programmers, it's about time some a serious video susbsystem overhaul on linux. As a sysadmin, I find X's network/client design very useful, but it lacks behind windows and OSX in the graphic department... and we considered switching to windows or macs for our high end graphic apps. But overall OS stability and versatility won So I hope I'm not shooting myself in the foot by choosing windows for my mame cabinet. it's my first one. I already have a feeling it's not going to be the only one... Link to comment Share on other sites More sharing options...
Nologic Posted March 2, 2010 Share Posted March 2, 2010 Oh more than likely you'll be fine with windows.Oh my revision of your script for windows doesn't test the resolution of the video...but I could certainly add support for that...but the script would have to be redone in AutoIt. Course if thats done...I could add recursive searching and converting...if you have the extra room on your HDD and what a near effortless batch process. Link to comment Share on other sites More sharing options...
codecrank Posted March 2, 2010 Share Posted March 2, 2010 I put that check in there because otherwise, videos of games with a vertical screen layout ( ex 1941 ) would get all squished if resized to 320x240 Link to comment Share on other sites More sharing options...
Nologic Posted March 3, 2010 Share Posted March 3, 2010 Well so far I'm not finding a way to grab the resolution directly with AutoIt...hopefully there is an option somewhere in Memcoder to write resolution to stdout...at which point I can do something...other wise I'm coming up short right now.Update 1:Okay I found the following:mencoder.exe "<Path>\<File>" -lavdopts vstats -o lavfWhich gave me the following:MEncoder Sherpya-SVN-r29851-4.2.5 © 2000-2009 MPlayer Teamsuccess: format: 0 data: 0x0 - 0x9b3428libavformat file format detected.[lavf] Video stream found, -vid 0[lavf] Audio stream found, -aid 1VIDEO: [VP6F] 640x480 0bpp 50.000 fps 2048.0 kbps (250.0 kbyte/s)[V] filefmt:44 fourcc:0x46365056 size:640x480 fps:50.000 ftime:=0.0200No audio encoder (-oac) selected. Select one (see -oac help) or use -nosound.Exiting...If you can find something cleaner it would be most welcome, but I can work from this.Update 2:I've attached an AutoIt script that will do the same thing as your prior script, with the exception of doing recursive file search of sub folders...so keep that in mind or edit the script so that recursion is set to false.This is source code rather than a executable...as I really didn't feel like making a GUI for it. So you'll need to have AutoIt installed on the system you wish to run it on...and you'll have to edit the path variable to where the Memcoder executable is...once saved simply double click on the script and it will execute bringing up a Select Folder dialog...once you have selected your folder, the script will run quietly in the system tray till its done at which point it will display a messagebox telling such.Resize FLV.rar Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.