Changes

Jump to navigation Jump to search
Line 426: Line 426:  
*Record FHD in H.264 format to a video file
 
*Record FHD in H.264 format to a video file
   −
<code>gst-launch-1.0 nvv4l2camerasrc  num-buffers=300 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! omxh264enc qp-range=20,20:20,20:-1,-1 ! matroskamux ! queue ! filesink location=videoname.mkv</code>
+
<code><s>gst-launch-1.0 nvv4l2camerasrc  num-buffers=300 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! omxh264enc qp-range=20,20:20,20:-1,-1 ! matroskamux ! queue ! filesink location=videoname.mkv</s></code>
 +
 
 +
<code>gst-launch-1.0 nvv4l2camerasrc num-buffers=300 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=filename.mp4 -e</code>
    
*Playback of saved video file
 
*Playback of saved video file

Navigation menu