logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
w0nger  
#1 Posted : Thursday, December 28, 2023 3:00:39 PM(UTC)
w0nger

Rank: Newbie

Groups: Registered
Joined: 12/28/2023(UTC)
Posts: 5
United States

Was thanked: 1 time(s) in 1 post(s)
Hi, I am having issues recording in prores. Multicorder will fail after recording the first one or two seconds without any useful information.

Specs are
Intel Xeon 3475
Samsung 990 pro 2tb
Samsung 87p QVO 8TB X4 RAID 10
RTX 4090
256GB DDR5 ECC RAM

I can't even record a single 4k camera input reliably, much less than the 4 I need. It shouldn't be a hardware issue given the specs, if anyone has any idea on what could be the issue, I am all ears. Will buy a beer for anyone who can help. Thanks.
admin  
#2 Posted : Thursday, December 28, 2023 6:01:50 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,157
Man
Location: Gold Coast, Australia

Was thanked: 4160 time(s) in 1494 post(s)
Hi,

Unfortunately the ProRes codec in FFMPEG is very slow on PCs and is not suitable for real time recording of 4K.
Your only option is to record in vMix AVI and then convert that to ProRes after recording using the vMix Media Converter tool.

Regards,

Martin
vMix
w0nger  
#3 Posted : Thursday, December 28, 2023 6:46:15 PM(UTC)
w0nger

Rank: Newbie

Groups: Registered
Joined: 12/28/2023(UTC)
Posts: 5
United States

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: admin Go to Quoted Post
Hi,

Unfortunately the ProRes codec in FFMPEG is very slow on PCs and is not suitable for real time recording of 4K.
Your only option is to record in vMix AVI and then convert that to ProRes after recording using the vMix Media Converter tool.

Regards,

Martin
vMix


HI, I am able to record in prores just fine in wirecast with this setup, which leads me to believe something else is up.
admin  
#4 Posted : Thursday, December 28, 2023 6:58:47 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,157
Man
Location: Gold Coast, Australia

Was thanked: 4160 time(s) in 1494 post(s)
Hi,

Perhaps they are using a different encoder.
All we can say is the ProRes encoder in FFMPEG uses a lot of CPU and is not suitable for 4K recording.

I can confirm this in our own tests, so there is nothing we can do other than what has already been suggested.

Regards,

Martin
vMix
w0nger  
#5 Posted : Sunday, December 31, 2023 4:17:07 PM(UTC)
w0nger

Rank: Newbie

Groups: Registered
Joined: 12/28/2023(UTC)
Posts: 5
United States

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: admin Go to Quoted Post
Hi,

Perhaps they are using a different encoder.
All we can say is the ProRes encoder in FFMPEG uses a lot of CPU and is not suitable for 4K recording.

I can confirm this in our own tests, so there is nothing we can do other than what has already been suggested.

Regards,

Martin
vMix


I am getting these errors which says it's not GPU/CPU or storage related:

========================================
27.0.0.58 - RE_MultiCorder - 12/30/2023 10:09:18 PM
========================================
vMix.VMIXException: Recording has stopped unexpectedly. ---> vMix.VMIXException: FFMPEG Recording failed. Check the log file for more information. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at vMix.WMSDK.IWMWriterAdvanced.WriteStreamSample(Int16 wStreamNum, Int64 cnsSampleTime, Int32 msSampleSendTime, Int64 cnsSampleDuration, SampleFlag dwFlags, INSSBuffer pSample)
at iz.k(Int32 a, Int64 a, INSSBuffer a)
at kh.zzp()
--- End of inner exception stack trace ---
at kh.zzp()
--- End of inner exception stack trace ---
at kh.CheckErrors()
at qc.q()
at nzzzzzr.d()
========================================
27.0.0.58 - RE_MultiCorder - 12/30/2023 10:12:47 PM
========================================
vMix.VMIXException: Recording has stopped unexpectedly. ---> vMix.VMIXException: FFMPEG Recording failed. Check the log file for more information. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at vMix.WMSDK.IWMWriterAdvanced.WriteStreamSample(Int16 wStreamNum, Int64 cnsSampleTime, Int32 msSampleSendTime, Int64 cnsSampleDuration, SampleFlag dwFlags, INSSBuffer pSample)
at iz.k(Int32 a, Int64 a, INSSBuffer a)
at kh.zz()
--- End of inner exception stack trace ---
at kh.zz()
--- End of inner exception stack trace ---
at kh.CheckErrors()
at qc.q()
at nzzzzzr.d()




ffmpeg started on 2023-12-30 at 22:12:46
Report written to "C:\Users\w0ng3r\Documents\vMixStorage\MultiCorder2 - Output 1 - 30 December 2023 - 10-12-46 PM.mov.log"
Command line:
"C:\\Program Files (x86)\\vMix\\streaming\\ffmpeg2.exe" -report -y -f asf -i "\\\\.\\pipe\\b9fa516a-57a4-462b-9344-448022681319" -r 29.97 -vcodec prores -profile:v 2 -acodec pcm_s16le -f mov -movflags frag_keyframe "C:\\Users\\w0ng3r\\Documents\\vMixStorage\\MultiCorder2 - Output 1 - 30 December 2023 - 10-12-46 PM.mov"
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8.1 (rev2, Built by MinGW-W64 project)
configuration: --enable-gpl --enable-version3 --enable-libx264 --enable-zlib --enable-nvenc --cpu=i686
libavutil 55. 76.100 / 55. 76.100
libavcodec 57.106.101 / 57.106.101
libavformat 57. 82.101 / 57. 82.101
libavdevice 57. 8.101 / 57. 8.101
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[asf @ 02897980] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, asf, from '\\.\pipe\b9fa516a-57a4-462b-9344-448022681319':
Metadata:
DeviceConformanceTemplate: @
WMFSDKNeeded : 0.0.0.0000
WMFSDKVersion : 12.0.19041.3803
IsVBR : 0
Duration: N/A, start: 0.000000, bitrate: 29184 kb/s
Stream #0:0(eng): Video: rawvideo (UYVY / 0x59565955), uyvy422, 3840x2160, 27648 kb/s, 1k tbr, 1k tbn, 1k tbc
Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> prores (native))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, mov, to 'C:\Users\w0ng3r\Documents\vMixStorage\MultiCorder2 - Output 1 - 30 December 2023 - 10-12-46 PM.mov':
Metadata:
DeviceConformanceTemplate: @
WMFSDKNeeded : 0.0.0.0000
WMFSDKVersion : 12.0.19041.3803
IsVBR : 0
encoder : Lavf57.82.101
Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(progressive), 3840x2160, q=2-31, 200 kb/s, 29.97 fps, 11988 tbn, 29.97 tbc
Metadata:
encoder : Lavc57.106.101 prores
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
encoder : Lavc57.106.101 pcm_s16le
frame= 17 fps=0.0 q=-0.0 size= 24795kB time=00:00:00.56 bitrate=362182.1kbits/s speed=1.08x
[prores @ 09aa62c0] Failed to allocate packet of size 132743668
[prores @ 09aa51a0] Failed to allocate packet of size 132743668
[prores @ 09aa1a00] Failed to allocate packet of size 132743668
[prores @ 09a55f40] Failed to allocate packet of size 132743668
[prores @ 09aa04a0] Failed to allocate packet of size 132743668
[prores @ 09aa5e80] Failed to allocate packet of size 132743668
[prores @ 09aa3800] Failed to allocate packet of size 132743668
Video encoding failed
[prores @ 09aa44c0] Failed to allocate packet of size 132743668
Conversion failed!
w0nger  
#6 Posted : Sunday, December 31, 2023 9:32:01 PM(UTC)
w0nger

Rank: Newbie

Groups: Registered
Joined: 12/28/2023(UTC)
Posts: 5
United States

Was thanked: 1 time(s) in 1 post(s)
Update:

I was correct, the issues were caused by the ridiculously outdated ffmpeg libraries being used by vmix. But then again I have a feeling the vmix team is already aware of the issue and have simply chosen to keep quiet. I'm pretty annoyed to say the least and will re-consider my choice to continue using vmix in the future.

For anyone googling this problem, I solved it by download gyan's build of ffmpeg for windows, and deleting "ffmpeg2.exe" in the vmix/streaming folder, then I moved the new ffmpeg from gyan and renamed it ffmpeg2.

I can now record 8 4k prores 422 streams without my xeon breaking a sweat.
thanks 1 user thanked w0nger for this useful post.
jet on 1/1/2024(UTC)
Users browsing this topic
Guest
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.