LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mencoder vorbis and mp3lame problem (https://www.linuxquestions.org/questions/slackware-14/mencoder-vorbis-and-mp3lame-problem-176312/)

salahuddin_66 04-30-2004 08:04 AM

mencoder vorbis and mp3lame problem
 
i
i have used mplayer 1.0 pre3
and now using mplayer 1.0 pre 4 in slackware 9.1
i have compile it with gui mp3lib and divx but i can use only use the
lavc codec for both audio and vedio, i have tryed lavc mp3 (default
mp2) then it says mp3 not found only mp2 and ac3 works

when i give mp3lame and also lame it says that mplayer was installed
without mp3lame (and lame could not found) suppot(i can play mp3 with
it and i have installed mp3lib)

my question is how can i use (ripping froma DVD)
lavc mp3 option
mp3lame
and vorbis codec (ripping) from DVD

how to use other audio and vedio codec for rip from DVD
which is opensource vedio codec like opensource audio ogg vorbis

thanx

huevon 11-08-2004 11:00 PM

I had the same problem. When I compiled lame it put it in /usr/local/bin, but mencoder looks in /usr/bin I think. I made a link and it all worked fine.

salahuddin_66 11-09-2004 02:03 AM

thanx

i have found other way
---------------------------------
lame-3.96.1
ogmtools-1.4.1
win32
xanim
divx4linux-20030428
xvidcore-1.0.2

after install this from source it default goes in /usr/local/

then i install mplayer from source like (--enable-runtime-cpudetection optional i just give to see ? happend)

./configure --enable-mencoder --enable-gui --enable-largefiles --enable-xmms --enable-gl --enable-vesa --enable-x11 --enable-xv --enable-runtime-cpudetection --enable-i18n --enable-win32 --enable-qtx --with-win32libdir=/usr/local/lib/win32 --enable-xanim --enable-divx4linux --enable-vorbis --enable-xvid --with-xvidlibdir=/usr/local/lib --enable-mp3lib --with-xvidincdir=/usr/local/include --with-codecsdir=/usr/local/lib --with-xanimlibdir=/usr/local/lib/xanim --enable-mmx --enable-mmx2 --enable-sse --enable-sse2


a sample script to rip dvd (sample from me)
(uncomment before start)
just save as a text file give execute permission chmod 777 fille name
edit the dvd chapter then give ./filename thats it
it really save my time
-----------------------------------
#mencoder vcd://18 -o movie.avi -oac copy -ovc xvid -xvidencopts pass=1 -endpos 3:51 && mencoder vcd://18 -o movie.avi -oac copy -ovc xvid #-xvidencopts pass=2:bitrate=500 -endpos 3:51 && mplayer movie.avi -vc dummy -vo null -ao pcm -aofile audio.wav && normalize audio.wav && #oggenc -b 64 audio.wav && ogmmerge -o movie.ogm -A movie.avi audio.ogg


#mencoder dvd://1-11 -vf pp=lb,scale -zoom -xy 512 -o movie.avi -oac copy -ovc xvid -xvidencopts pass=1 && mencoder dvd://1-11 -vf pp=lb,scale #-zoom -xy 512 -o movie.avi -oac copy -ovc xvid -xvidencopts pass=2:bitrate=687 && mplayer movie.avi -vc dummy -vo null -ao pcm -aofile #audio.wav && normalize audio.wav && oggenc -b 64 audio.wav && ogmmerge -o movie.ogm -A movie.avi audio.ogg

acid_kewpie 11-09-2004 02:12 AM

as a side note, all those configure options shouldn't be required. mplayer does a very good job of finding things by itself. and you'll always get a summary of what it's found before you start compiling anything.


All times are GMT -5. The time now is 05:27 PM.