Incorrect duration for 4K video

Moderator: Ken Berry

User avatar
charliecroco
Posts: 11
Joined: Sat Feb 09, 2019 3:14 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: IntelCore I7 4930K 3.40 GHz
ram: 16 Gb
Video Card: GeForce GTX 1070
sound_card: RealTek High Definition Audio
Hard_Drive_Capacity: 3 To
Monitor/Display Make & Model: Samsung LU28E85KRS (3840x2160)
Corel programs: Video Studio pro X9

Incorrect duration for 4K video

Post by charliecroco »

Hello,

Do you have the same error : when creating video file choosing (sorry it is in french but can easily be understood)
  • Fichiers MPEG Flux de transport
    24 Bits, 3840 x 2160, 50 ips
    basé sur trame
    (HDMV-PAL), 16:9
    Vidéo H.264
    Taux de données vidéo : Variable (Max. 65000 kbps)
    Débit de données audio : 384 kbps
    Audio Dolby numérique, 48 KHz, 3/2(L,C,R,SL,SR)
the duration of this file (as reported by Windows or MediaInfo) is incorrect (3 or 4 times bigger than in reality).

Do you have the same bug using VS 9 Pro?
Thank you

CD
tletter
Posts: 1278
Joined: Thu Jul 16, 2015 12:23 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3632QM
ram: 16GB
Video Card: NVIDIA RTX 3080
Hard_Drive_Capacity: 1TB
Corel programs: X4,X5,X6,X7,X8,X9,X10,2018,2019,2021
Location: Canada

Re: Incorrect duration for 4K video

Post by tletter »

charliecroco wrote:the duration of this file (as reported by Windows or MediaInfo) is incorrect (3 or 4 times bigger than in reality).
Are you saying that a clip of say 1 minute duration is rendered out as 4 minutes duration? Have you changed the clip's speed? In any event, you haven't included any information about the duration of the source clip; the duration of the rendered output; and what filters/effects you applied.

tletter
https://www.youtube.com/user/tletter
User avatar
charliecroco
Posts: 11
Joined: Sat Feb 09, 2019 3:14 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: IntelCore I7 4930K 3.40 GHz
ram: 16 Gb
Video Card: GeForce GTX 1070
sound_card: RealTek High Definition Audio
Hard_Drive_Capacity: 3 To
Monitor/Display Make & Model: Samsung LU28E85KRS (3840x2160)
Corel programs: Video Studio pro X9

Re: Incorrect duration for 4K video

Post by charliecroco »

No, the clip resulting from VS work is really one minute but Windows and MediaInfo tell that it is more than 3 minutes.
Maybe it's a bug of MediaInfo (and Windows), maybe it's a bug of VS.
MPC HC give the right duration and is able to read the file. VLC give the incorrect duration and is unable to read this file.

CD
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: Incorrect duration for 4K video

Post by canuck »

Can you post the properties as shown by Windows or MediaInfo

What is MPC HC?
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Incorrect duration for 4K video

Post by Ken Berry »

canuck wrote:What is MPC HC?
Media Player Classic Home Cinema.
Ken Berry
User avatar
charliecroco
Posts: 11
Joined: Sat Feb 09, 2019 3:14 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: IntelCore I7 4930K 3.40 GHz
ram: 16 Gb
Video Card: GeForce GTX 1070
sound_card: RealTek High Definition Audio
Hard_Drive_Capacity: 3 To
Monitor/Display Make & Model: Samsung LU28E85KRS (3840x2160)
Corel programs: Video Studio pro X9

Re: Incorrect duration for 4K video

Post by charliecroco »

MPC HC is a soft for video reading, as VLC.
I have to find how to send a PDF file showing MediaInfo information about this kind of file.
Just a short time.
Thank you
CD
User avatar
charliecroco
Posts: 11
Joined: Sat Feb 09, 2019 3:14 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: IntelCore I7 4930K 3.40 GHz
ram: 16 Gb
Video Card: GeForce GTX 1070
sound_card: RealTek High Definition Audio
Hard_Drive_Capacity: 3 To
Monitor/Display Make & Model: Samsung LU28E85KRS (3840x2160)
Corel programs: Video Studio pro X9

Re: Incorrect duration for 4K video

Post by charliecroco »

Here is a pdf with information from MediaInfo :
- about the file from the camcorder
- about two files as created by VS; one with a choice of 50 pps, the other with 25 pps.
These information are in french (my language) but they can be easily understood.
I also have the files themselves but too big to be sent.

Thank you

CD
Attachments
essai engl.pdf
(243 KiB) Downloaded 210 times
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Incorrect duration for 4K video

Post by Ken Berry »

For Media Info, just Export as Text (Click on File > Export, and choose the Text tab in the dialogue box which appears.) Then go to the text file and simply copy and paste in in your reply. No need to make a PDF of it.

EDIT: But I now see that your PDF contains comparative lists of properties, so PDF is a good format for that...

Unfortunately, I have never worked with XAVC format video. I note, however, that in your original video from the camcorder, the Average Bit Rate (Débit global moyen) is given as 56.3 Mbps, whereas in the Corel properties the average is shown as 15.8 Mbps (with a maximum of 48 Mbps) in both 50 and 25 fps modes. In other words, the Corel files use a bitrate which is roughly 1/4 or a quarter of the maximum bitrate (60 Mbps) shown for your original bitrate.

But I have no idea how Media Info (or VLC) work or why they come up with that very different duration based on a similar factor of nearly four times the original. And if Video Studio shows a duration which you can test by simply playing the clip and timing it with your watch, then I would not be worrying too much about the Media Info duration -- though I can understand why you are puzzled! :cry: :roll:
Ken Berry
User avatar
charliecroco
Posts: 11
Joined: Sat Feb 09, 2019 3:14 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: IntelCore I7 4930K 3.40 GHz
ram: 16 Gb
Video Card: GeForce GTX 1070
sound_card: RealTek High Definition Audio
Hard_Drive_Capacity: 3 To
Monitor/Display Make & Model: Samsung LU28E85KRS (3840x2160)
Corel programs: Video Studio pro X9

Re: Incorrect duration for 4K video

Post by charliecroco »

It's normal that the Average Bit Rate reported is incorrect, because the duration is incorrect. To get the true ABR you divide the size of the file by the true duration. And doing that you can see that the Average Bit Rate is close to the Maximum Bit Rate.
So, the only problem is the incorrect duration of the file.
weaver
Posts: 523
Joined: Fri Jun 08, 2007 7:24 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
processor: intel i7
ram: 16GB
Video Card: nvidia Ge Force GF 550 Ti
sound_card: C.Media
Hard_Drive_Capacity: 20TB
Monitor/Display Make & Model: FULL HD
Corel programs: VS S6,8,10 on W XP, VS X4,6,7,2018
Location: Austria

Re: Incorrect duration for 4K video

Post by weaver »

Hi Ken

I do not know where did you get the ABR ( as Average Bit Rate), I think there is a problem as the ABR means probably in this case a new encoding technology Adaptive Bit Rate. The ABR ( adaptive BR) can be closer to the detected average bit rate of 15.8 Mbps but the decoding process is different from the former common decoding processes.

https://en.m.wikipedia.org/wiki/Adaptiv ... _streaming
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Incorrect duration for 4K video

Post by Ken Berry »

weaver wrote:I do not know where did you get the ABR ( as Average Bit Rate), I think there is a problem as the ABR means probably in this case a new encoding technology Adaptive Bit Rate.
I got it from the French version of Media Info in charliecroco's attached PDF. It uses the French term "Débit Global Moyen" which in the English version of Media Info shows as "Average Bit Rate" (with the French "moyen" translating as it usually does either "middle" or "average").

I confess I have never before heard of Adaptive Bitrate, so thanks for drawing it to my attention. But I don't know what the French equivalent might be as a result -- though I suspect it will not be "Débit Global Moyen"...
Ken Berry
weaver
Posts: 523
Joined: Fri Jun 08, 2007 7:24 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
processor: intel i7
ram: 16GB
Video Card: nvidia Ge Force GF 550 Ti
sound_card: C.Media
Hard_Drive_Capacity: 20TB
Monitor/Display Make & Model: FULL HD
Corel programs: VS S6,8,10 on W XP, VS X4,6,7,2018
Location: Austria

Re: Incorrect duration for 4K video

Post by weaver »

I stopped also only because the average bitrate ( if this expression is correct from the French description) was strange to me with about 56 Mbps, the maximum was 60 Mbos ( stated also in the same document) while the Bitrate ( Debit) was defined to 54 Mbps.
Definitively the XAVC requires a special codec ( I do not know if Corel support this) and I do not think that the speed drop to 15 Mbps ( in the VS specification) will really bring the original performace ( in the VS AVCHD the steam is between 15-48 Mbps at least according to this description.)

Here is complete spec of XAVC and on the end there is a list of supporters of this format. Corel is not on the list. The list can be also out of date :-(

http://www.xavc-info.org/xavc/share/dat ... Rev2_2.pdf

Eugen
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Incorrect duration for 4K video

Post by lata »

Hi
Just reading through the posts and I am a little confused
The original post seems to indicate a Transport Stream type of video, (blueray compliant) I assume the file extension to be MTS type, m2ts etc, the post does not show that?
Yet the PDF (clip from Sony Camcorder) shows the file to be MP4

Is this the same file or are there two files, just does not seem to add up?
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
weaver
Posts: 523
Joined: Fri Jun 08, 2007 7:24 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
processor: intel i7
ram: 16GB
Video Card: nvidia Ge Force GF 550 Ti
sound_card: C.Media
Hard_Drive_Capacity: 20TB
Monitor/Display Make & Model: FULL HD
Corel programs: VS S6,8,10 on W XP, VS X4,6,7,2018
Location: Austria

Re: Incorrect duration for 4K video

Post by weaver »

The XAVC is also one kind of MP4 (H264) format. Unfortunately there are already too many subformats in MP4.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Incorrect duration for 4K video

Post by lata »

That may be so, but those properties look identical to the ones I use as mts transport stream
Other than being in French, they do not look like MP4

Just wondering if there has been some mix up here
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Post Reply