I have some questions (surprise surprise) about FFMpeg and video encoding.
I am familiar with FFMpeg audio command line arguments but new to FFMpeg video command line arguments.
FFMpeg Version = SVN-r12665
1) I found a website that had a sample command line and it had the argument "-hq" which is supposedly used to activate high quality settings, but when I use it in my command line, I get "unrecognized option", is this not supported in the FFMpeg version I have?
2) I cannot figure out the -passlogifle option. When I try "-passlogifle c:\mylog.log" it says "no such file or directory". When I actually create the file on my hard drive at that location, it still says the same thing, how does this argument work?
3) I am trying to find a sort of middle ground with regards to the command arguments that have decent reasonable encoding speed time along with good quality (CCE and HCenc process my files in 15-20 minutes). Does the following command line fit the aforementioned description (please not that the -passlogfile option does not work which is noted in #2 above):
"C:\ffmpeg.exe" -i "C:\mymovie.mp4.avs" -pass 2 -passlogfile ffmpeg2pass -b 3000 -minrate 2000 -maxrate 8000 -bufsize 224 -vcodec mpeg2video -s 720x480 -r 29.97 -aspect 4:3 -ab 128K -ar 48000 -ac 2 -acodec ac3 -y "C:\mymovie2.mp4.mpg"
Like always, I will continue to search the Internet.
+ Reply to Thread
Results 1 to 9 of 9
-
-
You may have already been here, but from a ffmpeg site: http://ffmpeg.mplayerhq.hu/documentation.html
-
Type
ffmpeg -h >ffmpeg.txt
to get a help file for your version of ffmpeg (annoyingly, different builds of ffmpeg may have a different command syntax).
Look at the various graphical frontend /GUIs for ffmpeg.
Many of these will create a command line as you choose options, which you can then copy and convert to a batch script.
eg: ffe, Super, MediaCoder, WinFF. -
Like always, I will continue to search the Internet.
http://www.bcit-broadcast.com/monash/jdxgen95.inf , which says:
Code:Well, a few people in 1996 emailed me saying that jdxgen.exe failed when running in a DOS window from Windows 95. I went home & tried it on the Win95 notebook belonging to my son. Sure enough, it crashed. The crash occurs because the Windows 95 "DOS Window" is not a "real" DOS - it is a shell emulating DOS, but still under the firm grip of the the Win95 OS (and yah boo sucks to the Microsoft acolytes who flamed me by news and mail for saying this.)
-
1) I found a website that had a sample command line and it had the argument "-hq" which is supposedly used to activate high quality settings, but when I use it in my command line, I get "unrecognized option", is this not supported in the FFMpeg version I have?
Yeah, they got rid of that option some time ago.
ffmpeg is cool, but documentation is sparse, especially for Windows platforms. -
Originally Posted by Maikeru-sama
use the latest static build from here:
http://arrozcru.no-ip.org/ffmpeg_builds/
Originally Posted by AlanHK
i find it annoying how Avanti is omitted from these lists:
Avanti
Originally Posted by AlanHKOriginally Posted by Soopafresh
Avanti automatically creates these files,
to be at your disposal, for the corresponding ffmpeg version currently loaded in the gui.
Originally Posted by Maikeru-sama
Code:-mbd 2 -flags trell
Originally Posted by Maikeru-sama
try again.
Code:-passlogfile c:\mylog
obviously you need the logfile from pass 1
also naming takes this format: %name%-o.log
Originally Posted by Maikeru-sama
progressive 23.976,
then -r 29.97 is destructive.
ffmpeg doesn't have pulldown. you could try using mencoder which is in comparison better documented,
and can do pulldown.
Avanti has a pulldown utility btw
and has a job manager for batch encoding. (no batch pulldown though)
also if you're gonna feed ffmpeg with avisynth input,
might as well resize in avisynth, no need for the -s call.
and if you're not going to do any filtering in avisynth, why pass through it?
example:
Code:"C:\ffmpeg.exe" -i "C:\mymovie.mp4" -pass 1 -passlogfile mylog -ar 48000 -sws_flags lanczos -s 720x480 -aspect 16:9 -vcodec mpeg2video -mbd 2 -flags trell -b 3000k -maxrate 8000k -bufsize 1835k -an -y "C:\mymovie2.m2v" "C:\ffmpeg.exe" -i "C:\mymovie.mp4" -pass 2 -passlogfile mylog -ar 48000 -sws_flags lanczos -s 720x480 -aspect 16:9 -vcodec mpeg2video -mbd 2 -flags trell -b 3000k -maxrate 8000k -bufsize 1835k -y "C:\mymovie2.m2v" -acodec ac3 -ab 128K "C:\mymovie2.ac3"
Originally Posted by Maikeru-sama
and dos too.
tripp
Similar Threads
-
Basic FFMpeg Command question (m2t to mov)
By fitch.j in forum Video ConversionReplies: 10Last Post: 27th Nov 2009, 13:49 -
Need your help on some very basic video questions
By Booklet in forum Newbie / General discussionsReplies: 3Last Post: 6th Oct 2009, 12:12 -
basic video questions
By Dan K in forum Newbie / General discussionsReplies: 17Last Post: 2nd Jan 2009, 16:59 -
Some Basic HD Television Questions
By Maikeru-sama in forum Newbie / General discussionsReplies: 29Last Post: 6th Jul 2008, 11:02 -
Programming FFMPEG (Visual Basic)
By Ace-Of-Spades in forum ProgrammingReplies: 4Last Post: 9th Oct 2007, 06:18