ges-launch: Use videos of the clips to set restriction caps if all clips have the sames dimensions
I'm trying to play a video file with gst-launch-1.0:
ges-launch-1.0 +clip video.mp4 inpoint=0.0 duration=4.0
Input clip was generated by ffmpeg, with dimensions 640x360:
ffmpeg -f lavfi -i "testsrc=duration=10:size=640x360, format=pix_fmts=yuv420p" -f lavfi -i anoisesrc=duration=10:colour=pink:amplitude=0.5 -ac 2 video.mp4
But window generated by ges-launch is always 1280x720 size, regardless of the clip dimensions. Is there a way to force the dimensions of the window?
I'm using GStreamer 1.18.5.
Edited by Francesc Pinyol Margalef