diff --git a/README.md b/README.md index 79ee087..4c7ee00 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ gst-launch-1.0 -e v4l2src device="/dev/video0" ! videoconvert ! queue ! x264enc # same thing but works fine after restart. make sure alsa settings not screwed up tho? gst-launch-1.0 -e v4l2src device="/dev/video0" ! videoconvert ! queue ! x264enc tune=zerolatency ! mux. alsasrc ! queue ! audioconvert ! audioresample ! voaacenc ! aacparse ! qtmux name=mux ! filesink location=test.mp4 sync=false + +# WITH vaapih264enc (hw acceleration if hardware + driver support on system) +# note: weird that we need h264parse maybe because of needed mux sink capabilities +gst-launch-1.0 -e v4l2src device="/dev/video0" ! videoconvert ! queue ! vaapih264enc ! h264parse ! mux. alsasrc ! queue ! audioconvert ! audioresample ! voaacenc ! aacparse ! qtmux name=mux ! filesink location=test.mp4 sync=false + ``` # ffmpeg diff --git a/vaapienc_record.mp4 b/vaapienc_record.mp4 new file mode 100644 index 0000000..54d8ca3 Binary files /dev/null and b/vaapienc_record.mp4 differ diff --git a/x264_mp4_recording.mp4 b/x264_mp4_recording.mp4 new file mode 100644 index 0000000..7efc3ff Binary files /dev/null and b/x264_mp4_recording.mp4 differ