vMix Forums
»
General
»
General Discussion
»
Variable Frame Rate Hardware Encoded Recording
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2017(UTC) Posts: 60
Thanks: 3 times Was thanked: 6 time(s) in 6 post(s)
|
I have set my recorder to use MP4 with hardware encoding so that I can reduce the load on the CPU in my PC. However using hardware encoding sets the video to variable framerate. While this is nice for the file size, unfortunately when I go to edit the video, it imports it at 100FPS rather than 59.94. While I could change the project settings to 59.94FPS, this is less than ideal since in essentially doubles the time it takes to render out the video after editing.
Is there a way to record using hardware encoding but set it to be a constant frame rate, rather than variable?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
???
I'm not sure what you're talking about, I have never seen vMix recording something else than the framerate you set for recording, neither with GPU or CPU. The bitrate might vary but not the framerate... Check your settings in vMix...
Also check your files with a tool like mediainfo to make sure about the framerate.
I guess your issue is most likely related to your NLE (which you did not mention btw)
Guillaume
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,211 Location: Gold Coast, Australia Was thanked: 4300 time(s) in 1523 post(s)
|
Hi,
vMix only records at a fixed frame rate for all formats. Potential reasons for it showing up incorrectly in a video editor may be due to dropped frames (which will be noted in the vMix recording log and might be due to a slow graphics card or other system performance issue) or some other compatibility issue with the video editor.
What video editors have you tried?
Regards,
Martin vMix
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2017(UTC) Posts: 60
Thanks: 3 times Was thanked: 6 time(s) in 6 post(s)
|
Updated my editor to the latest version and that seemed to fix it.
But for the record, MediaInfo does show that the encoded video is VBR.
Frame rate mode : Variable Frame rate : 59.608 FPS Minimum frame rate : 11.988 FPS Maximum frame rate : 60.000 FPS
For comparison, the video that I recorded without hardware encoding:
Frame rate mode : Variable Frame rate : 59.940 FPS Minimum frame rate : 59.940 FPS Maximum frame rate : 60.000 FPS
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/4/2013(UTC) Posts: 308 Location: Germany Thanks: 1 times Was thanked: 57 time(s) in 49 post(s)
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,211 Location: Gold Coast, Australia Was thanked: 4300 time(s) in 1523 post(s)
|
That is quite strange, here is a mediainfo on a MP4 recording in vMix I just did:
Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L4 Format settings : 1 Ref Frames Format settings, CABAC : No Format settings, RefFrames : 1 frame Format settings, GOP : M=1, N=29 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 10 s 878 ms Bit rate : 135 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 29.970 (29970/1000) FPS
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/15/2018(UTC) Posts: 7 Was thanked: 2 time(s) in 2 post(s)
|
MP4 recording is 100% VFR (variable frame-rate). I'm currently dealing with that headache and all it entails right now.
I record separate audio for quality, but also because vMix likes to insert dropped audio every time a new clip is created in a continuous recording. I guess I'll be using highly compressed USB audio instead of my clean recorder audio.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/13/2010(UTC) Posts: 5,211 Location: Gold Coast, Australia Was thanked: 4300 time(s) in 1523 post(s)
|
Originally Posted by: on_call MP4 recording is 100% VFR (variable frame-rate). This extremely unlikely, as our previous comments in this thread have confirmed. If you believe you have a variable frame rate MP4 recorded directly in vMix, please first confirm it is so using the latest MediaInfo and then email it to us at info@vmix.com.au. Maybe a hardware encoder is overwriting the vMix internal recording settings, though it seems unlikely. Regards, Martin vMix
|
|
|
|
Rank: Member
Groups: Registered
Joined: 9/27/2019(UTC) Posts: 15 Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: admin Originally Posted by: on_call MP4 recording is 100% VFR (variable frame-rate). This extremely unlikely, as our previous comments in this thread have confirmed. If you believe you have a variable frame rate MP4 recorded directly in vMix, please first confirm it is so using the latest MediaInfo and then email it to us at info@vmix.com.au. Maybe a hardware encoder is overwriting the vMix internal recording settings, though it seems unlikely. Regards, Martin vMix I had the same problem yesterday. I put my video card to another slot and did not had enough time to test the system. It was simple project: 2 CAM's via SDI, 2 PC's via NDI, also 2 SDI and 2 NDI Outputs. I decided to make a record H.264 at 28Mbps in vMix. All the time I watched resources in vMix and in Task Manager Performance - CPU about 18% (Xeon 2686 v3), GPU about 58%. Almost at the end of the show I found, that I have some audio glitches on SDI Out (we used SDI as video return to camera mans only). Then I saw strange numbers in the recording area - last digit was probably recorded frames, but first always jumped between 18 and 46 (vMix project 50FPS). When the show ended I tried to play recorded files with various players (vMix, VLC, QuickTime, WMP) but result was the same - about half a second faster video, half a second freeze frame. All files in the same "sequence". Today from early morning I started to search a problem and found, that only the first slot of PCIe in my motherboard (ASUS X99 WS-E) supports 16 lanes. I'm not sure for 100%, but I think that was the problem. Simply it was not enough internal resources to handle smooth 50FPS internal data throughput somewhere in VGA - CPU chain... When I started to analyze recorded files, they all recorded in peak framerate mode. I tried to convert them to Constant Frame Rate. Looks a way better, but not enough for broadcastring :(
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Variable Frame Rate Hardware Encoded Recording
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close