AW: Writing Video and reading in same time

Bernhard Graaf bernhard.graaf at
Sat Jun 25 09:35:43 PDT 2011

Hi Stefan,


Yes, no problem.

I'm using my own C-Program for that, but my pipe is looks like:



Dvbsrc ! mpegtsmux name=demux demux.video_xxxx ! queue ! mpegpsmux name=mux
! filesink location=xyz.mpg demux.audo_xxxx ! queue ! mux. (converting
Mpeg-TS to Mpeg-PS --> is running well)



1.	playbin2 video-sink=xvimagesink uri=xyz.mpg
2.	filesrc location=xyz.mpg ! mpegpsdemux name=demux ! queue ! mpeg2dec
! xvimagsink demux. ! queue ! mad ! alsasink


Both of them are running well with a closed file (have a given file length).

But also both of the have the same problem: running to the point of file,
where the file length was as opening time.





Von: at
[ at]
Im Auftrag von Stefan Kost
Gesendet: Samstag, 25. Juni 2011 18:09
An: gstreamer-devel at
Betreff: Re: Writing Video and reading in same time


On 06/25/11 17:56, Bernhard Graaf wrote: 



I have a problem with gstreamer.

I write a video stream in a file and try to read it with another process (a
few seconds later).

If I link the reading pipe using filesrc or playbin2 and could only see the
video as long as the file is in opening time.

For example:

If the file is only 4 seconds long in the time I link the reading pipe, I
could only see this 4 seconds, but the writing pipe is running and the file
is much longer in the meantime (sorry for my bad English).

I hope you can understand my problem.

Here my question:

Is there any solution to write a video file with one process and read it
with another pipe?

What format are you using. Could you explain the scenario better. Do you
wnat to relay a we-stream? Maybe you can stream the video without writing it
to a file buffer.



Thanks' for your help!!!!



gstreamer-devel mailing list
gstreamer-devel at


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list