Incorrect LPCM demux play time

Post Reply
DAE avatar
kdantas
Posts: 3
Joined: Sat Oct 29, 2022 7:23 pm

Incorrect LPCM demux play time

Post by kdantas »

Hi, I'm trying to demux a m2ts file with LPCM audio. However, the demuxed file has a shorter playback time than the original file. Could anyone tell me how to solve this problem?

Image

Image

Orginal Mediainfo:
General
Complete name : E:\Videodrome 1983 1080p GBR Blu-ray AVC LPCM 1.0-ESiR\BDMV\PLAYLIST\00003.mpls
Format : Blu-ray Playlist
File size : 426 Bytes
Duration : 1 h 28 min
Overall bit rate mode : Variable
Overall bit rate : 1 b/s

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Codec ID : 27
Duration : 1 h 28 min
Bit rate mode : Variable
Bit rate : 35.0 Mb/s
Maximum bit rate : 38.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.704
Stream size : 21.8 GiB
Writing library : x264 core 128 r2216 198a7ea
Encoding settings : cabac=1 / ref=4 / deblock=0:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=1 / keyint=24 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=0 / bitrate=35000 / ratetol=1.0 / qcomp=0.00 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=28500 / nal_hrd=vbr / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
format_identifier : HDMV
Source : 00004.m2ts

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : PCM
Format settings : Big / Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 1 h 28 min
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 731 MiB
Language : English
format_identifier : HDMV
Source : 00004.m2ts

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 1 h 28 min
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
Stream size : 122 MiB
Language : English
Service kind : Complete Main
bsid : 8
Dialog Normalization : -31
Dialog Normalization : -31 dB
compr : -0.28
compr : -0.28 dB
dsurmod : 1
dsurmod : Not Dolby Surround encoded
acmod : 2
lfeon : 0
dialnorm_Average : -31
dialnorm_Average : -31 dB
dialnorm_Minimum : -31
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31
dialnorm_Maximum : -31 dB
dialnorm_Count : 754
compr_Average : -2.06
compr_Average : -2.06 dB
compr_Minimum : -3.66
compr_Minimum : -3.66 dB
compr_Maximum : -0.56
compr_Maximum : -0.56 dB
compr_Count : 544
format_identifier : AC-3
Source : 00004.m2ts

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 1 h 28 min
Language : English
Source : 00004.m2ts

Menu
00:00:00.000 : Chapter 1
00:05:47.930 : Chapter 2
00:14:07.555 : Chapter 3
00:21:10.852 : Chapter 4
00:27:09.961 : Chapter 5
00:34:16.637 : Chapter 6
00:46:17.107 : Chapter 7
00:52:00.575 : Chapter 8
00:58:21.456 : Chapter 9
01:05:56.202 : Chapter 10
01:13:14.014 : Chapter 11
01:21:05.652 : Chapter 12
01:28:39.022 : Chapter 13
Demuxed LPCM Mediainfo:
General
Complete name : E:\FFMpeg Temp\DG_output PID 1100 eng DELAY 0ms.w64
Format : Wave64
File size : 716 MiB
Duration : 1 h 26 min
Overall bit rate mode : Constant
Overall bit rate : 1 152 kb/s

Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 1 h 26 min
Bit rate mode : Constant
Bit rate : 1 152 kb/s
Channel(s) : 1 channel
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 716 MiB (100%)
Demuxed AC3 Mediainfo:
General
Complete name : E:\FFMpeg Temp\DG_output PID 1101 2.0ch 48KHz 192Kbps eng DELAY 0ms.ac3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
File size : 119 MiB
Duration : 1 h 26 min
Overall bit rate mode : Constant
Overall bit rate : 192 kb/s

Audio
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Duration : 1 h 26 min
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
Stream size : 119 MiB (100%)
Service kind : Complete Main
User avatar
Rocky
Posts: 3555
Joined: Fri Sep 06, 2019 12:57 pm

Incorrect LPCM demux play time

Post by Rocky »

Please provide a link to purchase the disk that shows this issue. I have to be able to duplicate your issue.

Have you tried it with any other demuxer and is the result different?

You can't always trust mediainfo's report about streams in a container. Also, it could be that you have a few seconds of silent video at the start, it is quite common. Anyway, as I said, we need the original disk.
DAE avatar
kdantas
Posts: 3
Joined: Sat Oct 29, 2022 7:23 pm

Incorrect LPCM demux play time

Post by kdantas »

Rocky wrote:
Sun Oct 30, 2022 4:51 am
Please provide a link to purchase the disk that shows this issue. I have to be able to duplicate your issue.

Have you tried it with any other demuxer and is the result different?

You can't always trust mediainfo's report about streams in a container. Also, it could be that you have a few seconds of silent video at the start, it is quite common. Anyway, as I said, we need the original disk.
Thanks @Rocky for the quick response. You can find here https://www.blu-ray.com/movies/Videodro ... ay/140245/ the links to purchase the Videodrome bluray disk. But if you want, I can provide a google drive link for you to download the Bluray disc file that is having a problem extracting the LPCM audio. I've used several extraction/conversion methods and when there is no error, the extracted file is smaller than the original file. I don't know if MediaInfo is showing wrong information, but the file player shows that it has a time of 01:28:39.

Image
User avatar
Rocky
Posts: 3555
Joined: Fri Sep 06, 2019 12:57 pm

Incorrect LPCM demux play time

Post by Rocky »

kdantas wrote:
Sun Oct 30, 2022 7:58 pm
I can provide a google drive link for you to download the Bluray disc file that is having a problem extracting the LPCM audio
Send the link to me in a PM.
User avatar
Rocky
Posts: 3555
Joined: Fri Sep 06, 2019 12:57 pm

Incorrect LPCM demux play time

Post by Rocky »

The downloaded stream is corrupted. You'll have to send me $50 via paypal to buy the original disk and provide further advice. Good luck.
DAE avatar
kdantas
Posts: 3
Joined: Sat Oct 29, 2022 7:23 pm

Incorrect LPCM demux play time

Post by kdantas »

Rocky wrote:
Wed Nov 02, 2022 12:25 pm
The downloaded stream is corrupted. You'll have to send me $50 via paypal to buy the original disk and provide further advice. Good luck.
Are you sure about the audio stream? If the stream is corrupt, I will download a new release for test.
User avatar
Rocky
Posts: 3555
Joined: Fri Sep 06, 2019 12:57 pm

Incorrect LPCM demux play time

Post by Rocky »

Not interested in your downloaded materials.
Post Reply