Log in

View Full Version : how to get this with mencoder?


mrdutchie
31st May 2008, 06:30
im stuck with the following

i have a DVD on my harddisk in c:\test\video_ts
and has 4 videos on it

now i want to encode only the 3rd one.
how do i do that?

i tried

mencoder.exe c:\test1\video_TS\video_ts.ifo =3-af volume=0 -aspect 4:3 -of lavf -lavfopts format=mp4 -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:coder=1:acodec=libfaac:vbitrate=675:abitrate=128:threads=2 -vf pp=fd,scale=320:240,harddup -ofps 30000/1001 -o "C:\New Folder\test 3mp4"

but it says that =3 is invalid

when i look at examples i see

mencoder dvd://3 but thats if it is from DVD drive itself. how do i get it so it would look it in my c:\test1 folder?

thank you so much

dat720
31st May 2008, 10:24
Posting a question regarding the usage of mencoder in the Software Dev area is not really a good idea, as you probably won't get your questiion answered.

In saying that your problem is here:
mencoder.exe c:\test1\video_TS\video_ts.ifo =3-af < the -af should have a space before the -, and =3 is not the way to call a video track, i'm not entirely sure how to do this you may have to search google, or why dont you just decode straight off the disc? why dump the disc first?

dat720
31st May 2008, 11:03
Here, I did some playing and this worked for me:

mencoder.exe dvd://3 -dvd-device PATH_TO_DVD_FOLDER then put your options on the end.

Make sure the path has no \ on the end and if the path has spaces enclose it in double qoute's, you also do not need to point to the ifo file, if you need to use the -ifo option.