appsrc issue

Tim-Philipp Müller t.i.m at zen.co.uk
Mon May 6 06:35:15 PDT 2013


On Mon, 2013-05-06 at 18:15 +0530, Deepak Jain wrote:

Hi,

> I am trying to run gst-launch this way using appsrc:
> 
> gst-launch-1.0 appsrc name=myfile.h264 ! decodebin !
> video/x-raw,format=\(string\)YUV2,width=480,height=360,framerate=
> \(fraction\)10/1 ! videoconvert ! videoscale ! xvimagesink
>  
>  
> The output I am getting is:
>  
> Setting pipeline to PAUSED....
> Pipeline is PREROLLING...
>  
>  
> and it continues to be that only...no video output on the window.
>  
>  
> myfile.h264 is a H264 elementary stream.
>  
> Can anybody point out any error if i am doing?

appsrc is not an element you can use from gst-launch-1.0.

Perhaps you meant to use something like:

 gst-launch-1.0 filesrc location=myfile.h264 ! decodebin...

or

 gst-launch-1.0 playbin uri=file:///path/to/myfile.h264

or

 gst-launch-1.0 uridecodebin uri=file:///path/to/myfile.h264 ! ..

Cheers
 -Tim




More information about the gstreamer-devel mailing list