Pipeline to get only video from .mp4 file

CNA arunaa.n23 at wipro.com
Mon Jan 20 04:24:09 PST 2014


Hi,

I need to (extract) play only video from .mp4 file through a gstreamer
pipeline.

I am testing this pipeline on the TI DM8148 board, in which requirement is
not to use OMX (hardware) components( only use software encoders).

*gst-launch filesrc location=/home/sample1/Holymonks.mp4 ! qtdemux
name=demux ! queue ! h264parse ! ffdec_h264 ! v4l2sink*
Below is the error obtained : 
/Setting pipeline to PAUSED ...
** (gst-launch-0.10:3658): CRITICAL **: gst_v4l2sink_sync_rotation:
assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &c
ontrol) >= 0' failed
** (gst-launch-0.10:3658): CRITICAL **: gst_v4l2sink_sync_rotation:
assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &c
ontrol) >= 0' failed
** (gst-launch-0.10:3658): CRITICAL **: gst_v4l2sink_sync_flip: assertion
`v4l2_ioctl (fd, VIDIOC_S_CTRL, &contr
ol) >= 0' failed
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: GStreamer
encountered a general stream error.
Additional debug info:
qtdemux.c(3838): gst_qtdemux_loop ():
/GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason error
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
!!!!!!!!!unreference all the remaining buffers!!!!!!!!!Freeing pipeline .../


Can anybody please tell me whether the pipeline used above is correct. As I
am learning Gstreamer, kindly provide suggestions on what basis I need to
join elements in pipeline to get only video from .mp4 file.

Help me to overcome this error and progress further, I could not find how to
form a gstreamer pipeline to get only video.

Thanks.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pipeline-to-get-only-video-from-mp4-file-tp4664773.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list