AW: Writing Video and reading in same time
Zelalem Sintayehu
zelalems at hotmail.com
Sat Jun 25 09:47:21 PDT 2011
Hi I have a similar problem but in my case I want to store and retrieve raw rtp packets. Is it possible to do this as well or the filesink requires a specific file format? I put my question here because I thought the issue is the same. Basically I want the functionality of a buffer but because the data will be too big I want to store it in a file temporarily.
Thank you.
- Zelalem S.
From: bernhard.graaf at gmx.de
To: gstreamer-devel at lists.freedesktop.org
Subject: AW: Writing Video and reading in same time
Date: Sat, 25 Jun 2011 18:35:43 +0200
Hi Stefan,
Yes, no problem.
I’m using my own
C-Program for that, but my pipe is looks like:
Server:
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)
Client:
playbin2 video-sink=xvimagesink uri=xyz.mpg
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.
Thanks
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org] Im Auftrag von Stefan Kost
Gesendet: Samstag, 25. Juni 2011
18:09
An:
gstreamer-devel at lists.freedesktop.org
Betreff: Re: Writing Video and
reading in same time
On 06/25/11 17:56, Bernhard Graaf wrote:
Hi,
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.
Stefan
Thanks’ for your help!!!!
Bernhard
_______________________________________________gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110625/06210b69/attachment.htm>
More information about the gstreamer-devel
mailing list