Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Video Converter Windows GUI

Re: Video Converter Windows GUI

From: Uwe Freese <mail_at_uwe-freese.de>
Date: Thu, 19 Feb 2004 15:29:49 +0100

Hello John,

John Wunder wrote on Thursday, February 19, 2004, 5:26:56 AM:

JW> Third, as of now, the videos have to be the correct format and size. If
JW> they aren't,

You could use VirtualDub to resize the video. Use a script like this:

VirtualDub.Open("D:\\in.avi",0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x75796668,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("resize");
VirtualDub.video.filters.instance[0].Config(112,64,4);
VirtualDub.video.filters.Add("brightness/contrast");
VirtualDub.video.filters.instance[1].Config(22,20);
VirtualDub.video.filters.Add("unsharp mask (1.3)");
VirtualDub.video.filters.instance[2].Config(5, 30, 0, 0, 0, 0, 0, 0);
VirtualDub.audio.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\112x64.avi");
VirtualDub.Close();

And run "VirtualDub.exe /svdub-convert.vcf /x /r".

BTW: The Script sets "Huffyuf" as the compressor, so the 2 GB
limitation should no longer be a problem.

JW> and figure out how to decide if avi2wav exported an mp3 or a wav. Avi2wav
JW> SAYS it's

Read the first Bytes. If the file starts with "RIFF", it's w WAV. You
can use StripHdr.exe (command line prog) from WinDac to strip off the
wav header, or do it yourself in with your GUI program (WAV header is
48(?) bytes).

Bye, Uwe.

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-02-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy