Vegas Pro 15 - 23.976 footage being interpreted as 25fps in Vegas

iggy097 wrote on 10/24/2017, 5:19 PM

Since the latest patch to Sony Vegas Pro 15 build 216 I have been having a strange issue using the MAGIX AVC/AAC MP4 format to render.

I am filming at 23.976 to an .mts container on a Canon C100 Mark ii.

If I use the NV Encoder as the Encode mode – the file will render out to 23.976 ( if I look at the attributes on Windows Explorer ) – however – half of the time when I take that rendered movie and import it back into Vegas, it will show as 25p. If I in turn take that 25p footage and re-render it out to 23.976 I get the obvious slow down effect you would expect upon conversion. This does NOT happen every time I use this encoder.

If I use the Main Concept AVC encoder, it seems to work just fine.

If I use the Sony AVC/MVC that I used to use, it also works fine.

This issue seems to have sprung up since upgrading to the latest patch.

I’ve included a link to a Youtube video where I recorded the issue occurring. I rendered the same file 8 times, and imported the result right back into Vegas, and several of the files are shown as 25p, several as 23.976.

Obviously, I want to use the NV Encoder – as it drastically speeds up video rendering times.

I am using an Nvidia MSI GTX 1080, and Broadwell 6800k CPU if it makes any difference.

Nvidia driver 387.92

The attached video is long 8:30, speed it up or slow it down as needed to see the problem.

Here is the rendered video files if anyone wants to take a look at them on Dropbox - https://www.dropbox.com/sh/lgmk56thzr7chyy/AADmwnxog_UOIx09MRzAfikTa?dl=0

Comments

NickHope wrote on 10/24/2017, 8:43 PM

We need to establish if it's an encoding problem or a decoding problem. What does MediaInfo think the frame rate of the files is?

If MediaInfo thinks they are all 23.976fps, then try this and see if Vegas still reads some as 25fps.

iggy097 wrote on 10/25/2017, 3:47 AM

Mediainfo shows them as 23.976

 

Plug-In
  Name: compoundplug.dll
  Folder: C:\Program Files\VEGAS\VEGAS Pro 15.0\FileIO Plug-Ins\compoundplug
  Format: MPEG-2 Transport Stream
  Version: Version 15.0 (Build 216)
  Company: MAGIX Computer Products Intl. Co.

Hold down the SHIFT key while opening Options > Preferences

Click the Internal tab

In the field "Show only pref containing:" file type "So4" without the quotes

Set "Enable So4 Compound Reader for AVC/M2TS" to FALSE.

OK > Restart

- Seems to have resolved the issue - many thanks!

NickHope wrote on 10/25/2017, 5:14 AM

Of your files, only "Test 1.mp4" gets read by VP15 build 216 (with so4compoundplug.dll enabled) on my system as 25fps. That one is reported as variable frame rate by MediaInfo (see below), but the maximum only goes up to 24.000 fps. The others are all constant frame rate 23.976 fps and get read correctly by Vegas. How did you render that one differently? It would be a good idea to give a clue in the filenames in cases like this.

General
Complete name                            : E:\0-test-media\iggy-Vegas Footage Samples\Test 1.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 54.0 MiB
Duration                                 : 1 min 56 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 876 kb/s
Encoded date                             : UTC 2017-10-24 21:19:11
Tagged date                              : UTC 2017-10-24 21:19:11

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 min 56 s
Bit rate                                 : 3 684 kb/s
Width                                    : 640 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.976 FPS
Maximum frame rate                       : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.500
Stream size                              : 51.3 MiB (95%)
Language                                 : English
Encoded date                             : UTC 2017-10-24 21:19:12
Tagged date                              : UTC 2017-10-24 21:19:12

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 1 min 56 s
Bit rate mode                            : Variable
Bit rate                                 : 192 kb/s
Maximum bit rate                         : 506 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                              : 2.64 MiB (5%)
Language                                 : English
Encoded date                             : UTC 2017-10-24 21:19:12
Tagged date                              : UTC 2017-10-24 21:19:12
iggy097 wrote on 10/25/2017, 5:27 AM

Of your files, only "Test 1.mp4" gets read by VP15 build 216 (with so4compoundplug.dll enabled) on my system as 25fps. That one is reported as variable frame rate by MediaInfo (see below), but the maximum only goes up to 24.000 fps. The others are all constant frame rate 23.976 fps and get read correctly by Vegas. How did you render that one differently? It would be a good idea to give a clue in the filenames in cases like this.

General
Complete name                            : E:\0-test-media\iggy-Vegas Footage Samples\Test 1.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42)
File size                                : 54.0 MiB
Duration                                 : 1 min 56 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 876 kb/s
Encoded date                             : UTC 2017-10-24 21:19:11
Tagged date                              : UTC 2017-10-24 21:19:11

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 1 frame
Format settings, GOP                     : M=1, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 min 56 s
Bit rate                                 : 3 684 kb/s
Width                                    : 640 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.976 FPS
Maximum frame rate                       : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.500
Stream size                              : 51.3 MiB (95%)
Language                                 : English
Encoded date                             : UTC 2017-10-24 21:19:12
Tagged date                              : UTC 2017-10-24 21:19:12

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 1 min 56 s
Bit rate mode                            : Variable
Bit rate                                 : 192 kb/s
Maximum bit rate                         : 506 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                              : 2.64 MiB (5%)
Language                                 : English
Encoded date                             : UTC 2017-10-24 21:19:12
Tagged date                              : UTC 2017-10-24 21:19:12

Same settings I used for all of them - same exact template rendered 10 times in a row. Only one that was changed was the one marked AVC and that used the AVC encoder


iggy097 wrote on 10/25/2017, 5:28 AM

And strange that only 1 of them gets read as 25fps, and several of them are read that way on my system.

Marco. wrote on 10/25/2017, 5:51 AM

The length of the certain file "Test 1.mp4" is different compared to the others.

NickHope wrote on 10/25/2017, 6:01 AM

iggy, please leave "Test 1.mp4" online for the time being so I can alert the developers to it.

iggy097 wrote on 10/25/2017, 6:02 AM

Sure thing, and test 1, and test 1 AVC were a bit longer - I shortened the rest of them just to make it faster for the video - all the same render template though

Marco. wrote on 10/25/2017, 9:20 AM

I did some testing using ffmpeg. Once I just re-wrapped that certain file untrimmed and once again re-wrapped while being trimmed to 20 sec. Both versions used stream copying, no re-encoding.

The untrimmed re-wrap had same issue in VP and same variable framerate information in MediaInfo. The trimmed re-wrap does not show this issue in Vegas Pro and it's said to be fixed frame rate in MediaInfo.

iggy097 wrote on 11/7/2017, 7:04 AM

Even after disabling the Name: compoundplug.dll - there still is something going on with that render template using NVenc - the footage will render out to the correct framerate - however when importing back into Vegas and dropping onto the timeline it asks if you want to change the project settings to match the footage. So somewhere along the render chain - something is being changed.

iggy097 wrote on 11/7/2017, 8:54 AM

So after testing the issue this morning, I took the same clip - rendered it out 16 times - different lengths ( trimming it up ) - for some reason, the NVENC is changing some of the rendered clips to a variable frame rate - which is what is giving me the pop up to change the project settings when adding the clip in Vegas.

I can't tell if this change to a variable frame rate is affecting my output video ( it could be placebo effect ) - attached is the MediaInfo data of both clips side by side.

This is AFTER the compoundplug.dll has been disabled in Internal.

So SOMETHING is going on with this template - I want to use it - as it is much faster - however it seems to be unstable currently.

Glenn-C wrote on 5/4/2020, 6:57 AM

I echo this problem. Same exact issue of VP17 misinterpreting 23.976 encodes from Handbrake as PAL, with no way to change it in the Clip Properties.

Also, I've tried re-encoding to a CFR of 23.976, both in h264 and h264 NVENC, to no avail. MediaInfo reports it as min-frame-rate and max-frame-rate, with two varying numbers that don't go up to or over 24fps.

The above posts were written back in 2017, has this problem been addressed?