1.MPG is 640X480, and framerate is 25.<br><br><div class="gmail_quote">On Sun, Feb 20, 2011 at 1:48 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Sun, 2011-02-20 at 13:37 -0600, Tom wrote:<br>
<br>
> gst-launch filesrc "location=1.MPG" ! decodebin ! video/x-raw-yuv,<br>
> width=640,height=480,framerate=5/1 ! ffmpegcolorspace ! jpegenc !<br>
> multipartmux ! tcpserversink host=192.168.2.1 port=5000<br>
><br>
> and then got an error:<br>
</div>> ..<br>
<div class="im">> stream stopped, reason not-negotiated<br>
</div><div class="im">> ..<br>
> I don't know why.....<br>
<br>
</div>This usually means there's a problem with caps somewhere.<br>
<br>
My first guess would be that your input video 1.MPG does not have a<br>
resolution of 640x480. If you want to scale the input video to this<br>
resolution, put a videoscale element between decodebin and the caps<br>
filter.<br>
<br>
(If that's not it, maybe you could provide the output of also passing -v<br>
to gst-launch.)<br>
<br>
Cheers<br>
-Tim<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>