some opus file won'tp lay
I did a batch encode of flac to opus and some of th
#4 Updated by Michael Schwendt over 5 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 5 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 5 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 .
Regardless, mpg123 should not be picking up this file. Using the same decoding flags as in 3.5-devel seems to fix the problem: