[MPlayer-users] 2 -> 5+1
Stefan Lange
hoirkman at gmx.de
Sun Jan 18 19:33:49 CET 2004
raptor wrote:
> hi this is my first post in the list,
>
> I'm tring to play 2ch videos to 6ch.. i.e movies detected like this :
>
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> MP3lib: init layer2&3 finished, tables done
> AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128,0 kbit)
> Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
>
> what I came up is :
>
> mplayer -af sub -channels 6 movie.avi
>
> which plays 4+1, on the center i dont get any sound. I also tied using pan= w/o success.
> example :
>
> mplayer -channels 6 pan=6:1:0:0:0:0:0:0:1:0:0:0:0:0:0:1:0:0:0:0:0:0:1:0:0:0.5:0.5:0:1:0
>
> which didnt work, but changing 0.5 to 1, showed some sound on the center..
I saw that too, mplayer claims that my sound card or driver doesn't
support float values, only integer
>
> mplayer -channels 6 pan=6:1:0:0:0:0:0:0:1:0:0:0:0:0:0:1:0:0:0:0:0:0:1:0:0:1:1:0:1:0
>
> but then when using -af sub, didnt worked...i.e. it become 4+1 minus subwoofer(LFE)
>
what about
-channels 6 -af
pan=6:1:0:0:0:0:0:0:1:0:0:0:0:1:0:0:0:0:0:0:1:0:0:0:0:1:1:0:0:0:0,sub=300:5
does that work?
> Is there a way to make this work..
> I use alsa 1.0.0_rc2.(realtek ALC655 sound card)
>
> One other thing I want to build an index of my sound+movies...so I want to process them
> one by one and extract the info that mplayer shows when plays..
> Can I run mplayer in a way that it only shows this info w/o really playing anything..
> And more importantly from the example above which is the the true info about the format.
> is it this on the "Selected audio codec"-line i.e. "(mp3lib MPEG layer-2, layer-3)"
>
> i should see the all possible values from the DOCS isn't it, i mean their names so that
> I can show some short desc like : mp3, ac3, !!!
>
> The same questions apply for VIDEO ?
> How I can distinguish between the stereo (2ch) movies that contain Surround encoded into the
> tracks and thouse that are pure 2ch (i.e. no surround)..
>
"mplayer -identify -frames 0 somefile" will deliver easily parseable
info about the file, both about audio and video
> tia
More information about the MPlayer-users
mailing list