Opened 14 years ago
Last modified 14 years ago
#1722 new defect
The -cache option does not work with radio://xxx/capture URLs
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | streaming |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
When playing radio://xxx/capture URLs adding the -cache option produces unexpected results.
Steps to reproduce:
mplayer -cache 1024 radio://92.6/capture
Expected results:
Tune the radio card to 92.6 Mhz and stream audio data from the radio card to the sound card with a 1024 KB cache. (Avoiding the use of a cable from radio out to sound card line-in)
Actual results:
mplayer creates two sub-processes to stream data from the radio card to the sound card. The sound is grumbled. When quiting mplayer one of these sub-processes continues running.
Sample output:
jupiter: ~# mplayer -cache 1024 radio://92.6/capture
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not open config files /root/.lircrc and /etc/lirclirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
Playing radio://92.6/capture.
[radio] Using V4Lv2 radio interface.
[radio] Radio frequency parameter detected.
[radio] Using frequency: 92.60.
Cache fill: 40.00% (352256 bytes)
Cache fill: 0.00% (0 bytes)
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Cache fill: 0.78% (8192 bytes)
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Cache fill: 2.34% (24576 bytes)
Error reading audio: Broken pipe
ALSA read/write errorFatal error, cannot recover!
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | trunk.patch added |
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|
Proposed fix