AnsweredAssumed Answered

[i.mx6q SABRE ] Questions about video encoding form a camera with gstreamer 0.10

Question asked by Jimmy Su on Aug 30, 2013
Latest reply on Sep 4, 2013 by Leonardo Sandoval Gonzalez
Branched to a new discussion

Hello Mr./Mrs.


[Develop Environment]

H.W. : Freescale i.MX6q SABRE board  / ov5640_camera

S.W. : L3.0.35_4.0.0_130424_Source / gstreamer-0.10.35 / gst-fsl-plugins-3.0.7


[Issue Description]

After studied disscusion on this community ; GStreamer i.MX6 Pipelines  , Re: How to do video encoding (h264 .mp4) file using gstreamer in IMX6Q?

We still encounter two problems during encode video from ov5640.


Q1.  Does freescale gst-plugins support mp4mux ?

 

It works fine if we encode video with matroskamux but we can't play video after we replaced matroskamux to mp4mux. The command as bellow:


 

root@freescale /$ gst-launch -v --gst-debug=2 mfw_v4lsrc fps-n=30 capture-mode=4 ! queue ! vpuenc ! mp4mux ! filesink location=output.mp4 sync=false



Q2.  When we set "vpuenc codec=6" for H.264 encoding it will interrupt after half minutes. How to fix this error ?


[Error Log]

0:00:35.031735337  2906    0xd17d0 WARN              mfw_v4lsrc mfw_gst_v4lsrc.c:1210:mfw_gst_v4lsrc_buffer_new: no buffer available in pool
0:00:35.032118671  2906    0xd17d0 WARN                 basesrc gstbasesrc.c:2582:gst_base_src_loop:<mfwgstv4lsrc0> error: Internal data flow error.
0:00:35.032296337  2906    0xd17d0 WARN                 basesrc gstbasesrc.c:2582:gst_base_src_loop:<mfwgstv4lsrc0> error: streaming task paused, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0: Internal data flow error.


If you need detail log or more info.  please feel free to let me know.



Thanks for your time,


Jimmy Su

Outcomes