OESF Portables Forum

General Forums => General Discussion => Topic started by: ninsei on August 06, 2004, 09:48:10 am

Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: ninsei on August 06, 2004, 09:48:10 am
Hi.  got MPlayer 0.90pre10-2.95.2 and i wanna convert DVDs to mpeg4 using ogg/vorbis sound.  I THINK i managed to convert the file right cause the video plays brilliantly but no sound.  mplayer says:

Detected OGG file format!
==========================================================================
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Can't find codec for audio format 0x200!
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound!!!

any help is appreciated.
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: lardman on August 07, 2004, 05:07:59 am
Do you have libogg (and libvorbisdec) installed?

I can play .ogg files fine with mplayer.


Si
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: xamindar on August 08, 2004, 02:46:33 am
May I ask how you converted the movies for the Z?  I'm interested in doing this too.  Is there any websites that explain this?  Preferably, convert them in linux?
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: Luke-Jr2 on August 08, 2004, 05:14:15 am
Quote
May I ask how you converted the movies for the Z?  I'm interested in doing this too.  Is there any websites that explain this?  Preferably, convert them in linux?
mencoder -ofps 8 "$1" -o "$2" "${@:3}" -lavcopts vhq:vcodec=mpeg4:vbitrate=40:vrc_maxrate=70 -ovc lavc -lavcopts vbitrate=150 -oac mp3lame -lameopts abr:br=32 -zoom -vf scale=320:-3,expand=-1:-1:-1:-1:1,rotate=1 -sws 9 -af resample=22050 -srate 22050

Have fun with this script... I have another script to play them (sortof a hack) which should be simple to figure out, but let me know if you want me to look it up..
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: cmisip on August 08, 2004, 10:03:42 am
If you want to convert to ogm (encode audio to ogg vorbis and video to mpeg4) check out my site on the bottom of this text.
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: xamindar on August 08, 2004, 06:58:06 pm
Sorry, didn't mean to hijack the thread.  Thanks for the pointers guys.

How is it coming along ninsei?  Would the vorbis stuff in the xmms package allow mplayer to play them?
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: ninsei on August 09, 2004, 09:56:07 am
got them to convert, installed the right libs (sorry i missed that).  mplayer plays them but sound is garbled.  i wanted to try ogg stead of MP3 cause i heard MP3 slows down the 5500.  and something to do with sound is definitely slowing down my mpeg4 videos.  The BEST results i've gotten so far is:

mencoder dvd://1 -srate 24000 -vop scale=320:240 -o office_space.avi -oac mp3lame -lameopts preset=15 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=150 -ofps 15 -sws 2

that works best with Dr. Z Video and even then it's not really watchable cause there's a lot of frame drops/hangs.  I'm about to try the mencoder opt that Luke-Jr2 posted.  thx for all the help folks.
Title: trying to get mplayer to play mpeg4/ogg/vorbis
Post by: ninsei on August 09, 2004, 10:47:15 am
Luke-Jr2's command line works fine.  Thx a lot!