Author Topic: trying to get mplayer to play mpeg4/ogg/vorbis  (Read 3135 times)

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
trying to get mplayer to play mpeg4/ogg/vorbis
« 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.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #1 on: August 07, 2004, 05:07:59 am »
Do you have libogg (and libvorbisdec) installed?

I can play .ogg files fine with mplayer.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #2 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?
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

Luke-Jr2

  • Newbie
  • *
  • Posts: 28
    • View Profile
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #3 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..

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #4 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.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #5 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?
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #6 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.

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
trying to get mplayer to play mpeg4/ogg/vorbis
« Reply #7 on: August 09, 2004, 10:47:15 am »
Luke-Jr2's command line works fine.  Thx a lot!