- March 10, 2006
- 4,434
- 1,897
- Moderator
- #1
After much diagnosing on an unexplained delay during start of playback and actual playback on some media, I discovered the following:
The problem lies in MediaInfo.DLL that MediaPortal calls before it starts the playback of the file. It seems that for an AVI file with AC3 audio codec it is unable to grab just the small header part of the AVI file and instead falls back on obtaining the entire file.
This does not happen on every version of MediaInfo, so after trying out a lot of older versions, I found out that v0.7.26 is the last version that is still able to read things quick. So if you do not need the functionality of the recent version (v0.7.33 is current), which solves problems related to fancy audio codecs (Dolby TrueHD, DTS-Master, etc) then you can fix the long delay by replacing the mediainfo.dll file with the v0.7.26 version that you can obtain from SourceForge website (extract it from ZIP file for GUI version).
I'm also going to report this to MediaInfo developers, so if you can not use the older version (due to need of functionality from new version) then just be patient for next release.
- Only occurs on AVI files with AC3 audio codec (MP3 worked fine, so did MKV container)
- Delay is the same amount of time it takes to copy entire file over, so really noticable on slow networks
The problem lies in MediaInfo.DLL that MediaPortal calls before it starts the playback of the file. It seems that for an AVI file with AC3 audio codec it is unable to grab just the small header part of the AVI file and instead falls back on obtaining the entire file.
This does not happen on every version of MediaInfo, so after trying out a lot of older versions, I found out that v0.7.26 is the last version that is still able to read things quick. So if you do not need the functionality of the recent version (v0.7.33 is current), which solves problems related to fancy audio codecs (Dolby TrueHD, DTS-Master, etc) then you can fix the long delay by replacing the mediainfo.dll file with the v0.7.26 version that you can obtain from SourceForge website (extract it from ZIP file for GUI version).
I'm also going to report this to MediaInfo developers, so if you can not use the older version (due to need of functionality from new version) then just be patient for next release.