Capture encode usecase for CSI camera ?

ssshukla26 ssshukla26 at gmail.com
Mon Nov 21 12:20:46 UTC 2016


Sorry my bad, the x264enc is not working on my custom hardware, it worked on
my Desktop without any problem. So I used avenc_flv for encoding as follows.

/#Capture - Encode Usecase/
*-Failed*
gst-launch-1.0 -e v4l2src device=/dev/video0 !
video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! videoparse
format=uyvy width=1920 height=1080 framerate=30/1 ! videoconvert !
video/x-raw,format=I420,width=1920,height=1080,framerate=30/1 ! *x264enc !
mp4mux ! filesink location=final.mp4*

*-Passed (with frame rate issue)*
gst-launch-1.0 -e v4l2src device=/dev/video0 !
video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! videoparse
format=uyvy width=1920 height=1080 framerate=30/1 ! videoconvert !
video/x-raw,format=I420,width=1920,height=1080,framerate=30/1 ! *avenc_flv !
flvmux ! filesink location=final.flv*

But am facing *frame rate issue* while using avenc_flv, i am expecting 30fps
but the output file generated is running like someone is fast forwarding the
video.

I didn't understand why *x264enc is not working* ? Is there any problem with
my command line ? Please help.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Capture-encode-usecase-for-CSI-camera-tp4680807p4680808.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list