-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds buffer_size argument to parse #129
Adds buffer_size argument to parse #129
Conversation
Hi and thanks for the PR. Would you have a small sample file that could be used to test the difference in behaviour when varying buffer sizes are used? |
We have no ETA for the fix, struggling with lot of work on MediaInfo, but this issue has some kind of not so high but still high priority.
Fixing this issue does not make this option useless, some people use our direct API sometimes with smaller buffers e.g. 7*188 for 7 TS packets in a Ethernet frame (not the best example as it is about "file like" content, but this gives an idea of possibilities), or bigger buffers e.g. 1 MiB when they know they use only SSDs. |
@tsitter-evertz please open a ticket on https://github.com/MediaArea/MediaInfoLib/issues with a use case, I catch why there is a complete lack of detection of TS but not why StreamOrder property or menu track could be missing. |
@JeromeMartinez will do, I have a file that I am able to replicate this issue but we're just trying to get permission from a client to share it, or else I'll have to generate a new file that I can share. |
@sbraz does this mean that we could get in the change proposed in this PR? We've temporarily vendored that |
@juanitosvq absolutely :) I was about to merge it but I noticed that the new parameter is not at the end of the list. |
Good catch @sbraz, pushed that change. |
Thanks! I squashed your commits and committed this, I'll add Python 3.12 to the CI and create a new release soon. |
Hi, do we have an ETA for the next release? Thanks |
Opened an issue here: MediaArea/MediaInfoLib#1899 |
I'm running the CI on this branch right now: https://github.com/sbraz/pymediainfo/tree/python312 |
It's released as v6.1.0. |
(cherry picked from commit e6dc1cb)
We have an issue getting media info from TS files that we are stored in S3. The output is missing certain fields and/or tracks. i.e. Our tracks would not have a
StreamOrder
property, and sometimes theMenu
track would not be returned. I believe it may be due to this open issue in MediaInfo.As a workaround we found that increasing the buffer size in certain cases fixes the issue for the files we've been testing with, so hoping we can make this configurable.
Thanks!