Question on CAPS
Tim Müller
tim at centricular.com
Wed Nov 1 19:21:40 UTC 2017
On Wed, 2017-11-01 at 14:24 -0400, Jerry Geis wrote:
> I am trying to run: (notice the CAPS). Which fails
>
> gst-launch-1.0 filesrc location=entry.mp4 '!' qtdemux '!' video/x-
> h264,width=640,height=480 '!' h264parse '!' ...
>
>
> What am I doing wrong ? The original image is 1920x1080 and I want to
> make that smaller at 640x480.
You can't just make an encoded H264 stream smaller. You will have to
decode it, scale it to the desired resolution, and re-encode it.
Try:
gst-launch-1.0 filesrc location=entry.mp4 ! decodebin ! videoscale !
video/x-raw,width=640,height=480 ! queue ! x264enc ! mpegtsmux ! ..
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list