gstreamer-0.10

Gstreamer does not sink to named pipe

不问归期 提交于 2019-12-12 14:22:44
问题 I'm getting different behavior when the sink of a gst-launch pipeline is a named pipe vs a normal file. I have a gst-launch pipeline which displays video from a camera on an OMAP embedded (linux) board and delivers the video as avi via a tee. gst-launch -v -e omx_camera device=0 do-timestamp=1 mode=0 name=cam cam.src ! "video/x-raw-yuv, format=(fourcc)NV12, width=240, height=320, framerate=30/1" ! tee name=t1 t1. ! queue ! ducatih264enc profile=100 level=50 rate-preset=low-delay bitrate=24000

Error in pipeline porting pygst program from gstreamer 0.10 to 1.0

余生颓废 提交于 2019-12-11 13:18:47
问题 I'm porting a program from pygst 0.10 to 1.0 and I've problems with the pipeline. The pipeline I use in the 0.10 version, and works well, is: udpsrc name=src ! tsparse ! tsdemux ! queue ! ffdec_h264 max-threads=0 ! identity ! xvimagesink force-aspect-ratio=True name=video For the 1.0 version the pipeline should be something like: udpsrc name=src ! tsparse ! tsdemux ! queue ! avdec_h264 ! videoconvert ! xvimagesink force-aspect-ratio=True name=video The code is: self.pipeline = Gst.Pipeline()

Grab the frame from gst pipeline to opencv with python

爱⌒轻易说出口 提交于 2019-12-11 00:42:24
问题 I'm using OpenCV and GStreamer 0.10 . I use this pipeline to receive the MPEG ts packets over UDP with a custom socket sockfd provided by python and display it with xvimagesink , and it works perfectly. Following commend line is for this pipeline: PIPELINE_DEF = "udpsrc do-timestamp=true name=src blocksize=1316 closefd=false buffer-size=5600 !" \ "mpegtsdemux !" \ "queue !" \ "ffdec_h264 max-threads=0 !" \ "ffmpegcolorspace !" \ "xvimagesink name=video" Now, I want to get one frame from this

How to flush gstreamer pipeline

二次信任 提交于 2019-12-08 04:19:55
问题 Case Reading from a file continuously and feeding to appsrc element. Source - appsrc I have a GStreamer pipeline in PLAYING state. Now would want the pipeline to flush / clean when I press a button that means appsrc queue should be cleared. The playback should start from whatever buffers are now added to / or were added after flush. Issue the APIs I used returned false. I am not able to flush. fprintf(stderr, "The flush event start was <%d>",gst_element_send_event(GST_ELEMENT (pipe), gst

gstreamer appsrc test application

主宰稳场 提交于 2019-11-29 08:42:12
I am trying to learn gstreamer appsrc plugin to play AV from a transport stream demultiplexer that I wrote (I know plugins are already available, I wanted to do it myself to learn). I have extracted audio and video elementary streams from the MPEG transport stream; now I have to push it to the appsrc plugin and play it using a gst pipeline (this part is not yet clear to me: as to which plugins to use - any tips will be highly appreciated). I found a sample code on using appsrc , but when I run that, there is no output. I verified that start_feed and read_data functions are indeed invoked. In

gstreamer appsrc test application

我与影子孤独终老i 提交于 2019-11-28 02:01:43
问题 I am trying to learn gstreamer appsrc plugin to play AV from a transport stream demultiplexer that I wrote (I know plugins are already available, I wanted to do it myself to learn). I have extracted audio and video elementary streams from the MPEG transport stream; now I have to push it to the appsrc plugin and play it using a gst pipeline (this part is not yet clear to me: as to which plugins to use - any tips will be highly appreciated). I found a sample code on using appsrc, but when I run