fuzzymonkey
New Member
Hi. I can use h264 software encoding on Ubuntu 17.10, but this maxes out my CPU and causes dropped frames.
I can use h264 hardware (vaapi) encoding with an ffmpeg command like:
So I know that hardware encoding is possible on some level. How can I get it working in OBS? When I select ffmpeg and h264_vaapi I get the error "An unspecified error occurred while recording." This is the output in the terminal:
Log file included as well.
I can use h264 hardware (vaapi) encoding with an ffmpeg command like:
Code:
ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i ~/Videos/MOV_0146.mp4 -an -c:v h264_vaapi ~/Videos/MOV_0146sml.mp4
So I know that hardware encoding is possible on some level. How can I get it working in OBS? When I select ffmpeg and h264_vaapi I get the error "An unspecified error occurred while recording." This is the output in the terminal:
Code:
warning: rtmp-common.c: [initialize_output] Could not find service ''
warning: Failed to open video codec: Invalid argument
warning: ffmpeg_data_init failed
info: ==== Recording Stop ================================================
Log file included as well.