MPEG-4 to File - Bad Quality
jesper.larsen at ixonos.com
Thu Jul 11 23:10:37 PDT 2013
Could you be more specific as to what is terrible about the quality? Low
resolution, "grainy" picture, artifacts, etc.
What kind of source are you using as input? Webcam capabilites?
You might want to play around with the properties of the elements. As an
example, if you do
you get some info about that element, including a list of properties. There
is as an example one called 'bitrate', which sets the target bitrate of the
video. This is by default set to 3Mb, so you could try to increase this.
gst-launch-1.0 v4l2src ! queue ! avenc_mpeg4 bitrate=8000000 ! queue !
If the resolution is too low, you can request a specific resolution by
using a caps (capability) filter between the v4l2src and encoder.
gst-launch-1.0 v4l2src ! video/x-raw,width=1280,height=720 ! queue !
avenc_mpeg4 bitrate=8000000 ! queue ! filesink location=webcam.mpeg
You can inspect the v4l2src element to see what kind of capabilities this
element is able to produce. However, this will not show what the actual
input device is capable of delivering.
On Thu, Jul 11, 2013 at 9:59 PM, gstnewbiepants <mrblotchkins at gmail.com>wrote:
> Hey Guys,
> I'm using the following pipeline to write MPEG-4 video to a file:
> gst-launch-1.0 v4l2src ! queue ! avenc_mpeg4 ! queue ! filesink
> The video does play back.. but the video quality is terrible. Does anyone
> know what I'm doing wrong?
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel