Best way to shrink size of video? - Thanks!
Bob Elzer
bob.elzer at gmail.com
Mon Jul 10 12:01:19 MST 2017
This is the command I use to convert to x265 video
Recently it converted a 964mb video to 17.2mb, x265 looks the best in my
opinion.
To convert to x264 the command is different and the same file shrunk to
23.9mb
It really depends on the type of video you're converting on how it looks
after.
The video was 8 minutes and on my AMD 8 core, it took 7 minutes to convert
to x265 and
5 minutes to convert to x264
ffmpeg -i fireworks.mp4 -c:v libx265 -force_key_frames
"expr:gte(t,n_forced*5)" -x265-params crf=28 -x265-params log-level=none
-c:a ac3 -b:a 192k -preset ultrafast -strict experimental -loglevel fatal
-stats fireworks-x265-ultrafast-ac3.mp4
Hope this helps
On Jul 10, 2017 10:52 AM, <joe at actionline.com> wrote:
> Thanks Rusty!
>
> Rusty Ramser wrote: Examples...
> > Simply convert the existing video from MOV to MP4.
> > ffmpeg.exe -i IMG_0551.MOV -c:a copy copy.mp4
> >
> > Convert from MOV to MP4 and also scale it to 1280x720
> > (don't know what the original resolution was, but you
> > get the idea; replace with 480 if you want even smaller).
> > ffmpeg.exe -i IMG_0551.MOV -c:a copy -vf scale=-1:720 copy.mp4
> >
> > If original resolution is slightly non-standard and not
> > evenly divisible by 2 and you're getting errors with the
> > above command, this one gets around odd resolutions.
> > ffmpeg.exe -i IMG_0551.MOV -c:a copy -vf "scale=1280:trunc(ow/a/2)*2"
> > copy.mp4
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20170710/d548150b/attachment.html>
More information about the PLUG-discuss
mailing list