VGetAssetDuration returning incorrect video length

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

VGetAssetDuration returning incorrect video length

Postby akulhavy » Mon Oct 23, 2017 10:38 pm

Hello,

I am trying to use VGetAssetDuration (HMS, HMSF, or TotalFrames variety) however all returned times are rounded down to the nearest second. I.E. a 30fps 00:00:59:29 long file is reported as 00:00:59:00.

Looking at the .wdpj file in notepad it looks like the incorrect data is being stored in the "PBA": section - the entry for the same file 00:00:59:29 file is below:

"11": {
"ID": 11,
"FolderID": -1,
"FileID": -1,
"ProjectPath": "testproject\\Themes\\theme1.mov",
"FileName": "testproject\\Themes\\theme1.mov",
"LengthHMS": "00:00:59",
"LengthHMSF": "00:00:59:00",
"DurationTotalSeconds": 59,
"DurationTotalFrames": 1770.0,
"ThumbnailPath": "C:\\Program Files\\Christie\\Widget Designer 6.0 Rev 6800/Data/Thumbnails/Cache/172.27.106.13/11.png",
"Width": 3840,
"Height": 2160,
"FPS": 30.0
},

The file lengths are reported correctly in the inspector in Pandoras Box.

Could I be doing something wrong? Could there be an issue in PbProjectRefresh?

OS is Win 8.1, I'm getting the same results on Widget 6322 and 6800.

Thanks,
Andy
akulhavy
 
Posts: 1
Joined: Tue Aug 20, 2013 7:28 pm

Re: VGetAssetDuration returning incorrect video length

Postby Yvonne Groetzschel » Tue Oct 24, 2017 2:22 pm

Hi Andy,

yes, you're right. Unfortunately these commands don't return the correct frame value.
It's the same behaviour as in WD 4.7. I added this issue to our bug list, thanks for reporting!

Cheers,
Yvonne
Yvonne Groetzschel
 
Posts: 65
Joined: Mon Dec 01, 2014 2:10 pm


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 13 guests

cron