Philippe Khalaf wrote:
> On Mon, 18 Sep 2006 15:46:10 +0800
> "Fu Hao" <[EMAIL PROTECTED]> wrote:
> 
>> Hello, Everyone:
>>
>>     I use these two commands:
>>
>>     1)    gst-launch -v filesrc location=[PATH] ! qtdemux ! rtpmp4vpay !
>> rtpbin localport=10000 destinations=127.0.0.1:10010
>>
>>     2)    gst-launch -v rtpbin localport=10010 ! rtpmp4vdepay ! decode !
>> xvimagesink
>>
>>     The First Command ran well, and end with a 'EOS' .
>>
>>     The Second Command also ran well, but it can not exit when the film
>> finished.
>>
>>     So, How can I let 'rtpbin' know the film is finished ?
> The problem is that your second line has a network source. So it cannot
> really know when the film is finished. The first pipeline knows because
> the file ends. There isn't really any way to get an EOS from that
> network source...
> 

However, the MPEG 4 stream can contain an EOS, iirc, so it should be
decodebin that should do an EOS buffer. I have no idea if ffmpeg or
gst-ffmpeg is up to that task though. Might be worth asking on the
gstreamer mailing list.

Thanks,
Rob Taylor

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel

Reply via email to