[quicktime flux] how to use rtpxqtdepay ?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[quicktime flux] how to use rtpxqtdepay ?

Julien Isorce
Hi,

I need an example that shows how to use rtpxqtdepay.

I have tried to play the streamed video there : http://www.apple.com/quicktime/qtv/iphoneroadmap/
But I do not know the url and the src element to use :

gst-launch-0.10 rtpsrc location="url:..."  !
rtpxqtdepay ! qtdemux ! ffmpegcolorspace ! qtdemux name=demux demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink

Have you an url example, what do I have to use for src element ?

Thx

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [quicktime flux] how to use rtpxqtdepay ?

Wim Taymans
On Fri, 2008-03-14 at 17:54 +0100, Julien Isorce wrote:

> Hi,
>
> I need an example that shows how to use rtpxqtdepay.
>
> I have tried to play the streamed video there :
> http://www.apple.com/quicktime/qtv/iphoneroadmap/
> But I do not know the url and the src element to use :
>
> gst-launch-0.10 rtpsrc location="url:..."  ! rtpxqtdepay ! qtdemux !
> ffmpegcolorspace ! qtdemux name=demux demux.audio_00 ! decodebin !
> audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue !
> decodebin ! ffmpegcolorspace ! videoscale ! autovideosink
>
> Have you an url example, what do I have to use for src element ?

Following the .mov in the page source and then the redirects in the
quicktime movie resolves to this, which plays fine for me:

gst-launch rtspsrc
location=rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov name=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink  s. ! rtpmp4gdepay ! faad ! alsasink


Wim
>
> Thx
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [quicktime flux] how to use rtpxqtdepay ?

Julien Isorce
Nice it works fine. I have tested it on kubuntuKDE4cd installed on a virtual machine (virtual box).
I am usually on windows and I am impatient that rtspsrc works on windows. (http://bugzilla.gnome.org/show_bug.cgi?id=518745)

Then I have an other question that I posted there about rtspsrc freebox multirooms:
http://bugzilla.gnome.org/show_bug.cgi?id=516911
Comment #17

Thx

Sincerely

Julien



2008/3/14, Wim Taymans <[hidden email]>:
On Fri, 2008-03-14 at 17:54 +0100, Julien Isorce wrote:
> Hi,
>
> I need an example that shows how to use rtpxqtdepay.
>
> I have tried to play the streamed video there :
> http://www.apple.com/quicktime/qtv/iphoneroadmap/
> But I do not know the url and the src element to use :
>
> gst-launch-0.10 rtpsrc location="url:..."  ! rtpxqtdepay ! qtdemux !
> ffmpegcolorspace ! qtdemux name=demux demux.audio_00 ! decodebin !
> audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue !
> decodebin ! ffmpegcolorspace ! videoscale ! autovideosink
>
> Have you an url example, what do I have to use for src element ?


Following the .mov in the page source and then the redirects in the
quicktime movie resolves to this, which plays fine for me:

gst-launch rtspsrc
location=rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov name=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink  s. ! rtpmp4gdepay ! faad ! alsasink


Wim
>
> Thx
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [quicktime flux] how to use rtpxqtdepay ?

Wim Taymans
In reply to this post by Wim Taymans
On Sat, 2008-03-15 at 14:35 +0100, Julien Isorce wrote:
> I do not understand how did you get the url :
> rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov

> In the source page there is :
> http://stream.qtv.apple.com/events/mar/rtp20e92/m_08770365506i_650_ref.mov

if you run

gst-launch -m gnomevfssrc location=http://stream.....650_ref.mov !
qtdemux

you'll see a redirect message to

http://stream.qtv.apple.com/events/mar/rtp20e92/08770365506i_2_650_ref.mov

then with

gst-launch -m gnomevfssrc location=http://stream..2_650_ref.mov !
qtdemux

you find another redirect to the real RTSP url above.

Wim

> I put the http url in an other webbrowser tab but then where are
> quicktime movies's redirects ?
>
> thx
>
>
> 2008/3/14, Wim Taymans <[hidden email]>:
>        
>        
>         Following the .mov in the page source and then the redirects
>         in the
>         quicktime movie resolves to this, which plays fine for me:
>        
>         gst-launch rtspsrc
>         location=rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov name=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink  s. ! rtpmp4gdepay ! faad ! alsasink
>        
>         Wim
>         >
>         > Thx
>         >
>         -------------------------------------------------------------------------
>         > This SF.net email is sponsored by: Microsoft
>         > Defy all challenges. Microsoft(R) Visual Studio 2008.
>         > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>         > _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>        
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [quicktime flux] how to use rtpxqtdepay ?

Julien Isorce
Perfect. Thx


2008/3/17, Wim Taymans <[hidden email]>:
On Sat, 2008-03-15 at 14:35 +0100, Julien Isorce wrote:
> I do not understand how did you get the url :
> rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov

> In the source page there is :
> http://stream.qtv.apple.com/events/mar/rtp20e92/m_08770365506i_650_ref.mov


if you run

gst-launch -m gnomevfssrc location=http://stream.....650_ref.mov !
qtdemux

you'll see a redirect message to

http://stream.qtv.apple.com/events/mar/rtp20e92/08770365506i_2_650_ref.mov

then with

gst-launch -m gnomevfssrc location=http://stream..2_650_ref.mov !
qtdemux

you find another redirect to the real RTSP url above.


Wim


> I put the http url in an other webbrowser tab but then where are
> quicktime movies's redirects ?
>
> thx
>
>
> 2008/3/14, Wim Taymans <[hidden email]>:
>
>
>         Following the .mov in the page source and then the redirects
>         in the
>         quicktime movie resolves to this, which plays fine for me:
>
>         gst-launch rtspsrc
>         location=rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov name=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink  s. ! rtpmp4gdepay ! faad ! alsasink
>
>         Wim
>         >
>         > Thx
>         >
>         -------------------------------------------------------------------------
>         > This SF.net email is sponsored by: Microsoft
>         > Defy all challenges. Microsoft(R) Visual Studio 2008.
>         > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>         > _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [quicktime flux] how to use rtpxqtdepay ?

Julien Isorce
In reply to this post by Wim Taymans
Hi;

Is it possible to play a video/audio stream from youtube or dailymotion, with gstreamer ?

I tried to retrieve the correct url with gnomevfssrc but I got the following :

from kubuntu-KDE4 :

In source page I got the video_src :http://www.dailymotion.com/swf/x5merm?autoPlay=1

then I do the thing:

gst-launch-0.10 -m gnomevfssrc location="http://www.dailymotion.com/swf/x5merm?autoPlay=1" ! fakesink
Définition du pipeline à PAUSED...
ERREUR : le pipeline refuse de se mettre en pause.
Message reçu de l'élément « fakesink0 » (state-changed) : GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Message reçu de l'élément « gnomevfssrc0 » (state-changed) : GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Message reçu de l'élément « pipeline0 » (state-changed) : GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
Message reçu de l'élément « gnomevfssrc0 » (error) : GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstgnomevfssrc.c\(848\):\ gst_gnome_vfs_src_start\ \(\):\ /pipeline0/gnomevfssrc0:\012No\ filename\ given";
ERREUR : de l'élément /pipeline0/gnomevfssrc0 : Impossible d'ouvrir la ressource en lecture.
Information de débogage supplémentaire :
gstgnomevfssrc.c(848): gst_gnome_vfs_src_start (): /pipeline0/gnomevfssrc0:
No filename given
Définition du pipeline à NULL...
Libération du pipeline (FREE)...

Where am I wrong ?

Thx


2008/3/17 Wim Taymans <[hidden email]>:
if you run

gst-launch -m gnomevfssrc location=http://stream.....650_ref.mov !
qtdemux

you'll see a redirect message to

http://stream.qtv.apple.com/events/mar/rtp20e92/08770365506i_2_650_ref.mov

then with

gst-launch -m gnomevfssrc location=http://stream..2_650_ref.mov !
qtdemux

you find another redirect to the real RTSP url above.

Wim

> I put the http url in an other webbrowser tab but then where are
> quicktime movies's redirects ?
>
> thx
>
>
> 2008/3/14, Wim Taymans <[hidden email]>:
>
>
>         Following the .mov in the page source and then the redirects
>         in the
>         quicktime movie resolves to this, which plays fine for me:
>
>         gst-launch rtspsrc
>         location=rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/08770365506i_2_220.mov name=s ! rtpxqtdepay ! ffdec_h264 ! xvimagesink  s. ! rtpmp4gdepay ! faad ! alsasink
>
>         Wim
>         >
>         > Thx
>         >
>         -------------------------------------------------------------------------
>         > This SF.net email is sponsored by: Microsoft
>         > Defy all challenges. Microsoft(R) Visual Studio 2008.
>         > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>         > _______________________________________________
>         gstreamer-devel mailing list
>         [hidden email]
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel