[MPlayer-users] Opus streams.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Sep 18 18:13:05 CEST 2012


On Tue, Sep 18, 2012 at 04:07:09PM +0000, bat guano wrote:
> 
> Hi
> I can play local opus files from my hard drive with mPlayer OK.
> (Using Ubuntu-11.04)
> 
> $ mplayer luckynight.opus
> MPlayer SVN-r35203-4.5.2 (C) 2000-2012 MPlayer Team
> 
> Playing luckynight.opus.
> libavformat version 54.27.101 (internal)
> libavformat file format detected.
> [lavf] stream 0: audio (libopus), -aid 0
> Load subtitles in ./
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> libavcodec version 54.56.100 (internal)
> [libopus @ 0x8d37000]Could not update timestamps for skipped samples.
> AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
> Selected audio codec: [fflibopus] afm: ffmpeg (FFmpeg libopus)
> ==========================================================================
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
> 
> ;-)
> 
> There are some experimental opus streams at Absolute Radio.
> Information is here ---> http://www.absoluteradio.co.uk/listen/labs.html#opus
> 
> These streams play OK with FFmpeg and VLC.
> $ ffplay http://icecast-beta.timlradio.co.uk:8000/ac128.opus
> $ cvlc http://icecast-beta.timlradio.co.uk:8000/ac128.opus
> 
> But mPlayer won't play them.
> ;-(
> 
> $ mplayer http://icecast-beta.timlradio.co.uk:8000/ac128.opus
> MPlayer SVN-r35203-4.5.2 (C) 2000-2012 MPlayer Team
> 
> Playing http://icecast-beta.timlradio.co.uk:8000/ac128.opus.
> Resolving icecast-beta.timlradio.co.uk for AF_INET6...
> 
> Couldn't resolve name for AF_INET6: icecast-beta.timlradio.co.uk
> Resolving icecast-beta.timlradio.co.uk for AF_INET...
> Connecting to server icecast-beta.timlradio.co.uk[85.159.185.245]: 8000...
> 
> Name   : Absolute Classic Rock
> Public : no
> Cache size set to 320 KBytes
> Cache fill: 14.19% (46485 bytes)   
> 
> Ogg stream 0 is of an unknown type

Due to issue with startup time and stream switching, streaming uses our
own Ogg demuxer still instead of the FFmpeg one.
It has not been updated to support Opus (and due to the uniquely incredible
misdesign that the Ogg format is, doing so is not trivial - and I do
not joke when I say this is pretty much unique for Ogg).
As a work-around you can probably use -demuxer lavf.
If enough people say that works perfectly even for low-bitrate live
audio streams we might switch to that.


More information about the MPlayer-users mailing list