MediaInfoLib icon indicating copy to clipboard operation
MediaInfoLib copied to clipboard

Results differ between Installed and online versions

Open Just-Curious opened this issue 4 years ago • 10 comments

Download file here

Online:

File size : 219 MiB Duration : 20 min 47 s Overall bit rate mode : Variable Overall bit rate : 1 476 kb/s Maximum Overall bit rate : 48.0 Mb/s

Installed:

File size : 8.69 GiB Duration : 32 s 190 ms Overall bit rate mode : Variable Overall bit rate : **2 318 Mb/s

** Maximum Overall bit rate : 48.0 Mb/s

Just-Curious avatar Jun 03 '20 22:06 Just-Curious

The file is not downloadable. My first idea is that the file is with a number in its file name, and a sequence of files is detected, and the sequence is considered as a whole (a program). mediainfo --File_TestContinuousFileNames=0 on command line for disabling it, not yet available in GUI.

JeromeMartinez avatar Jun 04 '20 09:06 JeromeMartinez

@JeromeMartinez It is downloadable, I managed to download it. But, I had to sign in to "Microsoft" first, and then select download when the "online player" shows.

The filename is 00000.m2ts which gives some credence to your theory.

Nadahar avatar Jun 04 '20 10:06 Nadahar

@JeromeMartinez It is downloadable, I managed to download it. But, I had to sign in to "Microsoft" first, and then select download when the "online player" shows.

The filename is 00000.m2ts which gives some credence to your theory.

I forgot to mention that I'm using MediaInfo 20.03 on Windows 10 Pro 64-bit.

I'm a little confused about the file. Originally, I uploaded the 00000.m2ts but then it was not downloadable. I zipped it and uploaded that, changed the link, and that worked. That was done within a few minutes of the first posting, so I don't understand how the .m2ts is being presented?

Just-Curious avatar Jun 04 '20 13:06 Just-Curious

@Just-Curious I really don't know, I was just curious and clicked the link, logged in to my Microsoft account and met a "player" that said that the file couldn't be played. Up in the left part of the screen there was a "download" button which I clicked, and the file downloaded. I used Firefox, in case that is relevant.

Nadahar avatar Jun 04 '20 13:06 Nadahar

If it helps:

$ mediainfo /mnt/c/Users/kiera/Downloads/00000.m2ts
General
ID                                       : 0 (0x0)
Complete name                            : /mnt/c/Users/kiera/Downloads/00000.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 219 MiB
Duration                                 : 20 min 47 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 476 kb/s
Maximum Overall bit rate                 : 48.0 Mb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=4, N=30
Codec ID                                 : 27
Duration                                 : 20 min 47 s
Bit rate mode                            : Variable
Bit rate                                 : 1 216 kb/s
Maximum bit rate                         : 20.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 084 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.020
Stream size                              : 181 MiB (82%)

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 20 min 47 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -33 ms
Stream size                              : 28.5 MiB (13%)
Service kind                             : Complete Main


kieranjol@DESKTOP-3PT8IBE:~$ mediainfo --version
MediaInfo Command line,
MediaInfoLib - v20.03.20200603

kieranjol avatar Jun 04 '20 14:06 kieranjol

@JeromeMartinez It is downloadable, I managed to download it. But, I had to sign in to "Microsoft" first, and then select download when the "online player" shows. The filename is 00000.m2ts which gives some credence to your theory.

The file was in a Blu-ray STREAM folder along with over 40 others sequentially numbered. That has been deleted. A different one I made since does not exhibit the problem:

Blu-rayStream

If I come across this again, I'll go a little more slowly!

Just-Curious avatar Jun 04 '20 14:06 Just-Curious

I recreated the Blu-ray structure (8 GB) and it exhibits the same incorrect behavior. I copied the 00000.m2ts and pasted it elsewhere and the MediaInfo data were correct.

Just-Curious avatar Jun 04 '20 17:06 Just-Curious

Since I'm JustCurious, I made a smaller Blu-ray project with 36 small identical videos: Blu-ray structure with 36 identical .m2ts files in the STREAM folder {~700 MB. It exhibits the issue.

I copied the STREAM folder files to another folder and found after a little experimenting that if the files beyond 00022.m2ts are deleted, the error vanishes; if one of the other files is added to the folder, up jumps the devil!

Enough?

Just-Curious avatar Jun 04 '20 22:06 Just-Curious

@Just-Curious the algo is checking a sequence of 25 files with consecutive file names. The online version can not load other files in the directory (limitation of the API), so the difference is expected. The behavior is the one

I plan to add a test for e.g. detecting that it is e.g. a blu-ray structure not expected to be a sequence.

JeromeMartinez avatar Jun 06 '20 09:06 JeromeMartinez

@JeromeMartinez I'm not at all familiar with sequential videos, etc., so, until next time!

Just-Curious avatar Jun 06 '20 20:06 Just-Curious