mpv icon indicating copy to clipboard operation
mpv copied to clipboard

MPV *not* displaying updated tags for particularly wrapped lossless streams from icecast (ogg container)

Open Parakovsky opened this issue 1 year ago • 3 comments

mpv Information

mpv v0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Sep 23 2024 17:46:22
libplacebo version: v7.349.0
FFmpeg version: n7.0.2
FFmpeg library versions:
   libavcodec      61.3.100
   libavdevice     61.1.100
   libavfilter     10.1.100
   libavformat     61.1.100
   libavutil       59.8.100
   libswresample   5.1.100
   libswscale      8.1.100

Other Information

- Linux version: ARCH
- Kernel Version: 6.11
- GPU Model:
- Mesa/GPU Driver Version:
- Window Manager and Version: sway
- Source mpv:
- Introduced in version:

Reproduction Steps

If performed playback on parakovsky.duckdns.org:8030/liq.ogg only displays the initial track name but not the ones that comes after.

Expected Behavior

If performed on another stream with the same container but with lossy compression method (ogg 320 kbps) metadata tags on track changes displays correctly test link parakovsky.duckdns.org:8030/lossy.ogg

Actual Behavior

After the initial track title displayed of the track playing at the moment of the stream mpv will keep displaying only one name as if it is continious even tho the track could be already changed. Was curious and talked with Icecast people who tested the stream and stuff and verified that the back frame configuration correct and trough ogginfo everything looks Gucci. So, having this ticket is the last resort for a poor operator to test the problem and to keep track of it.

Log File

output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • [X] I tested with the latest mpv version to validate that the issue is not already fixed.
  • [X] I provided all required information including system and mpv version.
  • [X] I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • [X] I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • [X] I attached the full, untruncated log file.
  • [X] I attached the backtrace in the case of a crash.

Parakovsky avatar Oct 12 '24 05:10 Parakovsky

I don't see the metadata update at all here, even your Icecast Dashboard doesn't have metadata for the lossless stream. image

llyyr avatar Oct 12 '24 07:10 llyyr

Actually, this is a ffmpeg issue. It's fixed by https://ffmpeg.org//pipermail/ffmpeg-devel/2023-April/308780.html and only specifically affects flac

edit: v3 of the patch: https://ffmpeg.org//pipermail/ffmpeg-devel/2023-May/309603.html

llyyr avatar Oct 12 '24 08:10 llyyr

YES! and to your point sometimes the library would play some sourced from youtube track or lekchur that don't have a metadata so..... it probably wouldn't display itself. and yes. i have ffmpeg 6.1 on the liquidsoap i don't think it works on ffmpeg 7 so far. wonder if my version is older than the patch and could i have been patching it independently somehow. thanks for your feedback. ps: foobar seems to display metadata correctly which probably means the patch is already there but not helping our beloved m.p.v to work it out. just saying.

Parakovsky avatar Oct 12 '24 13:10 Parakovsky