![ffmpeg crop pixels from edge ffmpeg crop pixels from edge](https://www.cloudacm.com/wp-content/uploads/2017/09/Composit-Defish-Rotate-Align-768x433.png)
I'm not advocating resizing, even though I resize myself, however some shameless promotion might help you. Wait till you start taking screenshots and drawing circles over round objects to see which aspect ratio makes them round.
![ffmpeg crop pixels from edge ffmpeg crop pixels from edge](https://www.velocitybroadband.co.zw/wp-content/uploads/2017/12/Mobile-Scrren-Resolution-Pixel-Density.jpg)
I thought perhaps setsar=64/45,setdar=235/100 might be right, and it doesn't look bad in VLC, but with those settings, FFmpeg reports the output file has, so I am misunderstanding something fundamental, I think, and I'm not sure if it really is the perfect aspect ratio after all. When researching this issue before posting, I saw other examples saying that people tend to go for maximum compatibility instead by just doing the stretching with the scale filter, so that the resulting file can have 1:1 pixels, but I'd rather keep the file size down by keeping it anamorphic until final display.
#Ffmpeg crop pixels from edge movie#
What FFmpeg aspect ratio settings (-aspect and/or -vf setsar,setdar) should I use to signal that the resulting MP4 should be stretched horizontally by the appropriate amount upon display? Do I need to take into account that the movie was shot at 2.35:1? I am then using FFmpeg to read the raw video output from AVISynth and do an x264 encode into an MP4 or MKV container. I'm using an AVISynth script to crop the anamorphic content (sans letterbox) to its actual stored size of 704x414*, to clean up the picture a bit, and to interpret the frame rate as 24 instead of 25. The original MPEG-2 content in the VOBs is reported by FFmpeg as 720x576. I am converting a movie from an old PAL DVD to MP4.