QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Gaming > Sony PlayStation 3 > PS3 Main > PS3 Linux
The above video goes away if you are a member and logged in, so log in now!

Surround sound in Linux

This is a discussion on Surround sound in Linux within the PS3 Linux forums, part of the PS3 Main category; Hi everyone! I am new here, but I just got a ps3 and playing around with linux (and loving it ...

Reply
 
LinkBack Thread Tools
Old 11-27-2006, 02:49 AM   #1
 
Join Date: Nov 2006
Posts: 20
Trader Feedback: 0
Default Surround sound in Linux

Hi everyone! I am new here, but I just got a ps3 and playing around with linux (and loving it ).

Has anyone got surround sound working on linux on the PS3?
I've built mplayer and can pretty much stream all of my video files from my pc (avi, mpg, ts, wmv) through mplayer, but haven't had much luck getting 5.1 audio (tried all the command line options like -ac hwac3, -channels 6, etc).

The performance is pretty good most of the time, but the lack of any 2d video acceleration really hurts playing videos through linux.
Especially when you do any scaling or post-processing on hi-def video.
Although I'm sure once people invest some time offloading that onto the spe's, it'll be sweet!

Thanks for any help!
squall_dc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-27-2006, 02:52 AM   #2
 
Zafle's Avatar
 
Join Date: Jul 2005
Location: Seattle
Posts: 77
Trader Feedback: 0
Default

tried alsamixer? never messed with surround but there should be an alsa command to do it if alsamixer doesnt help
Zafle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-27-2006, 03:14 AM   #3
 
Join Date: Nov 2006
Posts: 20
Trader Feedback: 0
Default

Thanks for the suggestion Zafle.
Yeah, I've tried alsamixer, it only shows the pcm channel. I've checked the alsa configuration files and they have spdif device and the iec958 device in it.
squall_dc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-27-2006, 05:21 AM   #4
 
Zafle's Avatar
 
Join Date: Jul 2005
Location: Seattle
Posts: 77
Trader Feedback: 0
Default

strange, here are some links i found that might be some help

http://alsa.opensrc.org/SurroundSound
http://www.cse.ohio-state.edu/~bondhugu/alsamch.shtml
http://gentoo-wiki.com/HOWTO_Surround_Sound

let me know if those help at all
Zafle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-27-2006, 02:26 PM   #5
 
Join Date: Nov 2006
Posts: 20
Trader Feedback: 0
Default

Thanks again for the links Zafle!

I'll try them out tonight and see how it goes.
squall_dc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-27-2006, 02:53 PM   #6
 
Zafle's Avatar
 
Join Date: Jul 2005
Location: Seattle
Posts: 77
Trader Feedback: 0
Default

ok sounds good
Zafle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-28-2006, 03:56 AM   #7
 
Join Date: Nov 2006
Posts: 20
Trader Feedback: 0
Default

I tried them out but no luck
All my device settings seem correct (from looking at the files in /proc/asound/*)
and my configuration files in /etc/alsa/* all look fine too.

Oh well, I'll just wait and see if anyone else can confirm they can get 5.1 sound working first before trying again.

Thanks for all your help!
squall_dc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-29-2006, 06:29 PM   #8
 
Zafle's Avatar
 
Join Date: Jul 2005
Location: Seattle
Posts: 77
Trader Feedback: 0
Default

yup,
if someone could post a working config file that would be sweet
Zafle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2006, 04:10 AM   #9
 
Join Date: Dec 2006
Posts: 1
Trader Feedback: 0
Default

Squall dc,

Would you please inform how I can get the mplayer and get it work in PS3 in YD5? Can you just send me the excutable or I need to compile it by myself. If it is the case, would you please inform how I can compile it. Thanks.

Hans
Hans is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2006, 03:41 AM   #10
 
Join Date: Nov 2006
Posts: 20
Trader Feedback: 0
Default

I've uploaded my compile of mplayer here:

mplayer.zip - 2.83MB

Normal place to install this is to extract it to /usr/local/bin
I've enabled subtitle support, but you will need to setup the font you want. Eg:

ln -s /usr/local/enlightenment/share/enlightenment/data/fonts/Vera.ttf ~/.mplayer/subfont.ttf

One example of using mplayer is:

mplayer -framedrop -vsync -vo sdl -aspect 1.3333 my_widescreen_vid.avi

You should play around with the command line arguments to see what suits you (you will need further command line arguments to use subtitles).

If you want to recompile from source yourself, you can get the source from:

http://www.mplayerhq.hu/design7/news.html
squall_dc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-12-2006, 03:42 PM   #11
 
Join Date: Dec 2006
Posts: 2
Trader Feedback: 0
Default

can somebody give me a step by step on getting that mplayer in the previous post working ?

thanks !

dld
RacerX10 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2007, 04:01 PM   #12
 
Join Date: Feb 2007
Posts: 1
Trader Feedback: 0
Default

Squall: were you able to get the surround sound issue working in linux? I am having the same problem and would love to find a fix for it. Thanks.
greg0226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
linux , sound , surround

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 03:35 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us