Problem with encoding dvdrips using mencoder/acidrip
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Problem with encoding dvdrips using mencoder/acidrip
Hi.
I've been trying to rip dvds and encode them using an MPEG-4 codec for a while now. No problems in windows, but on linux.....
I tried to use transcode. Used both drip and dvd::rip as GUI front-ends and even used tccat/tcdecode/transcode shell prompt. Managed to rip the dvd but it couldn't detect installation of DivX (or XVid) encoder.
So I downloaded, installed and ran mencoder and acidrip/lsdvd. That did not do anything and crashed altogether! Below is the log file for acidrip:
AcidRip message - selected_subp changed to -1
AcidRip message - selected_subp changed to -1
AcidRip message - Selected Track 2 - Aspect: 4/3, Format: NTSC, Size: 704x480
AcidRip message - no audio bitrate found, 128 assumed
AcidRip message - no audio bitrate found, 128 assumed
AcidRip message - Running mencoder -dvd 2 -dvd-device /dev/dvd -chapter 1-1 -alang en -info srcform="DVD ripped by acidrip.sf.net" -oac with -ovc copy -o "/home/daneel/undis.avi"
AcidRip message - Encoding film...
MEncoder 1.0pre3-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood 2600 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /home/daneel/.mplayer/codecs.conf: Can't open '/home/daneel/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/daneel/.mplayer/mencoder: No such file or directory
-dvd N is deprecated, use dvd://N instead.
Exiting... (error parsing cmdline)
AcidRip message - Encoding finished, hope it worked...
AcidRip message - no audio bitrate found, 128 assumed
I am extreme newbie, so any help interpreting the lines above would be appreciated. (I installed all the dependencies that the mencoder rpm needed).
well that's not crashed... just not worked quite right there.... you are using the newest version of acidrip? you'll need at least version 0.11 as mencoder changed the syntax from -dvd to dvd:// without any period of transition, so you need the newest version.
and gmegoder bites! how dare anyone on this site criticise my lovely acidrip?!?! when that works though, you also need to use a video and audio encoder, you are simply copying the directly with what you're trying now, which is no use really....
I did acidrip and DVD:RIP last week and acidrip was the better of the two(at least I got it to quit crashing). This week I'm kicking around gmencoder and gtranscode. The grand tour so to speak.
Thanks acid_kewpie! It worked!
When I was compiling the source of acidrip, I saw that the login for the contact mail alias is also acid_kewpie. Is that you?
I had to select mp3 audio in the audio codec dialog thingie before ripping/encoding the dvd so that there would be sound in the final avi file.
One more thing, I saw that audio and video were not exactly interleaved in the final avi. I know how to correct for that using virtualdub in windows and avidemux in linux, but how do I set the parameters so that it gets done properly in acidrip itself?
well the time delay is not an acirip issues, it's mplayer (mencoder specifically) that is giving that lag, normally 0.2 seconds. you should try adding "-autosync" to the misc options box. it's a feature i'll probably add into the ui properly for the next version.
to be honest this issue is one of the traits in mplayer i try to pretend doesn't exist, as the rest of it is so good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.