Open goulou opened 5 months ago
if Hardware acceleration is not available, the following code fails :
if video_width >= video_height: pipe += "-vf 'format=nv12,hwupload,scale_vaapi=w=-2:h=" + conf.get('OutputVideo', 'VIDEO_MAX_H_W') + "' " else: pipe += "-vf 'format=nv12,hwupload,scale_vaapi=w=" + conf.get('OutputVideo', 'VIDEO_MAX_H_W') + ":h=-2' "
hwupload filter should be removed, and scale_vaapi replaced with scale
hwupload
scale_vaapi
scale
Will try to make a PR.
if Hardware acceleration is not available, the following code fails :
hwupload
filter should be removed, andscale_vaapi
replaced withscale
Will try to make a PR.