Best way to prepare video files for VEGAS

spyderrp7 wrote on 1/28/2017, 5:12 PM

Hello everyone, this is my first post!

I have a big issue with Vegas decoding a video file. This video file uses H264 - MPEG-4 AVC (part 10) and AAC Audio. The frame rate is 24drop and the audio is at 48khz. This video file plays very smooth with VLC. But when I import that file inside the Vegas, I get some glitchy issues with the motion. There are some portions of the video that will drop a lot of frames. I am working on a music video now, and I have drop frames in a few sections of the video.

So I tried converting the original mp4 file with AviDeMux and now the new file plays much smoother inside Vegas. But again I still have a few parts that aren't playing fine.

I then tried converting the original mp4 with QuickTime to MPEG4 Improved and now the new file plays even worse than the original!!

The weirdest of all is that all those files play perfect with VLC!!! They don't lose/drop frames.

What would you advice me for not having drop frames?? Should I convert the file to a spesific format that Vegas prefers? If yes with which tool???

Comments

dxdy wrote on 1/28/2017, 5:59 PM

What device/camera created the file?

Please use the MediaInfo program on the file and post the results here. That will give us a hint at what you need to do.

Also, which version of Vegas are you using? What are your computer specs?

spyderrp7 wrote on 1/29/2017, 5:31 AM

Hello everyone and thank you very much for your helpful replies.

I don't know exactly how this file was rendered because it was sent to me. It is a video edit of a music video. All I have to do is add the record company video logo at the front which is 7 seconds.

I use Vegas 14 and my computer specs are: i7 920, 12gb ram tripple channel, and GPU is GTX 250. Could it be that my graphic card is old and could mess with the Vegas decoding maybe?

"2. Vegas is an editor who tries to give an example of what the export may look like when you use the right settings for your project and/or afterwards your export."

Well I get exactly the same drop frames when exporting and when I look the preview at the timeline. I know that using Build Dynamic RAM Preview and Selectively Prerender Video helps a lot for the Preview to be a lot smoother, but those spesific moments of the video always drop frames exactly at the same time.

So here is the MediaInfo:

General
Complete name                            : N:\Fotis Patro\who r u videoclip orig.mp4
Format                                   : MPEG-4
Codec ID                                 : M4V  (M4V /mp42/isom)
File size                                : 104 MiB
Duration                                 : 3 min 34 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 091 kb/s
Encoded date                             : UTC 2017-01-22 19:46:46
Tagged date                              : UTC 2017-01-22 19:46:48
©TIM                                     : 00:00:07:19
©TSC                                     : 24000
©TSZ                                     : 1001

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=23
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 3 min 34 s
Bit rate                                 : 3 879 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.976 FPS
Maximum frame rate                       : 24.000 FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.078
Stream size                              : 99.0 MiB (95%)
Language                                 : English
Encoded date                             : UTC 2017-01-22 19:46:46
Tagged date                              : UTC 2017-01-22 19:46:46
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                                 : 40
Duration                                 : 3 min 34 s
Source duration                          : 3 min 34 s
Bit rate mode                            : Variable
Bit rate                                 : 192 kb/s
Maximum bit rate                         : 285 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                              : 4.83 MiB (5%)
Source stream size                       : 4.83 MiB (5%)
Language                                 : English
Encoded date                             : UTC 2017-01-22 19:46:46
Tagged date                              : UTC 2017-01-22 19:46:46

xberk wrote on 1/29/2017, 3:07 PM

I see that your media has variable frame rate. One thing you could try is to convert the file to an MP4 in Handbrake at a constant 24fps.

Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

spyderrp7 wrote on 1/29/2017, 5:39 PM

Variable frame rate??!!! Oh my god, that is terrible and could be the issue!!! Thank you sooo much for finding this out, I would never figure it out. I thought it was a constant 24drop fps (23.976)!!! Let me see what I can do with Handbrake.

Musicvid wrote on 2/3/2017, 5:56 AM

24 drop refers to the SMPTE t/c sync protocol, has absolutely nothing to do with anything you will see or hear.

With some digging here you will you will find instructions for:

--Matching project to media

--Optimizing preview settings

--Optimizing audio drivers

--Selective preview and RAM preview

None of these are trivial when you have sync or preview issues.

If you have effects, pan/crop, or generated media on the tl, plan on pre-rendering to get a smooth preview.

That said, your video bitrate is low enough that your choppy preview can be fully mediated.