Bug #362
some opus file won'tp lay
100%
Description
I did a batch encode of flac to opus and some of th
History
#1 Updated by Foo Bar about 11 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 about 11 years ago
Try a file sharing service such as Box.com or Ubuntu One.
#4 Updated by Michael Schwendt about 11 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 about 11 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 about 11 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:
https://github.com/audacious-media-player/audacious-plugins/commit/b0d9ac6d009a01cfb6eefe4e4aef0ef477c9befe