icelk
February 23, 2025, 2:13pm
1
Issue description:
When playing OPUS files from Jellyfin (encoded with ffmpeg) no duration is shown. I’ve tried clearing all caches in Symfonium and cleared the cache from the system settings. During the logs, one song randomly had a duration. Have never seen it before.
Link to download the source opus file: https://icelk.dev/symfonium-sample.opus
Logs:
Upload description: icelk
Additional information:
Reproduction steps:
Play any opus song.
Media provider:
Jellyfin
Screenshots:
Tolriq
February 23, 2025, 3:15pm
2
Open that file in Chrome and it won’t show the duration either.
What parameters do you use to encode the files ?
You could try the +faststart option it helped me in another problem with opus.
icelk
February 24, 2025, 10:32am
4
True, but after downloading it it works
I also noticed that the OPUS files I encoded a few months ago work just fine. So maybe a regression in opusenc / ffmpeg??
This is the command I run: (previously I ran with flac.opus
to use the opus container but that didn’t work either)
ffmpeg -i "<>.flac" -c:a libopus -b:a 320k -ar 48000 -y "<>.flac.ogg"
icelk
February 24, 2025, 10:32am
5
IIRC +faststart
only works for mp4 and related containers? I use the opus container. And I also tried the OGG container and it didnt work either.
Tolriq
February 24, 2025, 11:01am
6
Maybe but you are streaming Not an expert of that format, but when Chrome will work it will work too.
I know that the docs say that. I only report what helped me maybe it was something different and it was coincidence that it happened after i used faststart. (Or it was m4a and not opus)
So maybe give it a try even if it should do nothing.
icelk
February 24, 2025, 6:13pm
8
Changing to the MKA/MKV container worked
So maybe give it a try even if it should do nothing.
Yeah I did and ffmpeg was not happy… Thanks anyway
Maybe but you are streaming
True true
icelk
February 24, 2025, 11:18pm
9
Yes, putting it into a matroska file fixed the issues. Wonder why chrome has problems reading plain opus files being encoded recently…