<div dir="auto">Try using a muxer (mp4mux) after x264enc.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 6, 2020, 7:14 AM Patrick Welche <<a href="mailto:prlw1@cam.ac.uk">prlw1@cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Given a sample video, e.g., <a href="http://techslides.com/demos/sample-videos/small.ogv" rel="noreferrer noreferrer" target="_blank">http://techslides.com/demos/sample-videos/small.ogv</a><br>
and following the videoscale documentation,<br>
<br>
gst-launch-1.0 -e \<br>
filesrc location=small.ogv ! decodebin ! video/x-raw ! videoconvert \<br>
! videoscale ! video/x-raw,width=50 ! ximagesink<br>
<br>
does exactly what one expects. If I channel the output to a file<br>
<br>
gst-launch-1.0 -e \<br>
filesrc location=small.ogv ! decodebin ! video/x-raw ! videoconvert \<br>
! videoscale ! video/x-raw,width=50 ! x264enc ! filesink location=out.mp4<br>
<br>
the file has the desired resolution, but gst-play-1.0 out.mp4 displays a <br>
window of the original dimensions.<br>
<br>
What am I missing?<br>
<br>
<br>
Cheers,<br>
<br>
Patrick<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>