Bug #362

some opus file won'tp lay

Added by Foo Bar over 10 years ago. Updated over 10 years ago.

Target version:
Start date:
October 26, 2013
Due date:
% Done:


Estimated time:
Affects version:


I did a batch encode of flac to opus and some of th


#1 Updated by Foo Bar over 10 years ago

<accidentially hit return>
audacious version 3.4.1
affects ffmpeg plugin

..some of the opus files won't load. ffplay plays them so I think it's the audacious plugin. I cant attach file due to size restrictions. Where do I mail it to?

#2 Updated by John Lindgren over 10 years ago

Try a file sharing service such as or Ubuntu One.

#4 Updated by Michael Schwendt over 10 years ago

Interesting. The ffmpeg plugin here doesn't advertise ".opus" as a file extension it can handle, so somewhat later the mpg123 input plugin mistakenly accepts the file when probing its contents.

A temporary work-around is to rename from *.opus to *.ogg.

#5 Updated by Foo Bar over 10 years ago

Odd, it seems av_probe_input_format2() is unreliable. In my own project I skip probe and just use avformat_open_input() followed by avformat_find_stream_info(). That way the file is opened and detected correctly. Btw, out of the 8 files I encoded, 2 have this problem.

#6 Updated by John Lindgren over 10 years ago

  • Category set to plugins/mpg123
  • Status changed from New to Closed
  • Target version set to 3.4.2
  • % Done changed from 0 to 100
  • Affects version 3.4.1 added

The proper file extension would actually be .oga since .ogg is reserved for Ogg Vorbis [1].

Regardless, mpg123 should not be picking up this file. Using the same decoding flags as in 3.5-devel seems to fix the problem:


Also available in: Atom PDF