MediaArea / MediaInfoLib

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://mediaarea.net/MediaInfo
BSD 2-Clause "Simplified" License
633 stars 173 forks source link

Bitrate and sample rate have a value of 0 in 32 kHz LPCM stream #628

Open Sami32 opened 7 years ago

Sami32 commented 7 years ago

FFmpeg and VLC display the values correctly. Play fine with VLC, PotPlayer and MPC BE.

Sample: MPEG2_LPCM16_32_2.vob.txt

General
Complete name                            : F:\!MEDIA_TEST_FILES\UMS Video Testing Suite (20150121)\TESTS\MPEG2_LPCM16_32_2.vob
Format                                   : MPEG-PS
File size                                : 17.1 MiB
Duration                                 : 45 s 0 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 191 kb/s

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@High
Format settings, BVOP                    : No
Format settings, Matrix                  : Default
Format settings, GOP                     : N=15
Duration                                 : 45 s 0 ms
Bit rate mode                            : Variable
Bit rate                                 : 3 127 kb/s
Maximum bit rate                         : 9 800 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.060
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Stream size                              : 16.8 MiB (98%)

Audio
ID                                       : 189 (0xBD)-160 (0xA0)
Format                                   : PCM
Format settings                          : Big / Signed
Format settings, Endianness              : Big
Format settings, Sign                    : Signed
Muxing mode                              : DVD-Video
Duration                                 : 44 s 959 ms
Bit rate mode                            : Constant
Bit rate                                 : 0 b/s
Channel(s)                               : 2 channels
Sampling rate                            : 0 Hz
Bit depth                                : 16 bits

Menu
JeromeMartinez commented 7 years ago

0 Hz is definitely not possible :). thanks for report, I try to fix that not too late.