Can't get Cineform clips to work in 11

Comments

diverG wrote on 11/2/2011, 6:12 AM
Simple test using HDV file.
Capture using HDVSplit; 16:9 display par 1.3
Convert to avi using neoscene 5.5.4 par now 1
Capture same clips using neoscene par still 1

Neoscene clips on timeline set 'HDV 1080-50i (1440x1080,25.000fps)'
Clips display with black bands either side of clip.

Not convinced the problem has been fixed.
If it is fixed what am i doing wrong in VP11(latest). These clips display correctlty in VP10.
Should I re install neoscence?

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18

 

JJKizak wrote on 11/2/2011, 7:29 AM
diverG:
Same thing happens to me with Cineform clips.
JJK
Serena wrote on 11/2/2011, 7:54 AM
If you have converted HDV to a pixel ratio of 1.0, then you don't want to tell Vegas that the pixels are 1.3:1.
Laurence wrote on 11/2/2011, 10:22 AM
> A quick test of VP11 (32) with Neo clips is fine. However not an arduous test.

My problem is that if I put a projects worth of clips on a V10 or V11 timeline, I get constant crashing. A clip or two is fine. A full project's worth of Cineform clips equals constant crashing.
diverG wrote on 11/2/2011, 12:27 PM
Serena "If you have converted HDV to a pixel ratio of 1.0, then you don't want to tell Vegas that the pixels are 1.3:1."

If I start with HDV.m2t files they load onto the timeline and show as 16:9 clips.
timeline matched to source.

Now using Cineform (Neoscene 5.5.4) I elect to convert the clips to avi. In Prefs the radio button 'Output frame format' Maintain source frame format is checked.
Using VP10 I pull the avi's into project media and they look 16:9. Using 'match media' confirms 1.333 par.

Repeat this exercise with VP11. The clips look 4:3 in project media and 'match media' confirms a par of 1.

Essentially match media gives differnt answers depending whether one uses VP10 or VP11.

Either I'm having a senior moment of VP11 is defective.

Geoff

Edit: Have uninstalled Cineform and cleaned registry as per instruction from Cineform. reinstalled and re activated.
VP10 good VP11 still bad.

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18

 

MRe wrote on 11/2/2011, 2:39 PM
diverG: same thing here. So probably we both are retarded OR Vegas 11 is broken.

Given chance, I'll choose the latter. Dunno which one would be easier to fix, though.

Anyway, if you go to event pan/crop and deselect the "maintain aspect ratio" everything is pukka. Except the pan/crop-display which is compressed.

Haven't tested the output (i.e. render), would it correct the situation but I doubt it. And if you make the fix described above I think that Vegas will then re-render each and every event, even if there are no other fx's.
diverG wrote on 11/2/2011, 7:02 PM
Raised tickets with Cineform & Sony

Cineform reply as follows.
HDV is 1440x1080 1.333 pixel aspect ratio. NeoScene will only convert it in that native resolution, so that's all normal.

You're saying Vegas 11 is treating the files differently than Vegas 10? If so, you should ask Sony about this. Its common for there to be bugs like this in their first build of a new version. As far as Cineform is concerned, Sony doesn't get Vegas working properly until build b, c or even d! Hopefully they have a VP11.0b around the corner. In any case, you need to take this issue to them. We don't do anything in Vegas any more. As a licensee of our SDK and codec, Sony does all their own integration of CineForm files at this point.
************************************************************************
Guess we must wait upon Sony for a fix.

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18

 

Serena wrote on 11/3/2011, 1:44 AM
Unticking "maintain aspect ratio" in clip properties also fixes it. I would have thought that telling the system that the clip has square pixels of 1440x1080 would produce just the image that VP11 is putting up, so perhaps the puzzle is how previous versions worked out the intended AR.
JJKizak wrote on 11/3/2011, 5:25 PM
So if I have 100 Cineform clips I have to click 100 times? Bummer.
JJK
johnmeyer wrote on 11/3/2011, 5:45 PM
So if I have 100 Cineform clips I have to click 100 times? Bummer.Select all 100 events. Then, run this script.
// "Match Output Aspect" on all selected video events.
// No selection = ALL

import System.Windows.Forms;
import Sony.Vegas;

var zero : int = 0;

function GetSelectionCount (mediaType)
{
var cTracks = Vegas.Project.Tracks.Count;
var cSelected = zero;
var ii;

for (ii = zero; ii < cTracks; ii ++)
{
var track = Vegas.Project.Tracks[ii];

if (track.MediaType == mediaType)
{
var eventEnum : Enumerator = new Enumerator(track.Events);

while ( ! eventEnum.atEnd() )
{
if (eventEnum.item().Selected)
{
cSelected ++;
}

eventEnum.moveNext();
}
}
}

return cSelected;
}

function GetActiveMediaStream (trackEvent : TrackEvent)
{
try
{
if ( ! trackEvent.ActiveTake.IsValid())
{
throw "empty or invalid take";
}

var media = Vegas.Project.MediaPool.Find (trackEvent.ActiveTake.MediaPath);

if (null == media)
{
throw "missing media";
}

var mediaStream = media.Streams.GetItemByMediaType (MediaType.Video, trackEvent.ActiveTake.StreamIndex);

return mediaStream;
}
catch (e)
{
//MessageBox.Show(e);
return null;
}
}

function MatchOutputAspect (keyframe : VideoMotionKeyframe, dMediaPixelAspect : double, dAspectOut : double)
{
var keyframeSave = keyframe;

try
{
var rotation = keyframe.Rotation;

// undo rotation so that we can get at correct aspect ratio.
//
keyframe.RotateBy (-rotation);

var dWidth = Math.abs(keyframe.TopRight.X - keyframe.TopLeft.X);
var dHeight = Math.abs(keyframe.BottomLeft.Y - keyframe.TopLeft.Y);
var dCurrentAspect = dMediaPixelAspect * dWidth / dHeight;
var centerY = keyframe.Center.Y;
var centerX = keyframe.Center.X;

var dFactor;

var bounds = new VideoMotionBounds(keyframe.TopLeft, keyframe.TopRight, keyframe.BottomRight, keyframe.BottomLeft);

if (dCurrentAspect < dAspectOut)
{
// alter y coords
dFactor = dCurrentAspect / dAspectOut;

bounds.TopLeft.Y = (bounds.TopLeft.Y - centerY) * dFactor + centerY;
bounds.TopRight.Y = (bounds.TopRight.Y - centerY) * dFactor + centerY;
bounds.BottomLeft.Y = (bounds.BottomLeft.Y - centerY) * dFactor + centerY;
bounds.BottomRight.Y = (bounds.BottomRight.Y - centerY) * dFactor + centerY;
}
else
{
// alter x coords
dFactor = dAspectOut / dCurrentAspect;

bounds.TopLeft.X = (bounds.TopLeft.X - centerX) * dFactor + centerX;
bounds.TopRight.X = (bounds.TopRight.X - centerX) * dFactor + centerX;
bounds.BottomLeft.X = (bounds.BottomLeft.X - centerX) * dFactor + centerX;
bounds.BottomRight.X = (bounds.BottomRight.X - centerX) * dFactor + centerX;
}

// set it to new bounds
keyframe.Bounds = bounds;

// restore rotation.
keyframe.RotateBy (rotation);

}
catch (e)
{
// restore original settings on error
keyframe = keyframeSave;
MessageBox.Show("MatchOuput: " + e);
}
}


var dWidthProject = Vegas.Project.Video.Width;
var dHeightProject = Vegas.Project.Video.Height;
var dPixelAspect = Vegas.Project.Video.PixelAspectRatio;
var dAspect = dPixelAspect * dWidthProject / dHeightProject;
var cSelected = GetSelectionCount (MediaType.Video);


var cTracks = Vegas.Project.Tracks.Count;
var ii;

for (ii = zero; ii < cTracks; ii ++)
{
var track = Vegas.Project.Tracks[ii];

if (! track.IsVideo())
{
continue;
}

var eventEnum : Enumerator = new Enumerator(track.Events);

while ( ! eventEnum.atEnd() )
{
var trackEvent : TrackEvent = eventEnum.item();

if ( !cSelected || trackEvent.Selected )
{
var mediaStream = GetActiveMediaStream (trackEvent);

if (mediaStream)
{
var videoStream = VideoStream (mediaStream);

var dMediaPixelAspect = videoStream.PixelAspectRatio;
var videoEvent = VideoEvent(eventEnum.item());
var keyframes = videoEvent.VideoMotion.Keyframes;

var cKeyframes = keyframes.Count;
var jj;

for (jj = zero; jj < cKeyframes; jj ++)
{
MatchOutputAspect (keyframes[jj], dMediaPixelAspect, dAspect);
}
}
}

eventEnum.moveNext();
}
}


Vegas.UpdateUI();



Marc S wrote on 11/3/2011, 6:56 PM
Sony support for Cineform is pretty bad. We've been going these issues every new version and they never got it working completely in Vegas 10 either.
MRe wrote on 11/4/2011, 2:55 AM
Marc_S: amen to that.

What if we turn this around: do we need Cineform anymore? I mean if it is either Vegas or Cineform, which one to choose?
ushere wrote on 11/4/2011, 3:01 AM
.mxf....
diverG wrote on 11/4/2011, 7:59 AM
Thanks John, much appreciated.


Geoff

Sys 1 Gig Z-890-UD, i9 285K @ 3.7 Ghz 64gb ram, 250gb SSD system, Plus 2x2Tb m2,  GTX 4060 ti, BMIP4k video out. Vegas 19 & 122(194), Edius 8.3WG and DVResolve19 Studio. Win 11 Pro. Latest graphic drivers.

Sys 2 Laptop 'Clevo' i7 6700K @ 3.0ghz, 16gb ram, 250gb SSd + 2Tb hdd,   nvidia 940 M graphics. VP17, Plus Edius 8WG Win 10 Pro (22H2) Resolve18