LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 01-29-2004, 12:36 AM   #1
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
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).




Thanks,

AR
 
Old 01-29-2004, 01:43 AM   #2
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Go to freshmeat and enter "gmencoder" in the search window. It's a simple compile and pretty good frontend.
 
Old 01-29-2004, 02:26 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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....
 
Old 01-29-2004, 03:14 AM   #4
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
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.
 
Old 01-29-2004, 03:15 AM   #5
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
ok, so you're saying that, in addition to video encoder (I guess that's in mencoder), I'll need an audio encoder also...

so where do I get an encoder for mpeg audio?


AR
 
Old 01-29-2004, 03:19 AM   #6
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
No,I'm using mpeg4 and lame to crunch 1 gig vob's down to 700 so they'll just barely fit a CD and still not suffer in quality too bad.
 
Old 01-29-2004, 03:39 AM   #7
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
Hi,


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?


Thanks
AR
 
Old 01-29-2004, 06:32 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
yes it's me... hurrah for me.

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Tips For Grabbing Subtitles in Acidrip / Mencoder? ixus_123 Linux - Software 3 12-29-2004 08:20 PM
acidrip / mencoder help voodoochild117 Linux - Software 1 07-17-2004 04:36 AM
Problem with mencoder/acidrip hari_seldon99 Linux - Software 4 05-21-2004 01:36 PM
Problems encoding DVDs with MEncoder. adz Linux - Software 5 10-26-2003 12:39 AM
mencoder jpeg stream encoding bakuretsu Linux - Software 0 10-10-2002 08:17 AM


All times are GMT -5. The time now is 07:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration