[MPlayer-users] Mplayer Stream to *.wav
que_pasa70 at gmx.de
que_pasa70 at gmx.de
Tue May 8 16:01:17 CEST 2007
Hello Dominik and Joey,
thanks a lot for your help!!
I can´t get it run. I´m using the latest Debian with the newest mplayer, but -endpos doesn´t work and i don´t know why.
If I´m running
mplayer -identify -cache 1024 -endpos 10:00 -ao pcm:file=/home/test.wav http://207.200.96.230:8040
it doesn´t work.
If I´m using the same code without "-endpos 10:00" it´s working.
I also tried this on a windows XP system with the same result.
Code:
debian:/home/thomas# mplayer -cache 1024 -endpos 00:00:10 -ao pcm:file=/home/thomas/test_mplayer/date.wav http://207.200.96.230:8040
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://207.200.96.230:8040.
Resolving 207.200.96.230 for AF_INET6...
Couldn't resolve name for AF_INET6: 207.200.96.230
Connecting to server 207.200.96.230[207.200.96.230]: 8040...
Resolving scfire-dll0l-1.stream.aol.com for AF_INET6...
Couldn't resolve name for AF_INET6: scfire-dll0l-1.stream.aol.com
Resolving scfire-dll0l-1.stream.aol.com for AF_INET...
Connecting to server scfire-dll0l-1.stream.aol.com[64.236.99.41]: 80...
Resolving scfire-chi0l-1.stream.aol.com for AF_INET6...
Couldn't resolve name for AF_INET6: scfire-chi0l-1.stream.aol.com
Resolving scfire-chi0l-1.stream.aol.com for AF_INET...
Connecting to server scfire-chi0l-1.stream.aol.com[64.236.98.50]: 80...
Resolving scfire-ntc0l-1.stream.aol.com for AF_INET6...
Couldn't resolve name for AF_INET6: scfire-ntc0l-1.stream.aol.com
Resolving scfire-ntc0l-1.stream.aol.com for AF_INET...
Connecting to server scfire-ntc0l-1.stream.aol.com[64.236.36.53]: 80...
Resolving scfire-chi0l-1.stream.aol.com for AF_INET6...
Couldn't resolve name for AF_INET6: scfire-chi0l-1.stream.aol.com
Resolving scfire-chi0l-1.stream.aol.com for AF_INET...
Connecting to server scfire-chi0l-1.stream.aol.com[64.236.98.50]: 80...
Resolving scfire-ntc0l-1.stream.aol.com for AF_INET6...
Couldn't resolve name for AF_INET6: scfire-ntc0l-1.stream.aol.com
Resolving scfire-ntc0l-1.stream.aol.com for AF_INET...
Connecting to server scfire-ntc0l-1.stream.aol.com[64.236.36.53]: 80...
Name : -=[:: HOT 108 JAMZ ::]=- #1 FOR HIP HOP - 128K HD) * CONNECT FROM OUR WEBSITE www.hot108.com
Genre : hip hop urban rap rnb
Website:
Public : yes
Bitrate: 128kbit/s
Cache size set to 1024 KBytes
Cache fill: 0.78% (8192 bytes)
ICY Info: StreamTitle='Ne-Yo - Because Of You';StreamUrl='';
Cache fill: 16.41% (172032 bytes)
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 1340 bits!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO PCM] File: /home/test.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mpg123: Can't rewind stream by 181 bits!
A: 10.1 (10.0) of -0.0 (unknown) 1.0% 4%
Exiting... (End of file)
debian:/home/thomas#
Thanks for your help!
Best regards
Tom
-------- Original-Nachricht --------
Datum: Fri, 4 May 2007 15:33:39 -0500
Von: "Joey Parrish" <joey.parrish at gmail.com>
An: "MPlayer usage questions, feature requests, bug reports" <mplayer-users at mplayerhq.hu>
Betreff: Re: [MPlayer-users] Mplayer Stream to *.wav
> On 5/4/07, Dominik Mierzejewski <dominik at rangers.eu.org> wrote:
> > On Friday, 04 May 2007 at 13:09, que_pasa70 at gmx.de wrote:
> > -endpos is both an MPlayer and MEncoder option. If your MPlayer doesn't
> have it,
> > it must be ancient and needs updating.
>
> Agree. How about:
>
> #!/bin/sh
> while true; do
> d=`date`
> mplayer -endpos 10:00 -ao "pcm:file=$d.wav" "$1"
> done
>
> --Joey
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the MPlayer-users
mailing list