diff --git a/rtfd/public/ffmpeg/snippets.rst b/rtfd/public/ffmpeg/snippets.rst index 59df04f..7a2f438 100644 --- a/rtfd/public/ffmpeg/snippets.rst +++ b/rtfd/public/ffmpeg/snippets.rst @@ -37,6 +37,16 @@ Acquire fastly -codec:v libx264 -preset ultrafast -qp 0 \ -y ultrafast.mkv +.. code:: shell + + ffmpeg \ + -f v4l2 -use_wallclock_as_timestamps true \ + -video_size 1920x1080 -framerate 60 \ + -input_format yuyv422 \ + -i /dev/video0 \ + -codec:v libx264 -preset ultrafast -qp 0 \ + -y ultrafast.mkv + Windows desktop: .. code:: shell