[FFmpeg-user] 4K 60Hz Directshow Video Capture

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Feb 12 23:29:01 EET 2018


2018-02-12 16:37 GMT+01:00 Alex P <alex.p at avenview.com>:

> Command: ffmpeg -f dshow -video_size 3840x2160 -framerate 59.9 -rtbufsize
> 2100000000 -pixel_format bgr24 -i video="MZ0380 PCI, Analog 01 Capture" -c:v
> libx265 -x265-params lossless=1 out1.avi

Unrelated:
-framerate 59.9 is most likely wrong, should be 60000/1001

> frame=   74 fps= 10 q=-0.0 Lsize=N/A time=00:00:01.43 bitrate=N/A speed=0.202x

The encoder is (far!) too slow, you could try with -vcodec ffv1,
but you most likely will have to either use a significantly more
expensive CPU, or a lower resolution or a lower frame rate.
If you have sufficiently fast disks, you can try to save rawvideo
(and re-encode later).

[...]

> Any help would be appreciated. 1080p capture right to rawvideo is perfect. I
> would like to use NVENC in lossless mode if anyone has experience with that.

Is there really a hardware encoder that supports lossless encoding?
If yes, why did you use software encoding at all above?

Carl Eugen


More information about the ffmpeg-user mailing list