Skip to content
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

Mediainfo missing tracks, fields when loading TS file from remote source #1899

Open
tsitter-evertz opened this issue Oct 26, 2023 · 3 comments

Comments

@tsitter-evertz
Copy link

tsitter-evertz commented Oct 26, 2023

We have discovered that when using Mediainfo to get metadata on a .ts file, we lose some valuable information if that file is coming from a remote source (in our case an S3 URL) compared to the same file on the local system. In our case we are missing StreamOrder.

Attached are the outputs of the following two commands, showing StreamOrder missing for the remote file and other discrepancies. Please feel free to use the file at the URL below to trying replicating.

mediainfo -f evertz_mediainfo_10min.ts
mediainfo.local.ts.txt

mediainfo -f https://tsitter-public-files.s3.amazonaws.com/evertz_mediainfo_10min.ts
mediainfo.remote.ts.txt

We experimented with the pymediainfo wrapper using different buffer sizes and found that the problem exists if using a 64kB buffer but is resolved with a 128kB buffer for this particular file. We're not sure what to make of that but hoping it's useful information.
pymediainfo_128KB.json
pymediainfo_64KB.json

We tried this out based on an existing issue found here: #1546

I don't have permission to share a .ts file that has the missing Menu, but you can see the output from MediaInfo for local vs remote here:
missing_menu.remote.txt
missing_menu.local.txt

@tsitter-evertz
Copy link
Author

Update: I've been asked to make the S3 bucket I've linked private. Once this ticket is noticed I can provide presigned URLs to access it for testing purposes (if needed).

@JeromeMartinez
Copy link
Member

Once this ticket is noticed I can provide presigned URLs to access it for testing purposes (if needed).

Noticed :-p.
email is info@mediaarea.net

@tsitter-evertz
Copy link
Author

info@mediaarea.net

Sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants