-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSC info in custom video mode at 1080i50 goes twice as fast / decklink doesn't support 'new' time-scale #1588
Comments
Which field is it in the osc that looks wrong? Some changes might be expected, as the after that change a 50i channel is running at 25hz, producing 2 frames each tick |
The Timecode /countdown for the video remaining time is what goes twice as fast. As a result a video on LOOP will jump the loop in the middle of the video instead of at the end. |
I'm still not sure what field you are referring to. This is the osc I am getting each tick: Which all looks correct. AMB is 10.7s long, and is taking 10.7 seconds to play through and loop. This is with the config:
|
I just tested this on the newer 2.5.0 895a5a0 Dev and it is still present if you set the time-scale at 50000. Setting the time-scale at 25000 (as video_format.cpp says now) it also says "Decklink does not support the channel format" I can see how AMB might not be the best test video for this, being an endless loop with no time-marks or visual cues. The behaviour is different between a normal 1080i50 channel (it reaches the end of the video) and a custom res. at 50i (it reaches only the middle point even if OSC info says it reached the end). The screenshots are all for the last frame displayed |
huh, so trying this with some more clips, it seems to be a bit random that some clips will have this issue, but not all of them. |
Oh that does sound like fun! I confirmed that AMB plays correctly (took me a while to find a link for 2.0.7...) , then I tried to find a different video from my collection that would also play normally but no luck. Note that if you don't add a decklink and set the time-scale at 25000 they all behave normally. |
my testing today has been without a decklink, with no consumers attached in fact. |
ah I found the issue. your cadence value is invalid. It is expecting a comma or space separated array of numbers. And that reveals thy some clips are fine and some not. amb and cg1080i50_a which play fine have no audio tracks. go1090p25 and cg1080i50 have audio tracks. I did intend to have some logic checking the cadence looked sane, but I think I didn't figure out the rule.. |
d41402f will now cause it to refuse to start if the cadence values are very wrong like this (ie, won't result in exactly 48000 samples a second) I think this is all that can be done on this |
Thanks a lot, So the correct way of setting a 50i cadence is |
No, simply |
Observed Behavior
When creating a custom video mode we have to specify the time-scale like this:
A couple years ago we gathered the info from here to create new ones, so when making a 1080i50 channel we set the time-scale to 50000.
I noticed that the OSC countdown was going twice as fast as it should, so I checked and I saw that after #1440 the time-scale of a 1080i50 channel changed to 25000.
I tried to update it in the config but the Decklink 8K Pro card throws an error.
Environment
The text was updated successfully, but these errors were encountered: