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 10-25-2003, 12:28 AM   #1
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Problems encoding DVDs with MEncoder.


Hi there.

I've just started trying to encode a DVD with MEncoder. When I execute the command mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3 (as suggested by the MPlayer site) I get the following error:

MEncoder 0.92-2.95.4 (C) 2000-2003 MPlayer Team

CPU: Intel (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /home/adz/.mplayer/codecs.conf: can't open '/home/adz/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
File not found: 'frameno.avi'
Reading config file /home/adz/.mplayer/mencoder: No such file or directory
font: can't open file: /home/adz/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Unknown protocol 'dvd'
Unable to open URL: dvd://1
Cannot open file/device.

Exiting...

I've bolded the important bits. I'm not quite sure what this means. I've installed every libdvdread package available from debian and recompiled mplayer. I'm not sure what the problem is. Anyone have any ideas?
 
Old 10-25-2003, 04:34 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Original Poster
Rep: Reputation: 53
Hmmm... I've changed the above command to read mencoder -dvd 1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3 (same as I would for playback) and everything seems to work fine so far. I haven't finished encoding yet but it looks promising...

I don't know why the mplayer site gave the command using dvd:// instead of -dvd. What do people use here?
 
Old 10-25-2003, 07:30 AM   #3
vivekiyer
Member
 
Registered: Aug 2003
Location: AZ, USA
Distribution: Redhat 9.0
Posts: 45

Rep: Reputation: 15
Well the -dvd option didnt work the last time I tried it. The correct command was something close to dvd://. I am not on my Linux machien right now. will go back check and let you know. Hey btw if u wanna rip dvd's why dont u try dvd::rip . You can get it using synaptic / apt. Nice ui and very easy to use also highly configurable. Try it out. You will love it
Cheers
 
Old 10-25-2003, 12:00 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,390

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Quote:
I don't know why the mplayer site gave the command using dvd:// instead of -dvd. What do people use here?
1.0 uses "dvd://" 0.9x uses "-dvd". MPlayer itself had had a suitable transition between the two syntaxes for a good number of months, but MEncoder was neglected from this, so the syntax has changed instantly. Hey btw if u wanna rip dvd's why dont u try acidrip!
 
Old 10-25-2003, 08:57 PM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Original Poster
Rep: Reputation: 53
Thanks for the tip, Acid. Saved me having to worry about it.

Hmmm... I'd actually posted another message here but it's either disappeared, I didn't actually post it or I posted it in the wrong thread... Anyway, in it I said that I was having some trouble even after the "-dvd" option. I was trying the 3 pass method and after the first pass (the audio part) I played the resulting avi and it was something akin to static. I thought that it might get better after the next two passes but it didn't. I got a movie (in the wrong aspect ratio) with static for sound. I don't get what I did wrong. The command I used was mencoder -dvd 1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3. Is there something wrong with it?

Acid, I did actually try to get your program but it seemed to rely on parts on gnome. I don't like gnome/kde simply because I have to d/l huge amounts of stuff just to use the apps. Especially since I don't like/use the window managers. They're too bulky.

If anyone's got any hints on ripping DVDs I'm all ears. I tried dvd::rip last night but it gave me a whole bunch of garbage. Also, it took over my computer to the point that it was almost unusable. Mencoder seemed to give me enough spare RAM and processor time to do other things while ripping.

Oh and do people recommend upgrading to 1.0 from 0.92 even though it's a prerelease?

Edit: Oh and Acid, I couldn't get your program to run. It compiled and installed without errors. But gave me this error:

adz@hades:~/ripped/dvd$ acidrip
Can't locate Gtk2.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.1 /usr/share/perl/5.8.1 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.8.1/AcidRip/interface.pm line 1.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.1/AcidRip/interface.pm line 1.
Compilation failed in require at /usr/local/share/perl/5.8.1/AcidRip/acidrip.pm line 8.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.1/AcidRip/acidrip.pm line 8.
Compilation failed in require at /usr/bin/acidrip line 14.
BEGIN failed--compilation aborted at /usr/bin/acidrip line 14.

Last edited by adz; 10-26-2003 at 12:46 AM.
 
Old 10-26-2003, 12:39 AM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Original Poster
Rep: Reputation: 53
Oh and these are the errors I get (I meant to post these earlier).

At the beginning:

a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
a52: error at resampling
a52: CRC check failed! ) 0fps Trem: 9min 1mb A-V:0.004 [0:0]
a52: error at resampling
a52: CRC check failed! ) 3fps Trem: 12min 1mb A-V:0.008 [0:0]
a52: error at resampling
a52: CRC check failed! ) 3fps Trem: 14min 1mb A-V:0.012 [0:0]
a52: error at resampling
Pos: 0.2s 5f ( 0%) 3fps Trem: 14min 1mb A-V:0.016 [0:0]


Then later I get a whole bunch of these:

Too many video packets in the buffer: (4096 in 8266086 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many video packets in the buffer: (4096 in 8266086 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.


When I execute the (1st pass) command:

mencoder -dvd 1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3

Last edited by adz; 10-26-2003 at 12:50 AM.
 
  


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
Mencoder: audio delay when encoding in slices!? J_Szucs Linux - Software 7 06-25-2006 05:30 PM
Problems with ripperx encoding walterbyrd Linux - Software 1 03-09-2005 03:04 PM
Problem with encoding dvdrips using mencoder/acidrip hari_seldon99 Linux - Software 7 01-29-2004 06:32 AM
MEncoder audio codec problems ddpicard Linux - Software 16 05-29-2003 03:49 AM
mencoder jpeg stream encoding bakuretsu Linux - Software 0 10-10-2002 08:17 AM


All times are GMT -5. The time now is 09:44 PM.

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