Opened 12 years ago
Last modified 12 years ago
#2031 closed defect (invalid)
When mplayer runs out of cache, the low sound volume resets to maximum
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | ao |
Version: | unspecified | Severity: | major |
Keywords: | Cc: | compn | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
we are using mplayer to play a network radio stream.
- set mplayer cache to anything - a fixed value say 32 kb or 5120 kb
- set the audio output vol to 50%
- saturate the network link, this causes the the mplayer cached data to exhaust - and then when mplayer cannot get more data at the previous rates ( due to the network link being saturated )
- mplayer will attempt to get more data from the network to fill the cache.
- mplayer output volume will be reset back to 100% when the whatever data that is in the cache starts playing.
C:\Documents and Settings\Administrator>"C:\Program Files\MPlayer\MPlayer.exe" -
osdlevel 3 -cache 32 -cache-min 95 -playlist http://www.sky.fm/aacplus/lovemusic
.pls
Resolving www.sky.fm for AF_INET...
Connecting to server www.sky.fm[107.6.85.41]: 80...
Resolving listen.sky.fm for AF_INET...
Connecting to server listen.sky.fm[173.231.147.50]: 80...
Cache size set to 32 KBytes
Unknown entry type Version=2
MPlayer Sherpya-SVN-r34401-4.6.2 (C) 2000-2011 MPlayer Team
181 audio & 389 video codecs
Playing http://u17.sky.fm:80/sky_lovemusic_aacplus.
Resolving u17.sky.fm for AF_INET...
Connecting to server u17.sky.fm[72.26.193.125]: 80...
Name : Love Music - SKY.FM - easy listening and Romantic hits from the heart!!
Genre : Love Soft Romantic
Website: http://www.sky.fm/lovemusic/
Public : no
Bitrate: 40kbit/s
Cache size set to 32 KBytes
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle='Peabo Bryson - If Ever You're In My Arms Again';
Cache fill: 25.00% (8192 bytes)
AAC file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
VOLUME HERE IS SET TO 50%
ICY Info: StreamTitle='SKY.fm Radio AMTAG_60 ADWTAG_30000_START=0';StreamUrl=;
ICY Info: StreamTitle=' - SKY.fm Radio AMTAG_60 ADWTAG_30000_START=0';
ICY Info: StreamTitle='Spice Girls - Goodbye';StreamUrl=;
ICY Info: StreamTitle='Spice Girls - Goodbye';
ICY Info: StreamTitle='Spice Girls - Goodbye';
ICY Info: StreamTitle='Gloria Estefan - Here We Are';
ICY Info: StreamTitle='Roxy Music - Jealous Guy';
ICY Info: StreamTitle='Boy George - Everything I Own';StreamUrl=;
ICY Info: StreamTitle='Boy George - Everything I Own';
ICY Info: StreamTitle='R. Kelly - If I Could Turn Back The Hands Of Time';Stream
Url=;
ICY Info: StreamTitle='R. Kelly - If I Could Turn Back The Hands Of Time';
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
[aac @ 01395220]invalid band type
Cache not responding! [performance issue]
Playing http://u16.sky.fm:80/sky_lovemusic_aacplus.
Resolving u16.sky.fm for AF_INET...
Connecting to server u16.sky.fm[72.26.193.113]: 80...
Name : Love Music - SKY.FM - easy listening and Romantic hits from the heart!!
Genre : Love Soft Romantic
Website: http://www.sky.fm/lovemusic/
Public : no
Bitrate: 40kbit/s
Cache size set to 32 KBytes
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle='R. Kelly - If I Could Turn Back The Hands Of Time';
Cache fill: 25.00% (8192 bytes)
AAC file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
ICY Info: StreamTitle='Omar - There's Nothing Like This';StreamUrl=;
VOLUME HERE IS RESETS BACK TO 100%
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed, patriotact@gmail.com |
so put volume in your config or use a volume global option by placing it before the -playlist command.
You analysis is way off.
The volume resets to the value specified by -volume when switching to the next file, and that is the only thing that happens here (after MPlayer detects EOF).
You can see that the two URLs after "Playing" differ.