On 6/12/06, <b class="gmail_sendername">Francesco Peeters</b> <<a href="mailto:Francesco@fampeeters.com">Francesco@fampeeters.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, June 12, 2006 8:19, Doug said:<br>> I am trying to get my media library to work with Xine or mplayer via :<br>> mplayer -fs -ao alsa:mmap:noblock:device=hw=0.4 %s<br>> or<br>> xine -p %s<br>> or<br>
> mplayer -fs %s<br>><br>> They all find my spdif port as 0,4 ( which works for mp3's and dvd's via<br>> myth and xine or mplayer as DVD player)<br>> but wont play a single file with audio, but the video is fine?
<br>><br>> How do I get the audio to play is the a command line issue? an spdif<br>> passthrough issue?<br>><br>A few questions that may help paint a clearer picture to help solving this:<br><br>What type of audio stream is in the video files? MP3/OGG/AC/???
<br><br>Have you tried video files with other audio formats? If so, did you get<br>the same results?<br>Have you successfully played audio-only files in the same format?<br><br>What is your audio setup? (OK, It's ALSA, but what H/W, etc.)
<br><br>Good luck!<br><br>--<br>Francesco Peeters<br>----<br>GPG Key = AA69 E7C6 1D8A F148 160C D5C4 9943 6E38 D5E3 7704<br>If your program doesn't recognize my signature, please visit<br><a href="http://www.CAcert.org/index.php?id=3">
http://www.CAcert.org/index.php?id=3</a> to retrieve the Root CA certificate.<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org
</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>Not sure if this is your problem but this fixed a problem I was having. From an earlier post:
<br><br><div style="margin-left: 40px;"><font size="1">Correct, I was assuming English and we all know about assuming. You can
run mplayer -v filename to see what languages that the rip supports. If
it is something other than 128 the you place a config file in that
users .mplayer directory located in their home directory. For most
people this will be:</font><br><br><font size="1">
~/.mplayer/movietitle.ext.conf</font><br><br><font size="1">
So if you are trying to fix a language problem for a movie such as Bad
Boys II, which is one that will not work correctly then you rip it and
then run:</font><br><br><font size="1">
mplayer -v The\ Matrix.vob</font><br><br><font size="1">
The will show something like this about 10% down in the output:</font><br><br><font size="1">
found audio track 0</font><br><font size="1">
found audio track 129</font><br><font size="1">
found audio track 128</font><br><br><font size="1">
In this case since 129, french, is the first on in the list it defaults
to that unless you specify 128 for english. So by adding the line</font><br><br><font size="1">
<span id="st" name="st" class="st">aid</span>=128</font><br><br><font size="1">
to the mplayer config file located on most systems at</font><br><br><font size="1">
/etc/mplayer/mplayer.conf</font><br><br><font size="1">
It will default to 128 instead of 129. I had on movie that I was
backing up that used 1 instead of 128, Reindeer Games. So to fix it on
a movie by movie basis change in to your users home directory and then
go in to the .mplayer directory. For most people this will be:</font><br><br><font size="1">
cd ~/.mplayer/</font><br><br><font size="1">
Once their you will create a custom config file for just that movie by
creating a file with the full filename of the movie including the
extension and adding config to the end. So for Reindeer Games it ended
up being:</font><br><br><font size="1">
Reindeer_Games.avi.conf</font><br><br><font size="1">
Inside of that file you just need one line that says</font><br><br><font size="1">
<span id="st" name="st" class="st">aid</span>=1</font>
<br></div>
<br>Allan<br>