[gst-devel] How do I optimize my encoding and streaming?
Michael Joachimiak
mjoachimiak at gmail.com
Tue Jun 8 08:02:50 CEST 2010
This string:
'video/x-raw-yuv,width=640,height=480,framerate=30/1'
is a capabilities string (caps).
You can change the width and height there to whatever the camera supports.
call gst-inspect v4l2src to set what options you have.
Same for ffenc_flv. Call gst-inspect ffenc_flv to see what properties you
can set when calling gst-launch.
You can try to change minimal quntaizer values.
Squares are coming because of aliasing, thus changing the quantization
parameter might help.
2010/5/26 Yuval Yohai <yuval at lab-tunes.com>
>
> Hello all,
>
> I am very new to Gstreamer.
> I need to stream a video source from a firewire HD camera to a remote site
> using cellular modem. The picture quality should be as good as possible.
> Its
> size, though, could be around 640X480 or a little bigger (or wider). As of
> now I am doing my first steps using my web cam.
>
> I do this:
> gst-launch-0.10 -v v4l2src device=/dev/video0 !
> 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! ffenc_flv ! udpsink
> port=5000
>
> My output video picture is very low in quality. It seem as if the encoding
> is very rough (picture has small squares on it).
>
> If I do:
> gst-launch-0.10 -v v4l2src device=/dev/video0 ! ffenc_flv ! udpsink
> port=5000
>
> I get a 1600 X 1400 picture but then I don't know how to resize it to a
> smaller format.
>
> Any suggestions?
> Am I on the right track?
>
> Thanks,
> Yuval Yohai
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/How-do-I-optimize-my-encoding-and-streaming-tp2231076p2231076.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
--
Your Sincerely
Michael Joachimiak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100608/7539c64d/attachment.htm>
More information about the gstreamer-devel
mailing list