Lindeni Forum
GStreamer - capture & write video - Printable Version

+- Lindeni Forum (http://forum.lindeni.org)
+-- Forum: Lindenis V5 (http://forum.lindeni.org/forumdisplay.php?fid=5)
+--- Forum: General Discussion on Lindenis V5 (http://forum.lindeni.org/forumdisplay.php?fid=6)
+--- Thread: GStreamer - capture & write video (/showthread.php?tid=7250)



GStreamer - capture & write video - ssdmt - 11-26-2019

hi
I found how to use gstreamer in official lindeni site:

Omx hardware H.264 decoder and encoder
         omxh264videoenc: OpenMAX H.264 Video Encoder

Example:
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts

QUESTIONS:
1)  Is it possible to use other encoders (for example for h265)
2)  how to write mp4 ? (mp4mux  don't work)
3) why the gstreamer (above example) write ts file with 7-9 fps (fullhd) only??!!! I need 25-30 fps...

Please help