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

Video Stream Size incorrectly calculated. Sometimes larger than the file size itself. #392

Open
iSAWaUFO opened this issue Nov 6, 2019 · 1 comment

Comments

@iSAWaUFO
Copy link

iSAWaUFO commented Nov 6, 2019

Sometimes, a video stream size will be erroneously reported by the 'mediainfo -fullscan' (MacOS 10.14.5, Homebrew installation)
$ mediainfo --version
MediaInfo Command line,
MediaInfoLib - v19.09

In this example, the size of the file is ~152.2MB
but the size of the video stream is reported as ~419.9MB. That can't be correct!
$ ls -l
-rw-r--r--@ 1 ufo staff 152238289 Aug 21 22:33 video_stream_size_testcase.mkv

mediainfo -fullscan video_stream_size_testcase.mkv | grep 'Steam size'
Stream size : 419986088 (over 2.7x the size of the MKV file!)

Here is a test file, which exhibits the bug:
https://my.pcloud.com/publink/show?code=XZqfqo7ZAw3kHg5XtohxsUVnI9hHQzNDieo7

@iSAWaUFO iSAWaUFO changed the title Video Stream Size can be reported as larger than actual file size Video Stream Size incorrectly calculated. Sometimes larger than the file size itself. Dec 4, 2019
@iSAWaUFO
Copy link
Author

iSAWaUFO commented Feb 9, 2020

I'm wondering if the problem may actually be with metadata embeded by the writing library,
Writing library : x265 - 2.3:[Windows][GCC 6.3.0][64 bit] 8bit
because if I remux the testcase video through MKVToolNix GUI v43.0.0 and check mediainfo -full of the remuxed video, the Video stream size reports a reasonable 124 MiB.
[I don't know if there's metadata for the stream size embedded in video of it it's entirely measured by the mediainfo utility.]

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

1 participant