Rtspsrc streaming error

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

Rtspsrc streaming error

avinash kumar-2
Hi,

I am working with the RTSP streaming  using  Darwin server.  When tring to stream getting following errors.
1. With
gst-launch  rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 ! rtpmp4vdepay ! ffdec_mpeg4 ! ffmpegcolorspace ! xvimagesink sync=false

I am getting these errors.

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1639): gst_xvimagesink_xcontext_get (): /pipeline0/xvimagesink0:
Could not open display
Setting pipeline to NULL ...
FREEING pipeline ...

2. Get the attached file (Err_log) with debug msgs enabled for the same pipeline.

gst-launch  --gst-debug=3 --gst-debug-no-color rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 ! rtpmp4vdepay ! ffdec_mpeg4 ! ffmpegcolorspace ! xvimagesink sync=false

3. When i try to store streamed file by using filesink plugin,  
gst-launch  rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 ! rtpmp4vdepay ! filesink location=~/sample_100kbit.mp4

file is getting created with some bytes. But however when I try to play the stored file, getting the same error (Could not initialize Xv output)

4. When i changed the xvimagesink with some another video sink.

gst-launch  rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 ! rtpmp4vdepay ! ffdec_mpeg4 ! gconfvideosink

getting the following error

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /autovideosink0-actual-sink-xvimage: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1639): gst_xvimagesink_xcontext_get (): /autovideosink0-actual-sink-xvimage:
Could not open display
Setting pipeline to NULL ...
FREEING pipeline ...

Could anybody please let me what can be the problems.

Regards,
KumarA



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

Err_log (56K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [gst-embedded] Rtspsrc streaming error

Stefan Sauer
hi,
avinash kumar schrieb:

> Hi,
>
> I am working with the RTSP streaming  using  Darwin server.  When
> tring to stream getting following errors.
> 1. With
> gst-launch  rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 !
> rtpmp4vdepay ! ffdec_mpeg4 ! ffmpegcolorspace ! xvimagesink sync=false
>
> I am getting these errors.
>
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /pipeline0/xvimagesink0: Could not initialise Xv
> output
> Additional debug info:
> xvimagesink.c(1639): gst_xvimagesink_xcontext_get ():
> /pipeline0/xvimagesink0:
> Could not open display
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> 2. Get the attached file (Err_log) with debug msgs enabled for the
> same pipeline.
>
> gst-launch  --gst-debug=3 --gst-debug-no-color rtspsrc
> location=rtsp://172.22.67.203/sample_100kbit.mp4 ! rtpmp4vdepay !
> ffdec_mpeg4 ! ffmpegcolorspace ! xvimagesink sync=false
>

if you use xvimagsink, you normaly don't need ffmpegcolorspace, but it
does not hurt that much either. Please also try ximagesink instead of
xvimagesink (will be slower).  Also run xvinfo to check xvideo support
of your hw. If video is HD, you might need a videoscale element too.

Stefan

>
> 3. When i try to store streamed file by using filesink plugin,  
> gst-launch  rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 !
> rtpmp4vdepay ! filesink location=~/sample_100kbit.mp4
>
> file is getting created with some bytes. But however when I try to
> play the stored file, getting the same error (Could not initialize Xv
> output)
>
> 4. When i changed the xvimagesink with some another video sink.
>
> gst-launch  rtspsrc location=rtsp://172.22.67.203/sample_100kbit.mp4 !
> rtpmp4vdepay ! ffdec_mpeg4 ! gconfvideosink
>
> getting the following error
>
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /autovideosink0-actual-sink-xvimage: Could not
> initialise Xv output
> Additional debug info:
> xvimagesink.c(1639): gst_xvimagesink_xcontext_get ():
> /autovideosink0-actual-sink-xvimage:
> Could not open display
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> Could anybody please let me what can be the problems.
>
> Regards,
> KumarA
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gstreamer-embedded mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel