Hi,
I'm using the following pipeline to download some Real Audio streams and convert them to MP3 on the fly: gst-launch-0.10 rtspsrc location=some_url \ ! decodebin2 \ ! lamemp3enc target=quality quality=9 \ ! filesink location=some_file.mp3 It works perfectly, but never ends, even when some_file.mp3 has clearly reached the correct lenght and is not updated any longer! Note that the streams I'm talking about are just audio files made available only as RTSP streams, but they all have a finite length. How can I have such a pipeline exit when the stream reaches its end? Best regards. -- andrea <[hidden email]> _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
gst-launch has a switch to force eos - end of stream. Try with that
-------------------------- Luck favors the prepared mind. (Pasteur) _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Wed, 2011-04-20 at 08:40 -0700, Fabrizio Milo aka misto wrote:
> gst-launch has a switch to force eos - end of stream. Try with that Thanks for your advice, but it didn't work. Best regards. > -------------------------- > Luck favors the prepared mind. (Pasteur) > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Andrea-2
Il giorno mer, 20/04/2011 alle 17.23 +0200, andrea ha scritto: > Hi, > > I'm using the following pipeline to download some Real Audio streams and > convert them to MP3 on the fly: > > gst-launch-0.10 rtspsrc location=some_url \ > ! decodebin2 \ > ! lamemp3enc target=quality quality=9 \ > ! filesink location=some_file.mp3 > > It works perfectly, but never ends, even when some_file.mp3 has clearly > reached the correct lenght and is not updated any longer! > what version of plugins-good? try 0.10.27 or 0.10.28 there was a bug with the EOS message with rtsp in some version I don't remember the exact version number > Note that the streams I'm talking about are just audio files made > available only as RTSP streams, but they all have a finite length. > > How can I have such a pipeline exit when the stream reaches its end? > > Best regards. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
after adding the SET_PARAMETER for setting real streams bandwidth, I've tried this with git head and it doesn't help.. probably I'll have to provide some more logs (and probably it's the case to file a bug). Regards On Thu, Apr 21, 2011 at 12:22 PM, Mailing List SVR <[hidden email]> wrote: > > > Il giorno mer, 20/04/2011 alle 17.23 +0200, andrea ha scritto: >> Hi, >> >> I'm using the following pipeline to download some Real Audio streams and >> convert them to MP3 on the fly: >> >> gst-launch-0.10 rtspsrc location=some_url \ >> ! decodebin2 \ >> ! lamemp3enc target=quality quality=9 \ >> ! filesink location=some_file.mp3 >> >> It works perfectly, but never ends, even when some_file.mp3 has clearly >> reached the correct lenght and is not updated any longer! >> > > what version of plugins-good? try 0.10.27 or 0.10.28 there was a bug > with the EOS message with rtsp in some version I don't remember the > exact version number > >> Note that the streams I'm talking about are just audio files made >> available only as RTSP streams, but they all have a finite length. >> >> How can I have such a pipeline exit when the stream reaches its end? >> >> Best regards. > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Mailing List SVR
On Thu, 2011-04-21 at 11:22 +0200, Mailing List SVR wrote:
> > Il giorno mer, 20/04/2011 alle 17.23 +0200, andrea ha scritto: > > Hi, > > > > I'm using the following pipeline to download some Real Audio streams and > > convert them to MP3 on the fly: > > > > gst-launch-0.10 rtspsrc location=some_url \ > > ! decodebin2 \ > > ! lamemp3enc target=quality quality=9 \ > > ! filesink location=some_file.mp3 > > > > It works perfectly, but never ends, even when some_file.mp3 has clearly > > reached the correct lenght and is not updated any longer! > > > > what version of plugins-good? try 0.10.27 or 0.10.28 there was a bug > with the EOS message with rtsp in some version I don't remember the > exact version number 0.10.24, I'll try the one you said, thanks. > > > Note that the streams I'm talking about are just audio files made > > available only as RTSP streams, but they all have a finite length. > > > > How can I have such a pipeline exit when the stream reaches its end? > > > > Best regards. > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |