I enabled transcoding to PCM for opus and vorbis recently. After applying this hack to convert.conf (thanks to @mw9):
ogg pcm * *
# IFT:{START=trim %s}
[sox] -q -t ogg $FILE$ -t raw -c 2 -2 -s - $START$
so that 48kHz files will play at correct speed (opus is always 48kHz, and quite a few of my vorbis files are too),
it turns out that practically all opus files will end prematurely, sometimes by a few dozen seconds.
Vorbis (both 44.1kHz and 48kHz) don't seem as bad, with most ending as expected. But even some of them will end 2-3 seconds prematurely.
To be clear: I have 48kHz Vorbis that seem to play fine, and a few 44.1kHz Vorbis files that don't.
I couldn't see a pattern yet, but it is annoying.
Please don't ask me to explain why I'm trying to use opus and vorbis and then transcoding to PCM - suffice it to say I'm trying to keep my Booms and Transporter alive for as long as I can AND stream my music on 4/5G networks as well. 😉
(the full explanation is beyond the scope of this post)
The folks over at github Opus playback ends prematurely when transcoding can't seem to repro this - but they think it's because I run Windows (10) while everyone there runs Linux.
QUESTIONS:
1. Can any LMS on Windows users confirm this?
2. Any ideas what could be causing this? (to me as a noob it looks like one of the many layers involved in playback isn't guesstimating the track's true length properly)
3. I'm more than happy to dig deep and provide logs and traces if you give me guidance. And also happy to try out whatever it takes.
Thanks!
ogg pcm * *
# IFT:{START=trim %s}
[sox] -q -t ogg $FILE$ -t raw -c 2 -2 -s - $START$
so that 48kHz files will play at correct speed (opus is always 48kHz, and quite a few of my vorbis files are too),
it turns out that practically all opus files will end prematurely, sometimes by a few dozen seconds.
Vorbis (both 44.1kHz and 48kHz) don't seem as bad, with most ending as expected. But even some of them will end 2-3 seconds prematurely.
To be clear: I have 48kHz Vorbis that seem to play fine, and a few 44.1kHz Vorbis files that don't.
I couldn't see a pattern yet, but it is annoying.
Please don't ask me to explain why I'm trying to use opus and vorbis and then transcoding to PCM - suffice it to say I'm trying to keep my Booms and Transporter alive for as long as I can AND stream my music on 4/5G networks as well. 😉
(the full explanation is beyond the scope of this post)
The folks over at github Opus playback ends prematurely when transcoding can't seem to repro this - but they think it's because I run Windows (10) while everyone there runs Linux.
QUESTIONS:
1. Can any LMS on Windows users confirm this?
2. Any ideas what could be causing this? (to me as a noob it looks like one of the many layers involved in playback isn't guesstimating the track's true length properly)
3. I'm more than happy to dig deep and provide logs and traces if you give me guidance. And also happy to try out whatever it takes.
Thanks!
Comment