Author |
Message |
randomhtpcguy
|
Posted: Sat Apr 01, 2006 9:40 am |
|
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
|
I have been trying to get ac3 and dts to play over spdif out for a week. Never realized how old the default mplayer was so i figured it would just work.
Happy Talk's steps took about 10 minutes (mostly compile time) and fixed my problem. Thanks! Post it on the wiki please since it is so current. the ftp links changed but that is it.
BTW here is what I use to play xvid with ac3/dts out to spdif on the chaintek av-710 in R5B7:
Code: mplayer -fs -zoom -quiet -vo xv %s -ao alsa:device=iec958 -afm hwac3
Only downside is I don't think it detected and compiled with LIRC (:
|
|
Top |
|
|
graysky
|
Posted: Sun Jun 18, 2006 5:35 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Just updated the guide to reflect the new version of Mplayer (1.0pre8) and the new essential codec pack (June 11, 2006).
Enjoy!
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
|
tophee
|
Posted: Tue Jun 20, 2006 3:49 am |
|
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location:
London, UK
|
Hi,
I've just looked at the updated wiki and I was wondering... Is it necessary to recompile Mplayer to get the new codecs? Could you just configure Mplayer to use the new essential (x264) codec pack?
Would downloading it and doing this work?
Code: cd mplayer ./configure --prefix=/usr --enable-menu --enable-dvb --enable-lirc --enable-x264 --disable-mpdvdkit --with-dvbincdir=/usr/src/linux/include --with-x264libdir=/usr/src/mplayer/x264 --with-x264incdir=/usr/src/mplayer/x264
I've just about got my remote working and I don't want to have to start again... as many people have now reported it doesn't work with lirc, or does the --enable-lirc sort it?
|
|
Top |
|
|
neutron68
|
Posted: Tue Jul 18, 2006 8:58 pm |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
For KnoppMyth R5C7: I followed the directions in this thread and made a script so I could easily update both my and my friend's machine. It worked on both machines, so I believe it to be correct. I used the NANO editor and put this into a file named "mplayerupdate.sh".
[script edited 8-31-06 to account for dead link]
Code: cd /usr/src/ wget http://www.people.virginia.edu/~drf8f/MPlayer/releases/MPlayer-1.0pre8.tar.bz2 wget wget http://www6.mplayerhq.hu/MPlayer/releases/codecs/essential-20060611.tar.bz2 wget http://www4.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 wget http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2
tar -xjf MPlayer-1.0pre8.tar.bz2 tar -xjf essential-20060611.tar.bz2 tar -xjf font-arial-iso-8859-1.tar.bz2 tar -xjf xvidcore-1.1.0.tar.bz2
mkdir /usr/local/lib/codecs cp -r -d -p /usr/src/essential-20060611/* /usr/local/lib/codecs cp -r -d -p /usr/src/font-arial-iso-8859-1/font-arial-18-iso-8859-1/* /usr/local/share/mplayer/font
cd /usr/src/xvidcore-1.1.0/build/generic ./configure make make install
cd /usr/src/MPlayer-1.0pre8 ./configure make make install
dpkg -r mplayer-fonts dpkg -r mplayer
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
Last edited by neutron68 on Thu Aug 31, 2006 10:16 pm, edited 8 times in total.
|
|
Top |
|
|
goonzo
|
Posted: Thu Aug 31, 2006 1:18 am |
|
Joined: Sun Jan 08, 2006 5:13 pm
Posts: 67
Location:
Göteborg - Sweden
|
|
Top |
|
|
cecil
|
Posted: Thu Aug 31, 2006 1:12 pm |
|
|
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
One should note, w/ R5D1 you no longer need to recompile MPlayer. However, no codecsare included.
|
|
Top |
|
|
neutron68
|
Posted: Thu Aug 31, 2006 1:46 pm |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
cecil wrote: One should note, w/ R5D1 you no longer need to recompile MPlayer. However, no codecsare included.
Thanks for pointing that out. Now, I know I need to go and wget the codecs.
Eric
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
|
elgordo123
|
Posted: Thu Aug 31, 2006 2:27 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
Look up through the thread. You need to go to the mplayer homepage and download either essential... (I download all...) You will need to tar zxvf thefilename.tar.gz and then cd into that unzipped folder. Now copy or move all of those individual files to /usr/lib/codecs.
EDIT: The codecs directory might not be there, so you will have to create it.
As root: mkdir /usr/lib/codecs (check if its there first, mine wasn't).
FYI-After I did this I WAS ABLE to play a windows wmv HD file and apple h264 trailers.
I used to always recompile mplayer, sure is nice now I dont hafta anymore!
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
Last edited by elgordo123 on Fri Sep 01, 2006 10:06 am, edited 1 time in total.
|
|
Top |
|
|
neutron68
|
Posted: Thu Aug 31, 2006 4:23 pm |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
elgordo123 wrote: Look up through the thread. You need to go to the mplayer homepage and download either essential... (I download all...) You will need to tar zxvf thefilename.tar.gz and then cd into that unzipped folder. Now copy or move all of those individual files to /usr/lib/codecs.
FYI-After I did this I WAS ABLE to play a windows wmv HD file and apple h264 trailers.
I used to always recompile mplayer, sure is nice now I dont hafta anymore!
No, I don't plan to hunt though the thread again.
I plan to reuse my script (which is posted above) and just remove the lines that download mplayer and complie mplayer. I did it once, now I never have to type all those commands again!
Eric
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
|
elgordo123
|
Posted: Thu Aug 31, 2006 4:26 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
If you dont want to hunt through the thread then just to the 3rd post above mine. Unless you dont want to do that either, then your on your own
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
|
neutron68
|
Posted: Thu Aug 31, 2006 5:04 pm |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
elgordo123 wrote: If you dont want to hunt through the thread then just to the 3rd post above mine. Unless you dont want to do that either, then your on your own
The 3rd post above yours is MY script. I'm covered.
Eric
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
|
elgordo123
|
Posted: Thu Aug 31, 2006 6:07 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
I was actually talking about Gonzo's post to this link:
http://www6.mplayerhq.hu/MPlayer/releas ... 11.tar.bz2
But as long as you got it working then it's all good!
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
|
tkoster
|
Posted: Thu Aug 31, 2006 7:46 pm |
|
Joined: Mon Apr 04, 2005 10:50 am
Posts: 120
|
Is the proper directory /usr/local/lib/codecs or /usr/lib/codecs? Both are mentioned in the posts above.
|
|
Top |
|
|
Greg Frost
|
Posted: Thu Aug 31, 2006 9:50 pm |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
The answer to that question depends on whether you have (unnecesarily) recompiled mplayer. Type Code: which mplayer and you will either see /usr/bin/mplayer or /usr/local/bin/mplayer.
If it is the former, put the codecs in /usr/lib/codecs (this shouldbe the case if youy have not recompiled). If it is the latter (this would be the case if you have removed mplayer and recompiled from source without specifying --prefix=/usr during the configure) put the codecs in /usr/local/lib/codecs.
If you have both a /usr/bin/player and a /usr/local/bin/mplayer, you are in a mess.
|
|
Top |
|
|
elgordo123
|
Posted: Thu Aug 31, 2006 10:21 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
Out of the box R5D1 install, /usr/lib/codecs. Cessman posted it somewhere a few weeks ago.
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
|