why gst-launch doesnot work in my Ubuntu?
Tom
fb8fb8 at gmail.com
Sun Feb 20 12:03:07 PST 2011
1.MPG is 640X480, and framerate is 25.
On Sun, Feb 20, 2011 at 1:48 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Sun, 2011-02-20 at 13:37 -0600, Tom wrote:
>
> > gst-launch filesrc "location=1.MPG" ! decodebin ! video/x-raw-yuv,
> > width=640,height=480,framerate=5/1 ! ffmpegcolorspace ! jpegenc !
> > multipartmux ! tcpserversink host=192.168.2.1 port=5000
> >
> > and then got an error:
> > ..
> > stream stopped, reason not-negotiated
> > ..
> > I don't know why.....
>
> This usually means there's a problem with caps somewhere.
>
> My first guess would be that your input video 1.MPG does not have a
> resolution of 640x480. If you want to scale the input video to this
> resolution, put a videoscale element between decodebin and the caps
> filter.
>
> (If that's not it, maybe you could provide the output of also passing -v
> to gst-launch.)
>
> Cheers
> -Tim
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110220/7e0a48c7/attachment.htm>
More information about the gstreamer-devel
mailing list