Error whiling playing video

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

Error whiling playing video

V.Murugadoss
Hi,
I am working with gstreamer on 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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

ved kpl
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:

> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Sudarshan Bisht
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Eric Zhang-6
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?

Eric Zhang

2008/11/6 sudarshan bisht <[hidden email]>
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Aurelien Grimaud (elzz)
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=<a class="moz-txt-link-rfc2396E" href="rtsp://xxxxxx">"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=<a class="moz-txt-link-rfc2396E" href="rtsp://xxxxxx">"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 <[hidden email]>
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Eric Zhang-6
Hi, Aurelien:
 
    Thanks. I will give it a go. I will let you know if I get any progress.
 
Eric Zhang

2008/11/7 Aurelien Grimaud <[hidden email]>
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 <[hidden email]>
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
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 [hidden email] 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Edward Hervey
In reply to this post by Sudarshan Bisht
On Thu, 2008-11-06 at 13:40 +0530, sudarshan bisht wrote:
> Hi ,
>      First check what all the plugins you have to demux the mpeg
> stream . And directly use them , dont use decodebin .

  Excuse me ? Directly using specific demuxers IS bad practice.
Decodebin has got quite a lot of logic in it to properly figure out what
the incoming stream is, what to connect, etc...
  If you hard-plug your pipelines... what happens when you install a new
plugin ? Or the behaviour changes subtlely ?

  And yes, we also recommend it for embedded usage, in case you were
wondering.

    Edward

>
> On Sat, Nov 1, 2008 at 1:08 AM, ved kpl <[hidden email]> wrote:
>         Hi,
>        
>         Insert audioconvert after mad and try.
>        
>         Ved
>        
>        
>         On Fri, Oct 31, 2008 at 7:25 PM, murugadoss
>         <[hidden email]> wrote:
>         > Hi,
>         > I am working with gstreamer on 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=/
>         > _______________________________________________
>         > gstreamer-devel mailing list
>         > [hidden email]
>         > 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
>         [hidden email]
>         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=/
> _______________________________________________ gstreamer-devel mailing list [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Eric Zhang-6
In reply to this post by Eric Zhang-6
Hi, Aurelien:

    Thanks Aurelien, it works as you said!

    So could you explain a little bit why we should add this extra capsfilter to make decodebin works? Thanks a lot.

Eric Zhang

2008/11/7 Eric Zhang <[hidden email]>
Hi, Aurelien:
 
    Thanks. I will give it a go. I will let you know if I get any progress.
 
Eric Zhang

2008/11/7 Aurelien Grimaud <[hidden email]>

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 <[hidden email]>
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
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 [hidden email] 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

V.Murugadoss
hi,
I need to install few more package like xvimagesink, ffdec_h263 etc for my board. Do we get this package in any of the links. If it is for mx27 board, ill be more useful.
Thank u
Regards
V.Murugadoss



Eric Zhang wrote:
Hi, Aurelien:

    Thanks Aurelien, it works as you said!

    So could you explain a little bit why we should add this extra capsfilter to make decodebin works? Thanks a lot.

Eric Zhang

2008/11/7 Eric Zhang <[hidden email]>
Hi, Aurelien:
 
    Thanks. I will give it a go. I will let you know if I get any progress.
 
Eric Zhang

2008/11/7 Aurelien Grimaud <[hidden email]>

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 <[hidden email]>
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
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 [hidden email] 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
[hidden email]
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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

V.Murugadoss
In reply to this post by Eric Zhang-6
I have attached  the list of plugin available in my board(pleas find in the aatchment). can anyone say me which will be the best combination for playing video.
presently, i use
gst-launch playbin uri=file:///Toyato.mpg
in this i hear only the audio  and no video is displayed.
for any other command it display an error message ( error message is displayed in previous mail given below)
Any idea ill be more helpful.
Thank u
Regards
V.Murugadoss



Eric Zhang wrote:
Hi, Aurelien:

    Thanks Aurelien, it works as you said!

    So could you explain a little bit why we should add this extra capsfilter to make decodebin works? Thanks a lot.

Eric Zhang

2008/11/7 Eric Zhang <[hidden email]>
Hi, Aurelien:
 
    Thanks. I will give it a go. I will let you know if I get any progress.
 
Eric Zhang

2008/11/7 Aurelien Grimaud <[hidden email]>

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 <[hidden email]>
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 <[hidden email]> wrote:
Hi,

Insert audioconvert after mad and try.

Ved

On Fri, Oct 31, 2008 at 7:25 PM, murugadoss <[hidden email]> wrote:
> Hi,
> I am working with gstreamer on 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=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> 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
[hidden email]
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=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
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 [hidden email] 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
[hidden email]
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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

Decoder:
------------------------------------------------------
mfw_vpudecoder:  mfw_vpudecoder: Freescale: Hardware (VPU) Decoder
annodex:  cmmldec: CMML stream decoder
mulaw:  mulawdec: Mu Law audio decoder
tta:  ttadec: TTA audio decoder
mad:  mad: mad mp3 decoder
alaw:  alawdec: A Law audio decoder
nsfdec:  nsfdec: Nsf decoder
flxdec:  flxdec: FLX audio decoder
dvdlpcmdec:  dvdlpcmdec: DVD LPCM Audio decoder

Demuxer:
-------------------------------------------------

id3demux:  id3demux: ID3 tag demuxer
nuvdemux:  nuvdemux: Nuv demuxer
matroska:  matroskademux: Matroska demuxer
avi:  avidemux: Avi demuxer
qtdemux:  qtdemux: QuickTime demuxer
icydemux:  icydemux: ICY tag demuxer
auparse:  auparse: AU audio demuxer
apetag:  apedemux: APE tag demuxer
multipart:  multipartdemux: Multipart demuxer
wavparse:  wavparse: WAV audio demuxer

sink:
----------------------------------------------
mfw_v4lsink:  mfw_v4lsink: v4l_sink
coreelements:  filesink: File Sink
coreelements:  fdsink: Filedescriptor Sink
coreelements:  fakesink: Fake Sink
alsa:  alsasink: Audio sink (ALSA)
udp:  dynudpsink: UDP packet sender
udp:  multiudpsink: UDP packet sender
udp:  udpsink: UDP packet sender
ossaudio:  osssink: Audio Sink (OSS)
autodetect:  autoaudiosink: Auto audio sink
autodetect:  autovideosink: Auto video sink
alsaspdif:  alsaspdifsink: S/PDIF ALSA audiosink
multifile:  multifilesink: Multi-File Sink
debug:  testsink: Test plugin
tcp:  multifdsink: Multi filedescriptor sink
tcp:  tcpserversink: TCP server sink
tcp:  tcpclientsink: TCP client sink

Encoder:
----------------------------------------------------
cale: Hardware (VPU) Encoder
annodex:  cmmlenc: CMML streams encoder
mulaw:  mulawenc: Mu Law audio encoder
alaw:  alawenc: A Law audio encoder
y4menc:  y4menc: YUV4MPEG video encoder

Source:
------------------------------------------------------
alsa:  alsasrc: Audio source (ALSA)
rfbsrc:  rfbsrc: Rfb source
videotestsrc:  videotestsrc: Video test source
audiotestsrc:  audiotestsrc: Audio test source
tcp:  tcpserversrc: TCP server source
tcp:  tcpclientsrc: TCP client source


Bin:
----------------------------------------------------
decodebin2:  decodebin2: Decoder Bin
playbin:  playbin: Player Bin
decodebin:  decodebin: Decoder Bin
staticelements:  bin: Generic bin

Parser:
--------------------------------------------------
realmedia:  rdtdepay: RDT packet parser
subparse:  subparse: Subtitle parser
tta:  ttaparse: TTA file parser
rtp:  asteriskh263: RTP packet parser
cdxaparse:  cdxaparse: (S)VCD parser

Plugin:
--------------------------------------------
debug:  testsink: Test plugin

CONVERTER:
-----------------------------------------------
ffmpegcolorspace:  ffmpegcolorspace: FFMPEG Colorspace converter
audioconvert:  audioconvert: Audio converter

FILTER:
------------------------------------------------
coreelements:  capsfilter: CapsFilter
videobox:  videobox: Video box filter
iec958:  ac3iec958: AC3 to IEC958 filter
alphacolor:  alphacolor: Alpha color filter
filter:  bpwsinc: Band-pass Windowed sinc filter
filter:  lpwsinc: Low-pass Windowed sinc filter
filter:  iir: Infinite Impulse Response (IIR) filter
alpha:  alpha: Alpha filter

PAD:
-----------------------------------------
rtp:  rtpmpadepay: RTP packet depayloader

--------------#################################----------------------#################

full list of commands
--------------------

###gst-inspect
mfw_vpudecoder:  mfw_vpudecoder: Freescale: Hardware (VPU) Decoder
mfw_vpuencoder:  mfw_vpuencoder: Freescale: Hardware (VPU) Encoder
mfw_v4lsrc:  mfw_v4lsrc: Freescale Video Source plug-in
mfw_v4lsink:  mfw_v4lsink: v4l_sink
wavenc:  wavenc: WAV audio muxer
asf:  asfdemux: ASF Demuxer
id3demux:  id3demux: ID3 tag demuxer
coreindexers:  memindex: A index that stores entries in memory
annodex:  cmmldec: CMML stream decoder
annodex:  cmmlenc: CMML streams encoder
videoparse:  videoparse: Video Parse
mpegstream:  dvddemux: DVD Demuxer
mpegstream:  mpegdemux: MPEG Demuxer
mpegstream:  mpegparse: MPEG System Parser
dvdsub:  dvdsubdec: DVD subtitle Decoder
videoflip:  videoflip: Video flipper
coreelements:  multiqueue: MultiQueue
coreelements:  typefind: TypeFind
coreelements:  tee: Tee pipe fitting
coreelements:  filesink: File Sink
coreelements:  queue: Queue
coreelements:  identity: Identity
coreelements:  filesrc: File Source
coreelements:  fdsink: Filedescriptor Sink
coreelements:  fdsrc: Disk Source
coreelements:  fakesink: Fake Sink
coreelements:  fakesrc: Fake Source
coreelements:  capsfilter: CapsFilter
speed:  speed: Speed
mulaw:  mulawdec: Mu Law audio decoder
mulaw:  mulawenc: Mu Law audio encoder
nuvdemux:  nuvdemux: Nuv demuxer
matroska:  matroskamux: Matroska muxer
matroska:  matroskademux: Matroska demuxer
effectv:  quarktv: QuarkTV effect
effectv:  revtv: RevTV effect
effectv:  vertigotv: VertigoTV effect
effectv:  shagadelictv: ShagadelicTV
effectv:  warptv: WarpTV effect
effectv:  dicetv: DiceTV effect
effectv:  agingtv: AgingTV effect
effectv:  edgetv: EdgeTV effect
typefindfunctions: video/vivo: viv
typefindfunctions: application/x-mmsh: no extensions
typefindfunctions: multipart/x-mixed-replace: no extensions
typefindfunctions: video/x-dirac: no extensions
typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx, sys, scr, msstyles, cpl
typefindfunctions: application/x-ar: a
typefindfunctions: application/x-tar: tar
typefindfunctions: application/x-rar: rar
typefindfunctions: audio/x-wavpack-correction: wvc
typefindfunctions: audio/x-wavpack: wv, wvp
typefindfunctions: audio/x-spc: spc
typefindfunctions: adts_mpeg_stream: aac
typefindfunctions: application/x-executable: no extensions
typefindfunctions: text/x-cmml: no extensions
typefindfunctions: application/x-ogg-skeleton: no extensions
typefindfunctions: audio/x-speex: no extensions
typefindfunctions: application/x-ogm-text: no extensions
typefindfunctions: application/x-ogm-audio: no extensions
typefindfunctions: application/x-ogm-video: no extensions
typefindfunctions: video/x-theora: no extensions
typefindfunctions: audio/x-vorbis: no extensions
typefindfunctions: audio/x-flac: flac
typefindfunctions: application/x-compress: Z
typefindfunctions: application/zip: zip
typefindfunctions: application/x-gzip: gz
typefindfunctions: application/x-bzip: bz2
typefindfunctions: image/x-sun-raster: ras
typefindfunctions: image/x-xpixmap: xpm
typefindfunctions: image/x-jng: jng
typefindfunctions: video/x-mng: mng
typefindfunctions: image/x-xcf: xcf
typefindfunctions: audio/x-sid: sid
typefindfunctions: audio/iLBC-sh: ilbc
typefindfunctions: audio/x-amr-wb-sh: amr
typefindfunctions: audio/x-amr-nb-sh: amr
typefindfunctions: video/x-dv: dv, dif
typefindfunctions: video/x-mve: mve
typefindfunctions: video/x-matroska: mkv, mka
typefindfunctions: image/tiff: tif, tiff
typefindfunctions: image/bmp: bmp
typefindfunctions: image/png: png
typefindfunctions: image/gif: gif
typefindfunctions: image/jpeg: jpg, jpe, jpeg
typefindfunctions: application/x-ape: ape
typefindfunctions: audio/x-shorten: shn
typefindfunctions: audio/x-w64: w64
typefindfunctions: audio/x-ircam: sf
typefindfunctions: audio/x-sds: sds
typefindfunctions: audio/x-voc: voc
typefindfunctions: audio/x-nist: nist
typefindfunctions: audio/x-paris: paf
typefindfunctions: audio/x-svx: iff, svx
typefindfunctions: audio/x-aiff: aiff, aif, aifc
typefindfunctions: audio/x-wav: wav
typefindfunctions: application/xml: xml
typefindfunctions: application/smil: smil
typefindfunctions: text/uri-list: ram
typefindfunctions: text/plain: txt
typefindfunctions: video/x-flv: flv
typefindfunctions: application/x-shockwave-flash: swf, swfl
typefindfunctions: application/x-pn-realaudio: ra, ram, rm, rmvb
typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb
typefindfunctions: text/html: htm, html
typefindfunctions: image/x-quicktime: qif, qtif, qti
typefindfunctions: video/quicktime: mov
typefindfunctions: application/x-3gp: 3gp
typefindfunctions: audio/x-m4a: m4a
typefindfunctions: video/x-nuv: nuv
typefindfunctions: video/mpeg4: m4v
typefindfunctions: video/mpeg-stream: mpv, mpeg, mpg
typefindfunctions: video/mpeg: mpv, mpeg, mpg
typefindfunctions: application/ogg: anx, ogg, ogm
typefindfunctions: video/mpegts: ts
typefindfunctions: video/mpeg2: mpe, mpeg, mpg
typefindfunctions: video/mpeg1: mpe, mpeg, mpg
typefindfunctions: audio/x-ac3: ac3
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
typefindfunctions: audio/x-mod: 669, amf, dsm, gdm, far, imf, it, med, mod, mtm, okt, sam, s3m, stm, stx, ult, xm
typefindfunctions: audio/x-ttafile: tta
typefindfunctions: application/x-apetag: ape, mpc, wv
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: video/x-fli: flc, fli
typefindfunctions: video/x-vcd: dat
typefindfunctions: video/x-cdxa: dat
typefindfunctions: video/x-msvideo: avi
typefindfunctions: audio/x-au: au, snd
typefindfunctions: audio/x-musepack: mpc
typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv
avi:  avimux: Avi muxer
avi:  avidemux: Avi demuxer
videobox:  videobox: Video box filter
realmedia:  rdtdepay: RDT packet parser
realmedia:  rmdemux: RealMedia Demuxer
alsa:  alsasink: Audio sink (ALSA)
alsa:  alsasrc: Audio source (ALSA)
alsa:  alsamixer: Alsa mixer
videoscale:  videoscale: Video scaler
udp:  udpsrc: UDP packet receiver
udp:  dynudpsink: UDP packet sender
udp:  multiudpsink: UDP packet sender
udp:  udpsink: UDP packet sender
rfbsrc:  rfbsrc: Rfb source
videorate:  videorate: Video rate adjuster
subparse:  ssaparse: SSA Subtitle Parser
subparse:  subparse: Subtitle parser
subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi, txt
audiorate:  audiorate: Audio rate adjuster
ossaudio:  osssink: Audio Sink (OSS)
ossaudio:  osssrc: Audio Source (OSS)
ossaudio:  ossmixer: OSS Mixer
goom:  goom: GOOM: what a GOOM!
spectrum:  spectrum: Spectrum analyzer
gdp:  gdppay: GDP Payloader
gdp:  gdpdepay: GDP Depayloader
volume:  volume: Volume
mpegaudioparse:  mp3parse: MPEG1 Audio Parser
level:  level: Level
qtdemux:  qtdemux: QuickTime demuxer
iec958:  ac3iec958: AC3 to IEC958 filter
icydemux:  icydemux: ICY tag demuxer
videotestsrc:  videotestsrc: Video test source
tta:  ttadec: TTA audio decoder
tta:  ttaparse: TTA file parser
mad:  id3mux: id3 tag muxer
mad:  mad: mad mp3 decoder
cutter:  cutter: Audio cutter
auparse:  auparse: AU audio demuxer
alphacolor:  alphacolor: Alpha color filter
modplug:  modplug: ModPlug
videomixer:  videomixer: Video mixer
navigationtest:  navigationtest: Video navigation test
videocrop:  videocrop: Crop
freeze:  freeze: Stream freezer
autodetect:  autoaudiosink: Auto audio sink
autodetect:  autovideosink: Auto video sink
replaygain:  rganalysis: ReplayGain analysis
filter:  bpwsinc: Band-pass Windowed sinc filter
filter:  lpwsinc: Low-pass Windowed sinc filter
filter:  iir: Infinite Impulse Response (IIR) filter
rtp:  rtpvorbispay: RTP packet depayloader
rtp:  rtpvorbisdepay: RTP packet depayloader
rtp:  rtptheorapay: RTP packet depayloader
rtp:  rtptheoradepay: RTP packet depayloader
rtp:  rtpsv3vdepay: RTP packet depayloader
rtp:  rtpspeexdepay: RTP packet depayloader
rtp:  rtpspeexpay: RTP packet payloader
rtp:  rtpmp4gpay: RTP packet payloader
rtp:  rtpmp4gdepay: RTP packet depayloader
rtp:  rtpmp4vdepay: RTP packet depayloader
rtp:  rtpmp4vpay: RTP packet payloader
rtp:  rtpmp2tdepay: RTP packet depayloader
rtp:  asteriskh263: RTP packet parser
rtp:  rtph264depay: RTP packet depayloader
rtp:  rtph263pay: RTP packet payloader
rtp:  rtph263pdepay: RTP packet depayloader
rtp:  rtph263ppay: RTP packet payloader
rtp:  rtpmpapay: RTP packet payloader
rtp:  rtpmpadepay: RTP packet depayloader
rtp:  rtppcmapay: RTP packet payloader
rtp:  rtppcmupay: RTP packet payloader
rtp:  rtppcmudepay: RTP packet depayloader
rtp:  rtppcmadepay: RTP packet depayloader
rtp:  rtpamrpay: RTP packet payloader
rtp:  rtpamrdepay: RTP packet depayloader
rtp:  rtpgsmpay: RTP GSM audio payloader
rtp:  rtpgsmdepay: RTP packet depayloader
rtp:  rtpilbcdepay: RTP iLBC packet depayloader
rtp:  rtpilbcpay: RTP Payloader for iLBC Audio
rtp:  rtpdepay: RTP payloader
h264parse:  h264parse: H264Parse
rtsp:  rtpdec: RTP Decoder
rtsp:  rtspsrc: RTSP packet receiver
gstinterlace:  deinterlace: Deinterlace
ffmpegcolorspace:  ffmpegcolorspace: FFMPEG Colorspace converter
apetag:  apedemux: APE tag demuxer
xingheader:  xingmux: MP3 Xing muxer
audiotestsrc:  audiotestsrc: Audio test source
audiofx:  audiopanorama: AudioPanorama
alsaspdif:  alsaspdifsink: S/PDIF ALSA audiosink
audioconvert:  audioconvert: Audio converter
decodebin2:  decodebin2: Decoder Bin
multipart:  multipartmux: Multipart muxer
multipart:  multipartdemux: Multipart demuxer
playbin:  playbin: Player Bin
decodebin:  decodebin: Decoder Bin
videobalance:  videobalance: Video balance
alaw:  alawdec: A Law audio decoder
alaw:  alawenc: A Law audio encoder
dvbsrc:  dvbsrc: DVB Source
nsfdec:  nsfdec: Nsf decoder
cdxaparse:  cdxaparse: (S)VCD parser
video4linux:  v4lsrc: Video (video4linux/raw) Source
flxdec:  flxdec: FLX audio decoder
multifile:  multifilesink: Multi-File Sink
multifile:  multifilesrc: Multi-File Source
debug:  testsink: Test plugin
debug:  progressreport: Progress report
debug:  navseek: Seek based on left-right arrows
debug:  breakmydata: Break my data
smpte:  smpte: SMPTE transitions
y4menc:  y4menc: YUV4MPEG video encoder
adder:  adder: Adder
tcp:  multifdsink: Multi filedescriptor sink
tcp:  tcpserversrc: TCP server source
tcp:  tcpserversink: TCP server sink
tcp:  tcpclientsrc: TCP client source
tcp:  tcpclientsink: TCP client sink
audioresample:  audioresample: Audio scaler
wavparse:  wavparse: WAV audio demuxer
alpha:  alpha: Alpha filter
dvdlpcmdec:  dvdlpcmdec: DVD LPCM Audio decoder
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object


-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Arnout Vandecappelle
In reply to this post by Eric Zhang-6
On Monday 10 November 2008 03:58:18 Eric Zhang wrote:
>     So could you explain a little bit why we should add this extra
> capsfilter to make decodebin works? Thanks a lot.

 If you think a bit about it, it's easy enough to understand.  gst-launch is
completely agnostic about what all the pipeline elements do, but it somehow
has to choose which sink pad to connect to which source pad of the rtspsrc.  
Look at the gst-launch command:

gst-launch rtspsrc location="rtsp://xxxxxx" name=d
  d. ! decodebin ! ffmpegcolorspace ! xvimagesink
  d. ! decodebin ! audioconvert ! alsasink

When rtspsrc creates a video source pad, gst-launch has to choose which of the
two decodebins to connect to it.  Since they look identical (gst-launch can't
look into the rest of the pipeline, who knows what decodebin will do
anyway?), gst-launch randomly connect the video source to one of the
decodebins.  After prerolling, the decodebin creates a source pad for the
video and gst-launch has to connect it to the next element.  Now, if you're
lucky, gst-launch had select the first decodebin and all goes well.  If
you're unlucky, however, it has chosen the second decodebin, and gst-launch
connects the audioconvert to the decodebin's video source pad...  That
doesn't work, so the linking fails.

 That doesn't crash your application yet.  It's only when the pipeline goes
into PLAYING and the source starts pushing data in the decodebin, that it
turns out that the decodebin doesn't have anywhere to send the data to.  
That's what triggers the 'Not linked' error.


 When you use the depayloader and decoder explicitly instead of decodebin, the
linking works correctly:

gst-launch rtspsrc location="rtsp://xxxxxx" name=d
  d. ! rtph263pdepay ! ffdec_h263 ! ffmpegcolorspace ! xvimagesink
  d. ! rtpamrdepay ! amrnbdec ! audioconvert ! alsasink

Now, the two branches of the pipeline are no longer identical.  gst-launch
looks at the caps of rtph263pdepay and rtpamrdepay to see which one matches
the video source.  It will therefore always select the right one.  You get
the same behaviour with a decodebin by providing caps explicitly.


 Regards,
 Arnout

--
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933

-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Error whiling playing video

Eric Zhang-6
Hi, gstreamer-devel:

    Thanks, Arnout! I got it.

Eric Zhang

2008/11/10 Arnout Vandecappelle <[hidden email]>
On Monday 10 November 2008 03:58:18 Eric Zhang wrote:
>     So could you explain a little bit why we should add this extra
> capsfilter to make decodebin works? Thanks a lot.

 If you think a bit about it, it's easy enough to understand.  gst-launch is
completely agnostic about what all the pipeline elements do, but it somehow
has to choose which sink pad to connect to which source pad of the rtspsrc.
Look at the gst-launch command:

gst-launch rtspsrc location="rtsp://xxxxxx" name=d
 d. ! decodebin ! ffmpegcolorspace ! xvimagesink
 d. ! decodebin ! audioconvert ! alsasink

When rtspsrc creates a video source pad, gst-launch has to choose which of the
two decodebins to connect to it.  Since they look identical (gst-launch can't
look into the rest of the pipeline, who knows what decodebin will do
anyway?), gst-launch randomly connect the video source to one of the
decodebins.  After prerolling, the decodebin creates a source pad for the
video and gst-launch has to connect it to the next element.  Now, if you're
lucky, gst-launch had select the first decodebin and all goes well.  If
you're unlucky, however, it has chosen the second decodebin, and gst-launch
connects the audioconvert to the decodebin's video source pad...  That
doesn't work, so the linking fails.

 That doesn't crash your application yet.  It's only when the pipeline goes
into PLAYING and the source starts pushing data in the decodebin, that it
turns out that the decodebin doesn't have anywhere to send the data to.
That's what triggers the 'Not linked' error.


 When you use the depayloader and decoder explicitly instead of decodebin, the
linking works correctly:

gst-launch rtspsrc location="rtsp://xxxxxx" name=d
 d. ! rtph263pdepay ! ffdec_h263 ! ffmpegcolorspace ! xvimagesink
 d. ! rtpamrdepay ! amrnbdec ! audioconvert ! alsasink

Now, the two branches of the pipeline are no longer identical.  gst-launch
looks at the caps of rtph263pdepay and rtpamrdepay to see which one matches
the video source.  It will therefore always select the right one.  You get
the same behaviour with a decodebin by providing caps explicitly.


 Regards,
 Arnout

--
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933

-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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