I am looking for a tool that I can use to batch convert webp files into GIF format.
A second requirement - which could be a separate tool if necessary - would be the ability to draw a region within an MP4 file and then have a new MP4 created that is within the drawn region.
What are the best tools for these requirements that work under Windows? I saw a utility named xnConvert that looks promising. But I want to get feedback on all tools before I invest time in this.
+ Reply to Thread
Results 1 to 5 of 5
For the batch conversion of animated WEBP to GIF I went with reaconverter. This is not freeware but has a very clean and functional interface.
It is not that common of a case, but sometimes someone will take a video with the camera in a fixed position, and they have composed the scene incorrectly. I want to be able to draw a rectangle around the area of interest and rewrite the video based on that drawn rectangle.
It could be done with Avisynth as well. I made the following script recently to fix that mess (see at 01:03 after the end of the opening -- the other episodes are fine) :
V = FFVideoSource("T and T episode 34 [-f 137+140].mp4") V1 = V.Trim(0,1900).BicubicResize(1280,720) V2 = V.Trim(1901,39383).Crop(528,300,-528,-300).BicubicResize(1280,720) V3 = V.Trim(39383,0).BicubicResize(1280,720) V1 ++ V2 ++ V3
chcp 1252 ffmpeg -i "T and T episode 34 [-f 137+140].mp4 v2.avs" -i "T and T episode 34 [-f 137+140].mp4" -map 0:0 -map 1:1 -c:v libx264 -crf 20 -preset veryslow -c:a copy "T and T episode 34 [-f 137+140] corrigé.mp4" >"T and T episode 34 [-f 137+140].mp4 ffmpeg.txt" 2>&1 pause
A graphic NLE software is more cumbersome to install and to launch, but might be easier to use for a beginner. The quality of H.264 encoding produced by x264 is usually reported to be significantly better at a given bitrate than what the encoder embedded with those pieces of software (usually from Mainconcept) tends to produce. A workaround to get the benefit of a higher quality / size ratio is to export from the NLE in a lossless format (Lagarith, UT Video, MagicYUV and so forth), then encode with ffmpeg / libx264 or any GUI program relying on either ffmpeg or x264 to encode video streams, of which there are approximately a gazillion and a half.
In-between, more simple graphic editors like VirtualDub2 or Avidemux should be able to perform such a simple picture processing and recompress with x264 in a single step with less hassle.
Last edited by abolibibelot; 16th Sep 2021 at 03:48.