[MPlayer-users] How to select video/audio AsfStreamID in command "mplayer -dumpstream -dumpfile test.asf mms://195.94.205.211/Trwam"

pk2 at o2.pl pk2 at o2.pl
Sat Jan 3 16:02:21 CET 2015


Hello, I'm Peter from Poland - nice to meet you :)

I'm able to record the stream using this command, but the quality is 
very low 160x120 pixels, 17kbps sound:
   $ mplayer -dumpstream -dumpfile test.asf mms://195.94.205.211/Trwam

I verified that mms://195.94.205.211/Trwam offers different qualities of 
video/audio:
   ASF file format detected.
   [asfheader] Audio stream found, -aid 1 (audio (64 Kib/s))
   [asfheader] Audio stream found, -aid 2 (audio (33 Kib/s))
   [asfheader] Audio stream found, -aid *3 (audio (17 Kib/s))*
   [asfheader] Video stream found, -vid 4 (video (233 Kib/s))
   [asfheader] Video stream found, -vid 5 (video (94 Kib/s))
   [asfheader] Video stream found, -vid *6 (video (47 Kib/s))*

I think that Mplayer is selecting the lowest values by default:
   stream object, stream *ID: 3*
   stream object, stream *ID: 6*

I did "man mplayer" and I'm trying to select video=94kbps and audio 
"33kbps" using "-vid" and "-aid"... "-vo"... "tv://" or maybe I should 
change configuration files? But how? It's so complex an so few 
examples... frustrating...
$ mplayer -dumpstream -dumpfile test.asf mms://195.94.205.211/Trwam -vid 
5 -aid 3 -v
$ mplayer  -vid 5 -aid 3 -dumpstream -dumpfile test.asf 
mms://195.94.205.211/Trwam -v
$ mplayer -dumpstream -dumpfile test.asf mms://195.94.205.211/Trwam -vid 
5 -vo null -v
Video lost at all and ID:3 and ID:6 were not changed to ID:2, ID:5 ... I 
wouldn't like to post more bad examples...

I't is difficult to find any examples with Google... "mplayer command 
line examples" - nothing useful for my problem...
http://crunchbang.org/forums/viewtopic.php?pid=229427
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html

Could you help me to solve the problem, please?

Thank you in advance and best regards~Piotrek~pe3no.

P.S. I did tests with MPlayer 1.0rc2-4.3.2-DFSG-free @ Debian 5 Lenny 
and MPlayer svn r34540 at Debian 7 (Wheezy)


More information about the MPlayer-users mailing list