VSX9 oddity with Duration, Total Frames and Frame rate

Moderator: Ken Berry

Post Reply
WarpObscura
Posts: 5
Joined: Mon Jan 12, 2009 3:49 pm

VSX9 oddity with Duration, Total Frames and Frame rate

Post by WarpObscura »

When I attempted to import a video file to VSX9 (19.7.0.12 64bit Ultimate), I got as its Properties a Duration of 1.704 seconds, Frame rate of 90,000 fps and Total frames being 153,342 frames.

The strange thing is that when I hover over the file in the import dialogue box, the Length correctly displays as 1+ hour.

The file in question is a downloaded MP4.
H.264 High Profile Video
24 bits, 1920 x 1080, 16:9
Data rate: 2654 Kbps
MPEG AAC Audio
306,990,080 Samples
48,000 Hz, 16 Bit, Stereo
Bit rate: 241 Kbps

File size: 2.16 GB - Could this be the problem? Does X9 have problems working with video past a certain file size? I have successfully imported and edited ~1 GB video.

No error messages were generated.

Split by Scene scan confirmed the above: 153,342 frames, Duration of 00:00:01:63342.

Video file in question has been successfully run using Films & TV, MPC-HC 64bit, Windows Media Player without issue, playing for the correct length of time.
User avatar
aljimenez
Posts: 1107
Joined: Fri Dec 17, 2004 11:17 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell Inc. A08 4.16.2014
processor: IntelCore i7-4790 3.60GHz 4Cores 8 Logical Proc
ram: 24GB
Video Card: AMD Radeon R9 270
sound_card: AMD High Definition Audio
Hard_Drive_Capacity: 500SSD+2TB
Monitor/Display Make & Model: Three monitors, all Dell brand, one 4K
Corel programs: Visual Studio, Paintshop
Location: San Luis Obispo, CA, USA

Re: VSX9 oddity with Duration, Total Frames and Frame rate

Post by aljimenez »

Hmmm. never had this experience, so I am going to give you some ideas. It seems this could be a bug, and I wonder if X10 handles this file.

An idea is to split the file in the middle and see if the properties of each piece now are stated correctly.
User for more than 10 years.
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: VSX9 oddity with Duration, Total Frames and Frame rate

Post by Ken Berry »

I agree that it sounds very odd. VS X9 (and other versions) would normally have any difficulty with a file that size or larger.

In the VS Preferences > General, have you ticked the box beside "Show message when inserting first video clip into timeline"? If so, and with a New Project, did you get the message asking if you wanted the Project Properties to match those of the clip? If so, did you OK that and are the Project Properties the same as the VS false Properties or the same as your legitimate Properties?

Have you tried to output a new clip using your correct Properties as the settings? If so what did that produce?

The only other thing I can think of for the moment would be to use a third party video conversion program such as Handbrake to produce a new mpeg-4 from you video and see if VS then gives correct Properties for the new video.
Ken Berry
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: VSX9 oddity with Duration, Total Frames and Frame rate

Post by canuck »

WarpObscura,

could you post the link to the file so we can download and test it?

Could you download MediaInfo and use it to check the files properties? It is much more "reliable" then VS.
WarpObscura
Posts: 5
Joined: Mon Jan 12, 2009 3:49 pm

Re: VSX9 oddity with Duration, Total Frames and Frame rate

Post by WarpObscura »

aljimenez wrote:Hmmm. never had this experience, so I am going to give you some ideas. It seems this could be a bug, and I wonder if X10 handles this file.

An idea is to split the file in the middle and see if the properties of each piece now are stated correctly.
It still gives the ~1 second to both, I'm afraid.
Ken Berry wrote:I agree that it sounds very odd. VS X9 (and other versions) would normally have any difficulty with a file that size or larger.

In the VS Preferences > General, have you ticked the box beside "Show message when inserting first video clip into timeline"? If so, and with a New Project, did you get the message asking if you wanted the Project Properties to match those of the clip? If so, did you OK that and are the Project Properties the same as the VS false Properties or the same as your legitimate Properties?

Have you tried to output a new clip using your correct Properties as the settings? If so what did that produce?

The only other thing I can think of for the moment would be to use a third party video conversion program such as Handbrake to produce a new mpeg-4 from you video and see if VS then gives correct Properties for the new video.
Did you mean "would not normally"?? Would you know where else I can get open source GB+ size video so I can test whether file size might be a factor?

Yes, I did tick. I got that message. When I OKed it, it gave me the false properties.

When I tried to output using the correct properties, it still gave me ~1 second Duration, but the Total frames reflected ~40 instead of the original 150k+.

Will try Handbrake and get back to you on this.
canuck wrote:WarpObscura,

could you post the link to the file so we can download and test it?

Could you download MediaInfo and use it to check the files properties? It is much more "reliable" then VS.
Sorry, it contains private content, so it's not mine to share. :(

MediaInfo findings:

General
Complete name : {Redacted}
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/iso2/avc1/mp41)
File size : 2.16 GiB
Duration : 1 h 46 min
Overall bit rate mode : Variable
Overall bit rate : 2 902 kb/s
Encoded date : UTC 2017-08-06 10:48:15
Tagged date : UTC 2017-08-06 10:48:15
Writing application : HandBrake 20161112211105-7611df7-master 2016111301

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 h 46 min
Bit rate : 2 654 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.053
Stream size : 1.98 GiB (91%)
Writing library : x264 core 148 r2705 3f5ed56
Encoding settings : cabac=1 / ref=4 / deblock=1:1:1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=25000 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.60
Encoded date : UTC 2017-08-06 10:48:15
Tagged date : UTC 2017-08-06 10:48:15
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 1 h 46 min
Bit rate mode : Variable
Bit rate : 241 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 184 MiB (8%)
Title : Stereo / Stereo
Language : Japanese
Default : Yes
Alternate group : 1
Encoded date : UTC 2017-08-06 10:48:15
Tagged date : UTC 2017-08-06 10:48:15
MrJohnny
Posts: 206
Joined: Fri Sep 30, 2016 8:48 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC. RAMPAGE V EXTREME
processor: 3.00 gigahertz Intel Core i7-5960X
ram: 32GB
Video Card: NVIDIA GeForce GTX 960
sound_card: onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: ASUS VH226
Corel programs: VS X5 Ult, VS X6 Ult, VS X9Ult,VS X10Ult

Re: VSX9 oddity with Duration, Total Frames and Frame rate

Post by MrJohnny »

Hi

The MediaInfo shows a variable FRAME rate. This very likely the cause of the problem. Convert to fixed FRAME rate using Handbrake.

John
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: VSX9 oddity with Duration, Total Frames and Frame rate

Post by Ken Berry »

Yes, I noticed the variable frame rate too. Do you know if the video was taken on a modern smartphone, as they seem to like using variable frame rates -- though the length of the video suggests it might have been a different type of camera. Video Studio has difficulty handling them, preferring fixed frame rates which conform to international video standards.

And yes, I meant to say "not", above. Many of us here regularly edit files which are larger than that.
Ken Berry
WarpObscura
Posts: 5
Joined: Mon Jan 12, 2009 3:49 pm

Re: VSX9 oddity with Duration, Total Frames and Frame rate

Post by WarpObscura »

MrJohnny wrote:Hi

The MediaInfo shows a variable FRAME rate. This very likely the cause of the problem. Convert to fixed FRAME rate using Handbrake.

John
Ken Berry wrote:Yes, I noticed the variable frame rate too. Do you know if the video was taken on a modern smartphone, as they seem to like using variable frame rates -- though the length of the video suggests it might have been a different type of camera. Video Studio has difficulty handling them, preferring fixed frame rates which conform to international video standards.

And yes, I meant to say "not", above. Many of us here regularly edit files which are larger than that.
Yup, converting to fixed frame rate let it work just fine! Thank you for the suggestion!
Post Reply