question about "at"
- From: Peter Lesterhuis <peterlesterhuis@xxxxxxxxxx>
- Date: Thu, 05 Jan 2006 18:36:30 +0100
Hi,
I am trying to record a FM-broadcast at a scheduled time.
Mplayer will play and record the audio-stream without problems. But when I want "at" to invoke mplayer to start at a certain time it won't run. Mplayer seems tot be able to connect to the (broadcasting) server, but there is no cache fill.
I put SELinux in permissive mode, but that did not change the output.
$ mplayer -ao pcm http://livemedia.omroep.nl/radio4-breed?MSWMExt=.asf
MPlayer 1.0pre7-RPM-4.0.0 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing http://livemedia.omroep.nl/radio4-breed?MSWMExt=.asf.
Resolving livemedia.omroep.nl for AF_INET6...
Couldn't resolve name for AF_INET6: livemedia.omroep.nl
Resolving livemedia.omroep.nl for AF_INET...
Connecting to server livemedia.omroep.nl[145.58.33.20]:80 ...
Resolving livemedia.omroep.nl for AF_INET6...
Couldn't resolve name for AF_INET6: livemedia.omroep.nl
Resolving livemedia.omroep.nl for AF_INET...
Connecting to server livemedia.omroep.nl[145.58.33.20]:80 ...
Resolving livemedia.omroep.nl for AF_INET6...
Couldn't resolve name for AF_INET6: livemedia.omroep.nl
Resolving livemedia.omroep.nl for AF_INET...
Connecting to server livemedia.omroep.nl[145.58.33.20]:80 ...
Cache size set to 8192 KBytes
Connected to server: livemedia.omroep.nl
Cache fill: 19.92% (1671168 bytes) ASF file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8003->176400)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
[AO PCM] File: audiodump.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: fastest dumping is achieved with -vc dummy -vo null
PCM: Info: to write WAVE files use -waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback...
A: 232.9 (03:52.9) 10.5% 0%
There is a new file in my home-directory where the recorded stream is stored (audiodump.wav).
When I try "at" to invoke mplayer:
$ at 18:23 at> mplayer -ao pcm http://livemedia.omroep.nl/radio4-breed?MSWMExt=.asf
I have this output in /var/spool/mail/peter: Subject: Output from your job 25 To: peter@xxxxxxxxxxxxxxxxx
MPlayer 1.0pre7-RPM-4.0.0 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing http://livemedia.omroep.nl/radio4-breed?MSWMExt=.asf.
Resolving livemedia.omroep.nl for AF_INET6...
Couldn't resolve name for AF_INET6: livemedia.omroep.nl
Resolving livemedia.omroep.nl for AF_INET...
Connecting to server livemedia.omroep.nl[145.58.33.20]:80 ...
Resolving livemedia.omroep.nl for AF_INET6...
Couldn't resolve name for AF_INET6: livemedia.omroep.nl
Resolving livemedia.omroep.nl for AF_INET...
Connecting to server livemedia.omroep.nl[145.58.33.20]:80 ...
Resolving livemedia.omroep.nl for AF_INET6...
Couldn't resolve name for AF_INET6: livemedia.omroep.nl
Resolving livemedia.omroep.nl for AF_INET...
Connecting to server livemedia.omroep.nl[145.58.33.20]:80 ...
Cache size set to 8192 KBytes
Connected to server: livemedia.omroep.nl
Cache fill: 0.00% (0 bytes)
Exiting... (End of file)
There is no cache fill and then it quits.
Why is there this difference of handling the same command? Is it a SELinux-matter?
I put the mplayer command in a little script and let "at" run the script at a given time, but again it hangs at the cache fill.
Does anybody have an explanation for this?
Peter
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Prev by Date: Re: Is Anyone Using Alternate I/O Schedulers?
- Next by Date: Re: Is Anyone Using Alternate I/O Schedulers?
- Previous by thread: Is Anyone Using Alternate I/O Schedulers?
- Next by thread: unbelievably stupid mistake - i broke /usr/lib need help
- Index(es):
Relevant Pages
|