jmac698
23rd January 2017, 07:46
Hello,
I have quicksync/nvidia hardware for the first time, and have a few questions.
Specs
I am using windows 8.1 64 bit, intel HD 3000 GPU and NVIDIA NVS 4200M
https://www.nvidia.com/object/nvs_techspecs.html
Questions
I tried using ffmpeg 3.2.2, the build from http://www.videohelp.com/software/ffmpeg, which has flags including -enable-nvenc. I'm not sure if there's supposed to be a flag for quicksync support but I don't see anything suggestive.
I tried using
ffmpeg -i sample.mpg -vcodec h264_qsv sample.mp4
but received the error:
[h264_qsv @ 0000000001e04500] Error initializing an internal MFX session
1) Is this the proper command to invoke quicksync encoding?
2) Does this binary support the codec and how can I tell, and if not where can I find the right build?
3) With quicksync enabled, does ffmpeg support both decoding of the mpg and encoding of the h264 in hardware? Is the decoding part considered quicksync or is it a normal part of dxva decoding?
4) What would be the command to use nvenc for comparison? Could I use use the hardware encoders of both GPU at the same time?
5) What are the requirements for using quicksync, how does it interact with Optimus (a type of hybrid graphics switching)?
6) My searches returned mention of making a virtual monitor to enable quicksync, is that necessary? Can I use it whether I use the laptop screen, external monitor, or both in extended or clone mode?
7) Does ffmpeg or any other encoder also support directcompute/opencl/CUDA based acceleration?
8) Which do you think would be faster, nvenc, quicksync, cuda, or cpu? Which one would use the least CPU % and why would fully hardware decode + encode use any CPU at all?
9) Can I create several encodes from the same source at the same time? That would be really awesome for some applications! Like comparing encoder settings.
10) Big one - is there a utility that can verify nvenc/quicksync availability so I can be sure everything is working. I tried DXVA checker but that didn't tell me much.
11) Once I actually get it working, what are some of the common programs which are enabled for hardware encoding for both nvidia and quicksync? ffmpeg, handbrake, anything else (looking for free as in beer or opensource here).
Sorry for all the questions, at the end of the day I'd like good quality and faster encodes, especially if it frees my CPU to do other things.
p.s. it may be relevant that I can't use Nvidia stock drivers, only OEM ones. When I tried Nvidia drivers, 3d apps were very slow (perhaps only using the Intel GPU).
Thanks for your help!
I have quicksync/nvidia hardware for the first time, and have a few questions.
Specs
I am using windows 8.1 64 bit, intel HD 3000 GPU and NVIDIA NVS 4200M
https://www.nvidia.com/object/nvs_techspecs.html
Questions
I tried using ffmpeg 3.2.2, the build from http://www.videohelp.com/software/ffmpeg, which has flags including -enable-nvenc. I'm not sure if there's supposed to be a flag for quicksync support but I don't see anything suggestive.
I tried using
ffmpeg -i sample.mpg -vcodec h264_qsv sample.mp4
but received the error:
[h264_qsv @ 0000000001e04500] Error initializing an internal MFX session
1) Is this the proper command to invoke quicksync encoding?
2) Does this binary support the codec and how can I tell, and if not where can I find the right build?
3) With quicksync enabled, does ffmpeg support both decoding of the mpg and encoding of the h264 in hardware? Is the decoding part considered quicksync or is it a normal part of dxva decoding?
4) What would be the command to use nvenc for comparison? Could I use use the hardware encoders of both GPU at the same time?
5) What are the requirements for using quicksync, how does it interact with Optimus (a type of hybrid graphics switching)?
6) My searches returned mention of making a virtual monitor to enable quicksync, is that necessary? Can I use it whether I use the laptop screen, external monitor, or both in extended or clone mode?
7) Does ffmpeg or any other encoder also support directcompute/opencl/CUDA based acceleration?
8) Which do you think would be faster, nvenc, quicksync, cuda, or cpu? Which one would use the least CPU % and why would fully hardware decode + encode use any CPU at all?
9) Can I create several encodes from the same source at the same time? That would be really awesome for some applications! Like comparing encoder settings.
10) Big one - is there a utility that can verify nvenc/quicksync availability so I can be sure everything is working. I tried DXVA checker but that didn't tell me much.
11) Once I actually get it working, what are some of the common programs which are enabled for hardware encoding for both nvidia and quicksync? ffmpeg, handbrake, anything else (looking for free as in beer or opensource here).
Sorry for all the questions, at the end of the day I'd like good quality and faster encodes, especially if it frees my CPU to do other things.
p.s. it may be relevant that I can't use Nvidia stock drivers, only OEM ones. When I tried Nvidia drivers, 3d apps were very slow (perhaps only using the Intel GPU).
Thanks for your help!