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
Slaver  
#1 Posted : Saturday, October 3, 2015 10:12:16 AM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
Hello,

can somebody tell my exactly information about the advantages of the new feature?

* NEW Hardware Encoding support for Streaming (Beta)

When its an advantage, when better not to use and of course, how was it running since the last version?

Thank you!
Speegs  
#2 Posted : Saturday, October 3, 2015 5:30:48 PM(UTC)
Speegs

Rank: Advanced Member

Groups: Registered
Joined: 8/3/2013(UTC)
Posts: 405
Location: Gold Coast, Australia

Thanks: 27 times
Was thanked: 76 time(s) in 58 post(s)
Slaver wrote:
Hello,

can somebody tell my exactly information about the advantages of the new feature?

* NEW Hardware Encoding support for Streaming (Beta)

When its an advantage, when better not to use and of course, how was it running since the last version?

Thank you!


I'd say it uses your GPU to offload the encoding for a streaming video.

Advantage, more CPU available for other tasks.

So would be better to use when you have a good GPU that's quite powerful and not good to use when you have a slow to average GPU (IE: Intel HD Graphics or most but not all Laptops).

I have not tried it, that is just what in theory I think of how you would use it.
Speegs  
#3 Posted : Saturday, October 3, 2015 9:32:51 PM(UTC)
Speegs

Rank: Advanced Member

Groups: Registered
Joined: 8/3/2013(UTC)
Posts: 405
Location: Gold Coast, Australia

Thanks: 27 times
Was thanked: 76 time(s) in 58 post(s)
Hello,

I just tried it and got an error. So I guess that is why it says (Beta).

The Error I get says:

Streaming

Stream #0:1 -> #1:1 (pcm_s16le (native) --> aac (libfaac))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Speegs  
#4 Posted : Saturday, October 3, 2015 9:34:44 PM(UTC)
Speegs

Rank: Advanced Member

Groups: Registered
Joined: 8/3/2013(UTC)
Posts: 405
Location: Gold Coast, Australia

Thanks: 27 times
Was thanked: 76 time(s) in 58 post(s)
My video card on the computer I just tested it on was a NVidia GeForce GT 520, so nothing special.
admin  
#5 Posted : Saturday, October 3, 2015 9:53:28 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4288 time(s) in 1520 post(s)
Please make note of the information here:

http://forums.vmix.com/d...ts&m=20150#post20150

Old cards are not going to work obviously...
Speegs  
#6 Posted : Saturday, October 3, 2015 10:53:06 PM(UTC)
Speegs

Rank: Advanced Member

Groups: Registered
Joined: 8/3/2013(UTC)
Posts: 405
Location: Gold Coast, Australia

Thanks: 27 times
Was thanked: 76 time(s) in 58 post(s)
admin wrote:
Please make note of the information here:

http://forums.vmix.com/d...ts&m=20150#post20150

Old cards are not going to work obviously...


Sorry missed the model number requirement. Time for a better card on my desktop pc :)
Ash  
#7 Posted : Sunday, October 4, 2015 2:38:02 AM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Just tried this also getting error

ASUS 750 Nvidia 880M



FFMPEG.Exited
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=vMix Video:audio=vMix Audio':
Duration: N/A, start: 134.759000, bitrate: 1536 kb/s
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1280x720, 25 tbr, 10000k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[tcp @ 04f06800] TCP Buffer has been set to 6571008 bytes
[nvenc @ 04f07820] CreateInputBuffer failed
Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/XXXXXXXXXXXXXX':
Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, 25 fps
Metadata:
encoder : Lavc57.3.100 nvenc
Stream #0:1: Audio: aac, 0 channels, 128 kb/s
Metadata:
encoder : Lavc57.3.100 libfaac
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (nvenc))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (libfaac))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ask  
#8 Posted : Sunday, October 4, 2015 4:54:21 AM(UTC)
ask

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2012(UTC)
Posts: 1,162
Australia
Location: Melbourne

Thanks: 220 times
Was thanked: 199 time(s) in 181 post(s)
I can confirm it works with the right hardware! On my Asus GTX780TI-DC2OC-3GD5 3G it cuts the CPU usage on MP4's by around 60%. On an AMD Radeon 7700 it fails. Tested by streaming the same video at the same bitrate and framerate.
admin  
#9 Posted : Sunday, October 4, 2015 7:23:47 AM(UTC)
admin

Rank: Administration

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

Was thanked: 4288 time(s) in 1520 post(s)
Ash,

Can you confirm vMix is detecting in the graphics card as 880M in Settings -> Performance?
Ash  
#10 Posted : Sunday, October 4, 2015 6:39:21 PM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Yes graphics card is detected.


admin wrote:
Ash,

Can you confirm vMix is detecting in the graphics card as 880M in Settings -> Performance?

Ash attached the following image(s):
Settins.png (19kb) downloaded 6 time(s).

You cannot view/download attachments. Try to login or register.
admin  
#11 Posted : Sunday, October 4, 2015 10:05:32 PM(UTC)
admin

Rank: Administration

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

Was thanked: 4288 time(s) in 1520 post(s)
If the system has optimus enabled, you may need to setup a profile in the Nvidia control panel
for the ffmpeg.exe program in vMix\streaming and tell it to use the dedicated graphics.


Ash  
#12 Posted : Monday, October 5, 2015 4:41:01 AM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Ok changed the setting in NVIDIA Control panel to use High Performance NVIDIA processor still no change in error message. Also tried just setting ffmpeg in vMix\streaming to the NVIDIA but that did not work either.


admin wrote:
If the system has optimus enabled, you may need to setup a profile in the Nvidia control panel
for the ffmpeg.exe program in vMix\streaming and tell it to use the dedicated graphics.



jpeg2RAW  
#13 Posted : Tuesday, October 6, 2015 9:52:39 PM(UTC)
jpeg2RAW

Rank: Advanced Member

Groups: Registered
Joined: 9/8/2014(UTC)
Posts: 68
Location: Atlanta

Was thanked: 7 time(s) in 7 post(s)
I just picked up a EVGA GTX980, can't wait to install it and give this a try. Love to offload more processing to the GPU!
wwdv  
#14 Posted : Wednesday, October 7, 2015 3:04:02 PM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
Does the hardware encoding also takes over the FMLE and FFMEG live streaming encoding?

Ash  
#15 Posted : Sunday, November 8, 2015 9:06:45 PM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Just had some time to install vMix 104 and had problems with not being able to assign vMix or any other application to the 880M card.

A bit of research led me to do this http://www.guru3d.com/fi...ninstaller-download.html

Worked like a charm and resolves the ffmpeg streaming problem I was having.

The problem was with the NVIDIA driver. Somehow was corrupted.

Cheers


admin wrote:
Ash,

Can you confirm vMix is detecting in the graphics card as 880M in Settings -> Performance?

jpeg2RAW  
#16 Posted : Monday, November 9, 2015 10:58:11 PM(UTC)
jpeg2RAW

Rank: Advanced Member

Groups: Registered
Joined: 9/8/2014(UTC)
Posts: 68
Location: Atlanta

Was thanked: 7 time(s) in 7 post(s)
Installed the GTX 980 today. The streaming ffmpeg process is only using 2-3% CPU now when using the graphics card for encoding. When can we get this going for the recording also? :)
jpeg2RAW  
#17 Posted : Thursday, November 19, 2015 7:21:40 PM(UTC)
jpeg2RAW

Rank: Advanced Member

Groups: Registered
Joined: 9/8/2014(UTC)
Posts: 68
Location: Atlanta

Was thanked: 7 time(s) in 7 post(s)
Did my first show using the new Hardware Encoding. The ffmpeg process used for streaming ran around 2-3% CPU usage vs the normal 12-15%. However, a little past the 1 hour mark the Desktop Windows Manager crashed Vmix became unresponsive. Stopping Vmix and restarting, brought everything back to working and we ran another 40 minutes without an issue.

A few specs of my system in case it helps:

* CPU - i7 3770k
* RAM - 32GB
* GPU - EVGA GTX 980SC w/ 4GB of ram
* SSD for Boot drive, SSD for programs and SSD for recording
* 2 C920 webcams
* 2 AverMedia C985 video capture cards used to capture Skype video from 2 separate computers
richardgatarski  
#18 Posted : Wednesday, December 2, 2015 10:27:36 AM(UTC)
richardgatarski

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2014(UTC)
Posts: 1,837
Location: Stockholm

Thanks: 144 times
Was thanked: 297 time(s) in 250 post(s)
I can't get this working (16.108).

On my laptop with GTX730m (not recognized in Performance setting, using default Intel HD graphics) Hardware encoding works!?!?

For the below I've tried with different streaming providers.

On another laptop GTX940m (set in Nvidias control panel to be default for all apps, recognized and used by vMix I get error (same as image below).

On a desktop GTX760 (only graphics card) it does not work either. Attached image, plus log below.

FFMPEG.Exited
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=vMix Video:audio=vMix Audio':
Duration: N/A, start: 86804.550000, bitrate: 1536 kb/s
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1280x720, 25 tbr, 10000k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[tcp @ 0108ef60] TCP Buffer has been set to 6571008 bytes
[nvenc @ 04ea56e0] OpenEncodeSessionEx failed: 0x2
Output #0, flv, to 'rtmp://origin1.solidtango.com/origin/hphelq3n':
Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, 25 fps
Metadata:
encoder : Lavc57.3.100 nvenc
Stream #0:1: Audio: aac, 0 channels, 128 kb/s
Metadata:
encoder : Lavc57.3.100 libfaac
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (nvenc))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (libfaac))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
richardgatarski attached the following image(s):
vmix-hwenc-error-gtx760.PNG (14kb) downloaded 0 time(s).

You cannot view/download attachments. Try to login or register.
Users browsing this topic
Guest (5)
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.