video rescaling
David Ing
ding at panopto.com
Sat Jun 6 14:58:58 UTC 2020
Try using a muxer (mp4mux) after x264enc.
On Sat, Jun 6, 2020, 7:14 AM Patrick Welche <prlw1 at cam.ac.uk> wrote:
> Given a sample video, e.g.,
> http://techslides.com/demos/sample-videos/small.ogv
> and following the videoscale documentation,
>
> gst-launch-1.0 -e \
> filesrc location=small.ogv ! decodebin ! video/x-raw ! videoconvert \
> ! videoscale ! video/x-raw,width=50 ! ximagesink
>
> does exactly what one expects. If I channel the output to a file
>
> gst-launch-1.0 -e \
> filesrc location=small.ogv ! decodebin ! video/x-raw ! videoconvert \
> ! videoscale ! video/x-raw,width=50 ! x264enc ! filesink location=out.mp4
>
> the file has the desired resolution, but gst-play-1.0 out.mp4 displays a
> window of the original dimensions.
>
> What am I missing?
>
>
> Cheers,
>
> Patrick
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200606/8dbba237/attachment-0001.htm>
More information about the gstreamer-devel
mailing list