Skip to content

Commit

Permalink
fix: framerate
Browse files Browse the repository at this point in the history
  • Loading branch information
stergiotis committed Oct 2, 2024
1 parent 5be05eb commit cd126c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skia/video_userinput.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ resH=1080
pid=$!
ffmpeg -hide_banner \
-re -fflags +genpts \
-framerate 60 \
-f image2pipe -vcodec bmp -i transferRawFrames \
-flags +global_header -r 30000/1001 \
-an \
-vaapi_device /dev/dri/renderD128 \
-vf "format=nv12,hwupload,scale_vaapi=w=$resW:h=$resH" \
-vf "fps=60,format=nv12,hwupload,scale_vaapi=w=$resW:h=$resH" \
-c:v h264_vaapi -qp:v 26 -bf 0 -qp:v 26 -bf 0 -async_depth 4 \
-f nut "pipe:1" | \
../../contrib/FFmpeg/ffplay -hide_banner \
Expand Down

0 comments on commit cd126c5

Please sign in to comment.