Just following. Interested to know as well.
|
Hello I couldn't find any differences between FFMPEG - FFMPEG2 - FFMPEG6 in Vmix help or forum, and which one should be used in which cases. When I looked in FFmpeg forums, FFmpeg has much more advanced features, but I couldn't understand what kind of benefit this has for us in vmix. Can anyone help?
|
I have a new system and have been having issues with VMix hardware encoding for streaming from the beginning. The system functions in OBS perfectly and other software. Specifications: MSI 5080 Suprim CamLink Pro (connected to CPU PCIE LANE) Intel 285k CPU 64GB RAM Latest VMix software Latest Nvidia Drivers Symptoms: - Using VMix FFMPEG/ FFMPEG2/FFMPEG6 to stream to any destination with Hardware Encoding ON causes the Stream to fail to start, error given in log: "No NVENC capable devices found". Streaming with Hardware Encoding OFF streams successfully, or when using CPU for hardware encoding. What I have tried: - Checked that VMix sees GPU in Settings - Performance tab - Ensured no other processes are using NVENC - Tried low latency and high performance modes - I tried disabling all hardware encoding in VMix and enabling again - Reinstalling VMix - Reinstalling GPU drivers - Streaming from OBS with hardware encoding (verified it works in OBS) - Recording in VMix MP4 with hardware encoding (verified it works, only streaming doesn't) I tried emailing VMix support and am still working with them, but no resolution after troubleshooting. Does anyone else have a 5080 and having issues with Hardware Encoding to Stream in VMix? LOG: Quote:FFMPEG1.Exited Streaming [h264_nvenc @ 056d2ba0] No NVENC capable devices found Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
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 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, dshow, from 'video=vMix Video YV12:audio=vMix Audio': Duration: N/A, start: 5925.428000, bitrate: 1536 kb/s Stream #0:0: Video: rawvideo (YV12 / 0x32315659), yuv420p, 1280x720, 29.97 fps, 29.97 tbr, 10000k tbn, 10000k tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s [tcp @ 056d7b40] TCP Buffer has been set to 6571008 bytes Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc)) Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native)) Press [q] to stop, [?] for help [h264_nvenc @ 056d2ba0] Failed creating CUDA context for NVENC: 0x3e7 [h264_nvenc @ 056d2ba0] No NVENC capable devices found Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [aac @ 056d6540] Qavg: nan [aac @ 056d6540] 1 frames left in the queue on closing Conversion failed!
|
Originally Posted by: w0nger  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. Hi @w0nger. Now a year later - is this still an issue? I am also looking to record 4x4K video feeds in prores, and also have great hardware for the task. I am wondering if vMix updated their FFMPEG encoder or if i am going to run into the same issue a you :) - Do you know? Thanks !
|
here is my log sheet
ffmpeg started on 2024-12-21 at 11:04:16 Report written to "C:\ProgramData\vMix\streaming\streaming1 20241221-110416.log" Command line: "C:\\Program Files (x86)\\vMix\\streaming\\ffmpeg2.exe" -report -rtbufsize 128M -f dshow -i "video=vMix Video YV12:audio=vMix Audio" -codec:v libx264 -s:v 1280x720 -pix_fmt:v yuv420p -threads 4 -bufsize:v 500k -g:v 60 -preset:v fast -profile:v baseline -level:v 3.1 -x264opts:v "keyint=60:min-keyint=60:scenecut=-1" -b:v 1000k -maxrate:v 1000k -minrate:v 1000k -codec:a aac -b:a 96k -strict -2 -rtmp_flashver "FMLE/3.0 (compatible; vMix/27.0.0.89)" -f flv "rtmp://la.castr.io/static/live_******?password=********" -codec:v h264_nvenc -s:v 1280x720 -pix_fmt:v yuv420p -threads 4 -bufsize:v 1250k -g:v 60 -preset:v llhq -profile:v baseline -b:v 2500k -maxrate:v 2500k -minrate:v 2500k -codec:a aac -b:a 128k -strict -2 -rtmp_flashver "FMLE/3.0 (compatible; vMix/27.0.0.89)" -f flv "rtmp://la.castr.io/static/live_******?password=********" 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 Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, dshow, from 'video=vMix Video YV12:audio=vMix Audio': Duration: N/A, start: 88127.032000, bitrate: 1536 kb/s Stream #0:0: Video: rawvideo (YV12 / 0x32315659), yuv420p, 1280x720, 29.97 fps, 29.97 tbr, 10000k tbn, 10000k tbc Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s [tcp @ 0294dfa0] TCP Buffer has been set to 9310208 bytes rtmp://la.castr.io/static/live_******: I/O error
|