normally start recording camera image command:
ffmpeg -y -f vfwcap -r 25 -i 0 out.mp4
but i'm not sure coded use in here (i'm beginning adventure ffmpeg), found on this webpage command:
ffmpeg -i input -c:a copy -x265-params crf=25 out.mov
but when run - following error: input: no such file or directory"
i changed input word above 0
, command is
ffmpeg -i 0 -c:a copy -x265-params crf=25 out.mov
, error stays similar (0: no such file or directory
). how can grab camera image , save file while using h.265?
you'll have better understanding of how ffmpeg
works , each parameter means. documentation is here, have fun.
in case:
|------ input ------||----- output ------| ffmpeg -y -f vfwcap -r 25 -i 0 -c:v libx265 out.mp4
your input vfwcap
device id 0
captures @ rate of 25 fps
. output mp4
file containing video stream encoded libx265
.
if use -i 0
wihtout format assumes you're trying input file, , can't find file.
for work need have x265
encoder installed on system , ffmpeg compiled with libx265
support.
Comments
Post a Comment