Jerky motion in AVC encoded file

Yep wrote on 4/15/2015, 8:28 AM
I have a problem with very uneven and jerky motion in an AVC file I've created for burning to Bluray.

The source media is a wmv file. It plays smoothly in WMP and VLC, but playback in Vegas Pro is jerky. I encoded using Sony AVC but the result was still jerky. I also tried a variety of other render templates including MainConcept AVC and MainConcept Mpeg-2, but again all results were the same.

Out of curiosity I also ran it through Roxio Videowave & Roxio MyDvd using AVC settings. Strangely the motion was perfect. But I don't want to use Roxio as there are a lot of effects that I can't achieve with it.

I've encountered this problem with a couple wmv files before in Vegas. The only solution I've been able to find is to re-encode the original footage to mp4 before importing it to Vegas Pro. The resulting mp4 file plays fine in Vegas Pro and produces smooth motion when I output it to AVC.

As I'd rather not re-encode I'm wondering if this is a known problem and if there are any other solutions. I'm using Vegas Pro 13 64bit and DVD Architect Pro 6.0.

Any comments would be much appreciated

Comments

PeterDuke wrote on 4/15/2015, 8:35 AM
If it plays smoothly somewhere then that proves that there is nothing wrong with your rendered file. There are many factors that contribute to jerky playback in Vegas. Try not to worry about it. The final product is all that matters.
johnmeyer wrote on 4/15/2015, 9:21 AM
It is possible (likely, actually) that you rendered to a different frame rate. When playing in a media player, any frame rate should play OK. However, if you put that video into Vegas, and your Project Properties are not the same as the source video frame rate, the resulting playback will be slow and jerky because Vegas is resampling the video in order to make it play at a different frame rate. This is extremely computationally intensive, and Vegas can't keep up.

Solution #1: Set the Vegas Preview Quality (button at the top of the preview window) to "Preview" rather than "Best." This is quick, and will help, but is not the best solution.

Solution #2: The better solution is to go to the Project Properties and select the "Match" icon in the upper right corner. Then, navigate to the folder that contains your video and click on that video. Vegas will then match the project properties to your video and will no longer have to labor to make that video play at some other frame rate.

Finally, when you do your render in Vegas, always make sure that the template you choose has the same frame rate as your source material, unless you really and truly want to change to a different frame rate, something that I would generally advise not to do.

A good tool to have for situations like this is the Mediainfo tool (use Google, it's a free utility). It provides information about bit rate and, sometimes, field order. It can quickly uncover problems like this. If you already have the tool, take your rendered file and drop it on Mediainfo. Then do the same thing with your source video. The bitrates will be different, and also possibly the horizontal and vertical pixels, but the frame rate should be identical.
fldave wrote on 4/15/2015, 2:21 PM
Agree, make sure the frame rates match. Also, not sure if wmv supports interlaced, but if your original is interlaced, try swapping the field order on the original or the render setting and see if that does anything.
musicvid10 wrote on 4/15/2015, 2:30 PM
Since we shoot and hand off AVCHD to Bluray, folks incorrectly assume it I a delivery format. It is not, and playback can be a crapshoot

If your bluray plays, everything is fine. For PC playback render an mp4.
And remember that Vegas preview is not a transport stream player.
Yep wrote on 4/15/2015, 2:38 PM
Thanks for the replies guys. In response:

PeterDuke

The problem is both viewing the original file in Vegas and the AVC that Vegas outputs. It has nothing to do with preview quality. Playback of orignal and output is still jerky even set to Draft (Auto). Bitrate of original footage is only 8500 kbps and I get smooth playback on footage with bitrates in the 30 Mbps range.

johnmeyer

As stated above playing around with preview quality has no effect. Playback in Vegas is jerky no matter what preview quality I try and my machine has plenty of ooomph to play back high bitrate material in Vegas.

I have Vegas set to always base project video settings on first-added video. Notwithstanding that I did try your second suggestion and went through the process of manually matching properties, but no cigar I'm afraid.

The frame rate of the original material is 29.97. All the Bluray render profiles seem to be 24p, 50i, or 60i. I don't see an option for 29.97 and have been using 60i which I understood (perhaps wrongly) was the correct profile for 29.97 material for Bluray. I've used 60i for a large range of 29.97 material in the past without encountering this problem.

Finally,

To me it seems like Vegas is having a problem reading (if that's the right word) the original material. The problem with the output is that it is faithfully rendering what it reads from the original material as jerky video. I'm wondering if the original material might be encoded with a variant of the wmv codec that Vegas doesn't recognise causing it to default to a less compatible codec. Clutching at straws here.

Thanks again guys, and I welcome all comments and suggestions.
johnmeyer wrote on 4/15/2015, 2:43 PM
Any chance you could upload a few seconds of video that plays slowly on your timeline? That would help us determine if the problem is the video itself, Vegas, or your computer.
musicvid10 wrote on 4/15/2015, 10:47 PM
Have you optimized your preview by "Match Media Settings" (search!) and the 4-5 steps posted by johnmeyer in earlier threads?