Re: ffmpeg with nvenc
On 11/03/2017 08:57 AM, Michael Cronenworth wrote: I thought it might be the pixel format, too, but all of my videos are yuv420p. The 750 Ti is a GM107 chip. Maxwell gen 1. It should work. Had some spare time to look at this again and found out what I did wrong. My custom driver package does not auto-load the nvidia-uvm module nor create device nodes for /dev/nvidia-uvm or /dev/nvidia-vm-tools so after loading the module and creating the nodes the encoder starts working. ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org
Re: ffmpeg with nvenc
On 11/02/2017 03:34 PM, Nicolas Chauvet wrote: So it's might be an issue with your input stream. Can you run mediainfo on it ? or change the input ? If your device is based on kepler, you should be able to do YUV 4:2:0 8bit at 4096x4096 at max. according tohttps://developer.nvidia.com/nvidia-video-codec-sdk I thought it might be the pixel format, too, but all of my videos are yuv420p. The 750 Ti is a GM107 chip. Maxwell gen 1. It should work. ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org
Re: ffmpeg with nvenc
2017-11-02 17:10 GMT+01:00 Michael Cronenworth: > On 10/31/2017 02:29 AM, Leigh Scott wrote: >> >> If your using 375.66 it is too old to work with ffmpeg (read the >> depshttps://developer.nvidia.com/nvidia-video-codec-sdk) >> >> >> >> I ran your command in F28 using ffmpeg-3.4 and nvidia-387.22 and it works. > > > I was using 384.90. I've upgraded to 387.22, but it still fails in the same > way. So it's might be an issue with your input stream. Can you run mediainfo on it ? or change the input ? If your device is based on kepler, you should be able to do YUV 4:2:0 8bit at 4096x4096 at max. according to https://developer.nvidia.com/nvidia-video-codec-sdk -- - Nicolas (kwizart) ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org
Re: ffmpeg with nvenc
On 10/31/2017 02:29 AM, Leigh Scott wrote: If your using 375.66 it is too old to work with ffmpeg (read the depshttps://developer.nvidia.com/nvidia-video-codec-sdk) I ran your command in F28 using ffmpeg-3.4 and nvidia-387.22 and it works. I was using 384.90. I've upgraded to 387.22, but it still fails in the same way. ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org
Re: ffmpeg with nvenc
If your using 375.66 it is too old to work with ffmpeg (read the deps https://developer.nvidia.com/nvidia-video-codec-sdk) I ran your command in F28 using ffmpeg-3.4 and nvidia-387.22 and it works. Loaded lib: libcuda.so.1 Loaded sym: cuInit Loaded sym: cuDeviceGetCount Loaded sym: cuDeviceGet Loaded sym: cuDeviceGetName Loaded sym: cuDeviceComputeCapability Loaded sym: cuCtxCreate_v2 Loaded sym: cuCtxPushCurrent_v2 Loaded sym: cuCtxPopCurrent_v2 Loaded sym: cuCtxDestroy_v2 Loaded sym: cuMemAlloc_v2 Loaded sym: cuMemFree_v2 Loaded sym: cuMemcpy2D_v2 Loaded sym: cuGetErrorName Loaded sym: cuGetErrorString Loaded lib: libnvidia-encode.so.1 Loaded sym: NvEncodeAPICreateInstance Loaded sym: NvEncodeAPIGetMaxSupportedVersion [h264_nvenc @ 0x555bcae63b60] Loaded Nvenc version 8.1 [h264_nvenc @ 0x555bcae63b60] Nvenc initialized successfully [h264_nvenc @ 0x555bcae63b60] 1 CUDA capable devices found [h264_nvenc @ 0x555bcae63b60] [ GPU #0 - < GeForce GTX 660 > has Compute SM 3.0 ] [h264_nvenc @ 0x555bcae63b60] supports NVENC frame=61303 fps=182 q=20.0 Lsize= 756139kB time=00:42:36.80 bitrate=2422.7kbits/s speed=7.58x video:635295kB audio:119852kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.131376% Input file #0 (video.mkv): Input stream #0:0 (video): 61303 packets read (786332798 bytes); 61303 frames decoded; Input stream #0:1 (audio): 79901 packets read (122727936 bytes); Total: 141204 packets (909060734 bytes) demuxed Output file #0 (test.mkv): Output stream #0:0 (video): 61303 frames encoded; 61303 packets muxed (650542493 bytes); Output stream #0:1 (audio): 79901 packets muxed (122727936 bytes); Total: 141204 packets (773270429 bytes) muxed 61303 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x55ef0f3e9b40] Statistics: 996 seeks, 3817 writeouts [h264_nvenc @ 0x55ef0f2f23a0] Nvenc unloaded [AVIOContext @ 0x55ef0f2d26c0] Statistics: 909609443 bytes read, 1 seeks ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org
Re: ffmpeg with nvenc
On 10/18/2017 12:59 AM, Nicolas Chauvet wrote: You need xorg-x11-drv-nvidia-cuda and probably the version in rpmfusion-nonfree-updates-testing. As my log output displays I have the CUDA driver installed and ffmpeg is loading it. Yes, I am using version 384.90. ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org
Re: ffmpeg with nvenc
2017-10-18 1:26 GMT+02:00 Michael Cronenworth: > Has anyone had success with encoding using NVENC? > > ffmpeg-3.3.4-1.fc26.x86_64 > GeForce 750 Ti > > When I try: > $ ffmpeg -i video.mkv -c:v h264_nvenc -profile:v high -c:a copy -v:profile > trace test.mkv You need xorg-x11-drv-nvidia-cuda and probably the version in rpmfusion-nonfree-updates-testing. https://trac.ffmpeg.org/wiki/HWAccelIntro#NVENC ___ rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org