mpc-hc icon indicating copy to clipboard operation
mpc-hc copied to clipboard

Opus metadata information isn't being shown

Open Destroyer opened this issue 3 years ago • 6 comments

Even though the metadata is present in the opus file, MPC doesn't display them in its info view

obrazek

Destroyer avatar Jul 18 '21 14:07 Destroyer

You can report issues with the internal LAV Filters here: https://github.com/Nevcairiel/LAVFilters/issues

clsid2 avatar Jul 18 '21 17:07 clsid2

Upload sample file.

Aleksoid1978 avatar Jul 19 '21 12:07 Aleksoid1978

Upload sample file.

I test a ogg(opus) file which converted by ffmpeg, has same issue. (ffmpeg-msvc -i "01 FUN FUN MERRY JAM.flac" -c libopus -b:a 320k test.ogg) File

lifegpc avatar Jul 19 '21 13:07 lifegpc

created a sample using opusenc.exe --music --vbr --bitrate 192 src.flac dest.opus ffmpeg -i .\dest.opus -c:a copy -t 30 02.opus

opusenc is the only needed to get the result, ffmpeg was used to trim it to first 30secs

https://www.mediafire.com/file/aowbhpmr09msw83/02.opus/file

Destroyer avatar Jul 19 '21 14:07 Destroyer

This seems to be a bug in LAV Filter CLAVFDemuxer::GetBSTRMetadata(const char *key, BSTR *pbstrValue, int stream) function https://github.com/Nevcairiel/LAVFilters/blob/c0c873a0cb045620af48ed2a944a8a1f77b05d19/demuxer/Demuxers/LAVFDemuxer.cpp#L3133-L3134 where the stream parameter has its default value -1 that never changes during metadata retrieval and thus m_avFormat->streams[stream]->metadata is never returned.

cw2 avatar Sep 07 '21 18:09 cw2

@clsid2 does this bug still exist in LAV?

NBruderman avatar Jun 29 '24 04:06 NBruderman