Lindeni Forum

Full Version: GStreamer - capture & write video
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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