Video Encoding almost perfected for fullscreen Thanks to Maxwell, this .zip is available to you. I plan on making many quick changes as I have already seen some minor things I want to correct. Please enjoy though: http://zaxgames.com/CVSENC0.1.zip
Indus- 10-02-2005
So is 3 pass still needed? Or will this be just as good in one shot?
Awesome work.... Don't forget I contributed the -srate and -channel command info...hahaha...
Question does the command: -midentify (filename) work?
You are supposed to be able to use it to decypher the codecs and settings of movies... I could not get it to work...
BillW- 10-02-2005
3 pass was never needed, it just improved the quality of the encoding. It will do the same here too.
3 pass encoding just allocates more of the available bandwidth to the scenes that would have generated more artifacts.
carpespasm- 10-02-2005
just make sure to put the path to your video in quotes or have the video in the same directory as the batch file
startreker- 10-02-2005
Here is a quick fix for the 4230x240 default fullscreen. I found the audio to be too loud, so I toned it down some. Hope you guys enjoy it better. I will put out version .11 within a week or so, once I get around to finalizing a couple more minor parts.
set /p ch=Filename:
mencoder %ch% -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:aspect=4/3:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=32 -channels 1 -srate 16000 -af volnorm -lameopts vol=0:mode=3 -vf scale=320:240 -ofps 30 -o PICT0001.avi
pause
end
bobbarker- 10-02-2005
Nice work on the .bat files, looks wonderful!
startreker- 10-02-2005
The much needed and newly improved 0.2 release was just rolled out about 2 mins ago. The website is here: http://www.robogumby.com/cvsencoder/ . I redid the whole encoding sceme. Taking a former script that worked will with audio and did triple pass encoding and took in the best parts of my old script. Reworked it so the countdown time worked correctly. Added a few other minor things and bamb, I release this at around 12:40 A.M. eastern time. Well I am going to bed. Take care and enjoy everyone. I need to get some rest. Luckily my first class doesn't start till noon.
Indus- 10-03-2005
Great, but you forgot the -srate and channel commands... When I try to convert the file gives me errors - something is wrong with the sound.
startreker- 10-03-2005
Great, but you forgot the -srate and channel commands... When I try to convert the file gives me errors - something is wrong with the sound.
I didn't forget it, it works and sounds a lot better without it, because it simulates stero audio. I am not sure exactly what you are encoding from but if you read the .txt file labeled Readme first. You will see that I highly recommend that you convert whatever videos you have to dvd first and than compress that down to play on camcorder. It will look and sound a whole lot better if you do.
michael1t- 10-04-2005
Hey Startreker Hey good Work .... I downloaded you zip file and it work pretty good ...
I have one Idea ... I think you should include the mplayer in the zip file that way people can play back the video on the PC for Testing ... this is how I did my first -*test*-('") ... Just a thought ....
I am pulling down your la-*test*-('") version right now ...
Michael T.
michael1t- 10-04-2005
Updates ... batch file I took startrekers 320x240 bat file and edited it ... the following works with out converting to dvd .... part of the error was using the aspect command ... after reading the command file it says -
-----------------------------------------
Store movie aspect internally, just like with MPEG
files. Much nicer than rescaling, because quality
is not decreased. Only MPlayer will play these
files correctly, other players will display them
with wrong aspect. The aspect parameter can be
given as a ratio or a floating point number.
---------------------------------
CVS Cam is not Mplayer ...This is my edited batch file 256:192 ... makes smallers files ... good work and thanks for the great start .... I needed
someware to start ...
@echo off
echo --------------------------------------------
echo CVS Camcorder Video Converter
echo Ver. 0.3
echo --------------------------------------------
echo A - 3pass Multi pass encoding (Default)
echo B - 2pass Multi pass encoding
echo C - Single pass encoding
echo -----------------------------
echo Don't forget to put your source video path in quotes
echo -----------------------------------------------------
set /p ch=Please select one now:
if /I "%ch%"=="a" goto a
if /I "%ch%"=="b" goto b
if /I "%ch%"=="c" goto c
:a
echo -------------------------
echo 3pass Multi pass encoding.
echo -------------------------
set /p ch=Filename:
mencoder %ch% -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:autoaspect:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=48:vpass=1:turbo -vf scale=256:192 -o 2.AVI
echo First Pass Complete.
mencoder 2.AVI -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:autoaspect:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=48:vpass=2 -vf scale=256:192 -o 3.AVI
echo Second Pass Complete
mencoder 3.AVI -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:autoaspect:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=48:vpass=3 -vf scale=256:192 -o PICT0001.AVI
echo Encode complete, output is named PICT0001.AVI
DEL 2.AVI /s
DEL 3.AVI /s
DEL divx2pass.log /s
goto e
:b
echo -------------------------
echo 2pass Multi pass encoding.
echo -------------------------
set /p ch=Filename:
mencoder %ch% -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:autoaspect:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=48:vpass=1:turbo -vf scale=256:192 -ofps 30 -o 2.AVI
echo First Pass Complete.
mencoder 2.AVI -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:autoaspect:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=48:vpass=2 -vf scale=256:192 -ofps 30 -o PICT0001.AVI
echo Second Pass Complete
echo Encode complete, output is named PICT0001.AVI
DEL 2.AVI /s
DEL divx2pass.log /s
pause
goto e
:c
echo ---------------------
echo Single pass encoding.
echo ---------------------
set /p ch=Filename:
mencoder %ch% -ffourcc XVID -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vqmin=10:vmax_b_frames=4:vlelim=-4:vcelim=9:autoaspect:sc_threshold=-1000000:keyint=20:acodec=mp2:abitrate=48:vpass=1:turbo -vf scale=256:192 -o PICT0001.AVI
echo Encode Complete, output is named PICT0001.AVI
DEL divx2pass.log /s
pause
:e
Michael T.
michael1t- 10-04-2005
Sound problems.... I also found that if you force the video to a different frame rate than the one the video was saved with the audio gets out of sink... So I removed the frame rate command and all works fine ....
Michael T.
michael1t- 10-04-2005
Hey Billw Hey Billw ...
I pulled down the source for the mplayer / mencoder ... what would it take for you to put a simple windows GUI front end onit will the Mplayer and menocde in the GUI ????
Sound like something you would be great at ...
Michael T.
michael1t- 10-04-2005
Sorry ... Hey Billw,
Your OPS is great I just ment It would be a nice addation to the Camcorder...
Michael T.
BillW- 10-04-2005
I have too much stuff to support right now as it is, so I don't want to take on another software project. Sorry, I don't have a lot of free time, so I really have to pick my battles wisely.
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.