[gst-devel] Error whiling playing video

Aurelien Grimaud gstelzz at yahoo.fr
Fri Nov 7 12:24:24 CET 2008


Eric Zhang a écrit :
> Hi, gstreamer-devel:
>
>     We have the same problem -- we use decodebin to play the rtsp 
> movies. If I use:
>
>     gst-launch rtspsrc location="rtsp://xxxxxx" name=d d. ! decodebin 
> ! ffmpegcolorspace ! xvimagesink d. ! decodebin ! audioconvert ! alsasink
>
>     We got the same error info: not linked (-1)
>
>     If I didn't use decodebin instead of using depay & decoder, 
> everything works well, e.g:
>
>     gst-launch rtspsrc location="rtsp://xxxxxx" name=d d. ! 
> rtph263pdepay ! ffdec_h263 ! ffmpegcolorspace ! xvimagesink d. ! 
> rtpamrdepay ! amrnbdec ! audioconvert ! alsasink
>
>     P.S: The not-linked(-1) error occurs when using decodebin doesn't 
> happen every time. Sometimes the decodebin works well. So, Is this a 
> bug of decodebin?
>
Try and use capsfilter to distinguish between your audio and your video 
branch for gst-launch to link to propers decodebin.
e.g : rtspsrc ! "application/x-rtp, media=video" ! decodebin ! 
ffmpegcolorspace ! xvimagesink

Aurelien
> Eric Zhang
>
> 2008/11/6 sudarshan bisht <bisht.sudarshan at gmail.com 
> <mailto:bisht.sudarshan at gmail.com>>
>
>     Hi ,
>          First check what all the plugins you have to demux the mpeg
>     stream . And directly use them , dont use decodebin .
>     On Sat, Nov 1, 2008 at 1:08 AM, ved kpl <ved.kpl at gmail.com
>     <mailto:ved.kpl at gmail.com>> wrote:
>
>         Hi,
>
>         Insert audioconvert after mad and try.
>
>         Ved
>
>         On Fri, Oct 31, 2008 at 7:25 PM, murugadoss
>         <v.murugadoss at gdatech.co.in
>         <mailto:v.murugadoss at gdatech.co.in>> wrote:
>         > Hi,
>         > I am working with gstreamer on i.mx <http://i.mx/> board.
>         When i try to play a video file
>         > using following command,
>         >
>         > gst-launch filesrc location=Toyota.mpeg ! decodebin
>         name=decoder decoder. !
>         > ffmpegcolorspace ! autovideosink decoder. ! mad ! alsasink
>         >
>         > i get an error message as,
>         >
>         > Setting pipeline to PAUSED ...
>         > configure_write_channel, stream_id is 0
>         > Pipeline is PREROLLING ...
>         > ERROR: from element /pipeline0/filesrc0: Internal data flow
>         error.
>         > Additional debug info:
>         > gstbasesrc.c(1642): gst_base_src_loop (): /pipeline0/filesrc0:
>         > streaming task paused, reason not-linked (-1)
>         > ERROR: pipeline doesn't want to preroll.
>         > Setting piphw free: SSI 1
>         > eline to NULL ...
>         > codec_reset_settings function is called
>         > Write Release Called
>         > codec_reset_settings function is called
>         > Read Release called
>         > snd_card_mxc_audio_playback_close
>         > FREEING pipeline ...
>         >
>         > If anyone have any idea about this error,please reply me.
>         >
>         > Thanks for the help
>         >
>         > --
>         > Regards
>         > V.Murugadoss
>         >
>         >
>         -------------------------------------------------------------------------
>         > 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=/
>         <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>         > _______________________________________________
>         > gstreamer-devel mailing list
>         > gstreamer-devel at lists.sourceforge.net
>         <mailto:gstreamer-devel at lists.sourceforge.net>
>         > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>         >
>         >
>
>         -------------------------------------------------------------------------
>         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=/
>         <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.sourceforge.net
>         <mailto:gstreamer-devel at lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
>     -- 
>     Regards,
>
>     Sudarshan Bisht
>
>     -------------------------------------------------------------------------
>     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=/
>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081107/b15d05d8/attachment.htm>


More information about the gstreamer-devel mailing list