Skip to content

Commit

Permalink
Change video codec for capture to be libx264 with loseless options
Browse files Browse the repository at this point in the history
As discovered, 646fbbe
went from -f v4l2 -vcodec libx264 -pix_fmt yuv420p -threads 0   to   -c:v copy
which results in totally uncompressed recording... may be was done so that CPU
fan does not make  noise... I do not know.  So I have now changed config in deployment
to do use this libx264 options which chatgpt said would be the ones for loseless compression.
  • Loading branch information
yarikoptic committed Jan 6, 2024
1 parent e44d1cc commit cf19289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Capture/videocapture/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ffm_opts:
#
#v_dev: "/dev/video4"
v_dev: "auto"
v_enc: "-c:v copy"
v_enc: "-c:v libx264 -preset veryslow -crf 0"
pix_fmt: ""
n_threads: ""
a_enc: "-acodec aac"
Expand Down

0 comments on commit cf19289

Please sign in to comment.