MediaArea / MediaInfoLib

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://mediaarea.net/MediaInfo
BSD 2-Clause "Simplified" License
633 stars 173 forks source link

different result of CLPI files with streaming #1230

Open mlaggner opened 4 years ago

mlaggner commented 4 years ago

when I try to use the streaming API of libmediainfo to get the language information out of a bluray via the CLPI file, libmediainfo returns a different result than mediainfo gui. When operating on the dumped BDMV structure (just copied out of the ISO file) detection is also working, just not via streaming.

I've to say that all the other files work with streaming

On the example, mediainfo gui results all streams, whereas libmediainfo just returns the general stream

00800.zip

Ser-vie commented 3 years ago

Sorry, but 1 year without an answer. Please It would be really very important if these errors could be investigated and corrected. Is there no idea to do this? https://gitlab.com/tinyMediaManager/tinyMediaManager/-/issues/1313

mlaggner commented 3 years ago

maybe this is the "problematic" piece of code: https://github.com/MediaArea/MediaInfoLib/blob/d5fb067e1539aa7a74c491e8262c81214f9c8bcb/Source/MediaInfo/Multiple/File_Bdmv.cpp#L678

looks like when parsing CLPI files, libmediainfo is also parsing the corresponding M2TS file which is kinda hard while streaming

JeromeMartinez commented 3 years ago

Sorry, but 1 year without an answer.

We are definitely late, but this use case is not one we use so not a priority. a patch from contributors would be appreciated though.