I don't want to put it on the cloud but I have a 30MB video of my babyRemoving 'color' is a big one. Try using Curlew to rewrite the video to b/w.
that
I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is
designed
to really shrink a video final size using whatever methods are
appropriate?
I'm thinking it might crop the video or remove every other frame or
change
the compression or remove the audio channel (which I don't need), or
what?
I don't want to put it on the cloud but I have a 30MB video of my baby that I want to email to people who may be on any platform so I need it ~3MB.
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed
to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change the compression or remove the audio channel (which I don't need), or what?
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed
to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change the compression or remove the audio channel (which I don't need), or what?
I don't want to put it on the cloud but I have a 30MB video of my baby
that I want to email to people who may be on any platform so I need
it ~3MB.
I expect a loss of quality just as it would be if I had used
Irfanview to shrink a 30MB image to ~3MB (cropping, resizing,
quality, compression).
What free tool can I use every once in a while on Windows that is
designed to really shrink a video final size using whatever methods
are appropriate?
I'm thinking it might crop the video or remove every other frame or
change the compression or remove the audio channel (which I don't
need), or what?
|I don't want to put it on the cloud but I have a 30MB video of my baby that >| I want to email to people who may be on any platform so I need it ~3MB.
|
Avidemux. The UI is clunky, but it's very sophisticated.
You can snip it, resize it, etc. You can also try saving in
varying formats. It's like a graphic editor.
I'm on XP right now, so my version is a bit old (2012)
but I'll describe the basics: Drop the video in the window.
Set the Selection -- where to start and end. You can do
that by dragging the video position bar and clicking A for
the start point. Then drag again and click B for the end point.
Set the output options, which you may have to experiment with.
You probably want MPEG4 264 for video and copy for audio.
Then go to Video -> Filters. You can rotate, flip, crop,
resize. Avidemux will do the operations in order, like a
batch operation. Choose and configure each operation by
double-clicking the item, such as resizing. When done, close
that window.
With options configured, simply go to File -> Save. Choose
a location and save the video. That part is a bit confusing
because it does all operations and saves at once. You
might be inclined to look for a button that says something
like, "OK, edit the video". But you just do the edit by saving it.
Avidemux is very capable and easy to use once you get
the hang of it. It's also free, open source software.
On 29/03/2024 17:40, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of my baby that >> I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to
shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed >> to really shrink a video final size using whatever methods are appropriate? >>
I'm thinking it might crop the video or remove every other frame or change >> the compression or remove the audio channel (which I don't need), or what?
Why not use WeTransfer?
Fokke
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
Try https://ffmpeg.org/
It is a command line tool which needn't be installed. You have
to find the correct command line parameters, but a Google
search with "ffmpeg reduce video size" will give you the
needed information.
Herbert Kleebauer wrote:The real test, and I'd be interested in knowing, is what looks good?
I don't want to put it on the cloud but I have a 30MB video of my baby thatTry https://ffmpeg.org/
I want to email to people who may be on any platform so I need it ~3MB. >>
It is a command line tool which needn't be installed. You have
to find the correct command line parameters, but a Google
search with "ffmpeg reduce video size" will give you the
needed information.
Thanks for that advice to try ffmpeg to shrink a video for email.
After a few dead ends (eg https://sourceforge.net/projects/ffmpeg/files/)
I found a compiled Windows binary and ran the following test steps.
1. I went to the ffmpeg.org suggested location for Windows binaries
https://ffmpeg.org/download.html#build-windows
Which gave me two different choices
https://www.gyan.dev/ffmpeg/builds/
https://github.com/BtbN/FFmpeg-Builds/releases
It was hard to choose, for example, what's the difference between
ffmpeg-master-latest-win64-gpl-shared.zip at 57.3 MB
ffmpeg-master-latest-win64-gpl.zip at 134 MB
So I arbitrarily picked the smaller of the two files above.
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl-shared.zip
Name: ffmpeg-master-latest-win64-gpl-shared.zip
Size: 60052525 bytes (57 MiB)
SHA256: 447EA59D610B9DC9F240EC933D761F717B41D28E7EC62C4A42F86CADCF21D93C
Which extracted to a tree of which these were in the "bin" directory.
ffprobe.exe, ffmpeg.exe, ffplay.exe
swresample-5.dll, avutil-59.dll, avdevice-61.dll, avcodec-61.dll
avfilter-10.dll, postproc-58.dll, avformat-61.dll, swscale-8.dll
2. I copied the 12MB 8-second-long RAW result from Avidemux & googled.
https://www.google.com/search?q=ffmpeg+reduce+video+size
Which found this fancy new compression as the first search result.
https://unix.stackexchange.com/questions/28803/how-can-i-reduce-a-videos-size-with-ffmpeg
Which suggested this brand new (as of 2020) compression command.
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Which I ran as follows
ffmpeg -i 20240325.raw.mp4 -vcodec libx265 -crf 28 output.mp4
With the result being quite a bit smaller in total file size.
03/29/2024 02:19 PM 12,613,296 20240325.raw.mp4
03/29/2024 02:33 PM 997,884 output.mp4
3. There were also suggestions to reduce the frame size in half.
ffmpeg -i 20240325.raw.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -c:v libx265 -crf 28 halfsize.mp4
Which had an even more drastic effect on the total file size.
03/29/2024 08:37 PM 334,564 halfsize.mp4
GSpot shows it changed the recommended display size.
12,613,296 20240325.mp4 Recommended Display Size 1920x1080
997,884 output.mp4 Recommended Display Size 1920x1080
334,564 halfsize.mp4 Recommended Display Size 960x540
In that stackexchange were many more options some of which I had
tested, but the results already are small enough to email now.
Thanks for helping me out in reducing video to emailable sizes.
"Herbert Kleebauer" <klee@unibwm.de> wrote
|
| Try https://ffmpeg.org/
|
| It is a command line tool which needn't be installed. You have
| to find the correct command line parameters, but a Google
| search with "ffmpeg reduce video size" will give you the
| needed information.
|
|
That's a great one. The other day I clipped 1 hour out of a
4 hour video, saved to a new file, and it took just a few seconds.
I've also used it to write a VBScript-powered HTA metadata editor
for videos.
Unfortunately, though, ffmpeg is very clunky. The command
lines are tedious and complicated. I don't know of any GUI
frontend to make it more usable. It's typical OSS. Works great
but no one's ever finished it off to make it usable by people
other than geeks.
"Herbert Kleebauer" <klee@unibwm.de> wrote
|
| Try https://ffmpeg.org/
That's a great one.
Unfortunately, though, ffmpeg is very clunky. The command
lines are tedious and complicated. I don't know of any GUI
frontend to make it more usable. It's typical OSS. Works great
but no one's ever finished it off to make it usable by people
other than geeks.
In article <uu6qu4$vma$1$koziolja@news.chmurka.net>, janicekoziol@nie.ma.spamu.prosze.com says...
I don't want to put it on the cloud but I have a 30MB video of my baby that >> I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to
shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed >> to really shrink a video final size using whatever methods are appropriate? >>
I'm thinking it might crop the video or remove every other frame or change >> the compression or remove the audio channel (which I don't need), or what?
Hi
Take the freeware handbrake from https://handbrake.fr
It has an Gui. This GUI offers sliders to reduce the
quality and resolution. You can also conert to x264 and
x265.
On 29.03.2024 21:21, Newyana2 wrote:
"Herbert Kleebauer" <klee@unibwm.de> wrote
|
| Try https://ffmpeg.org/
That's a great one.
Unfortunately, though, ffmpeg is very clunky. The command
lines are tedious and complicated. I don't know of any GUI
frontend to make it more usable. It's typical OSS. Works great
but no one's ever finished it off to make it usable by people
other than geeks.
Many years ago I used a graphical front end for ffmpeg:
https://www.erightsoft.com/SUPER.html https://de.wikipedia.org/wiki/SUPER_(Software)
But now the free version seems to be not Ads-Free and
if you do mostly the same type of video editing, it is
simpler to directly use ffmpeg from a CMD batch file.
"Jan K." <janicekoziol@nie.ma.spamu.prosze.com> wrote|
| 10 The closest to your suggestion I could find are the following
| Video Output = Mpeg4 AVC (x264)
| Audio Output = Copy
I think that's what I've typically used. For output I used
MP4 Muxer on a sample just now. It's an mp4 video that's 23.5 MB.
1280x720. 3:07.
I didn't crop or cut any of the length, but I did resize it to
640x360. I'm guessing I could get it more compact
experimenting with formats, but I don't really know anything
about audio or video encoding, so I just try things. The result is
15 MB.
The first time I used Avidemux it was for a friend who had
a video of blue-footed boobies taken with an iPhone. The
video was sideways with extreme width vs height, and very
large size. So I rotated it upright, reduced the wxh, and
cropped out what wasn't necessary, going from a gigantic
video to 240x276px that could be sent in email. The video was
reduced from 220 MB to 4.4 MB.
So it really depends on what you need. Can you afford to crop
it? Can you afford to resize it smaller? Can you afford to reduce
the length?
If I understand you, you didn't reduce the play time -- the
overall video length. You can do that by setting A and B. The
A and B numbers under Selection should then show something
less than the whole video length.
Resize: Video Output, Filters, double-click swResize and select
new size. (Why sw? Beats me.) To crop do the same thing with
the crop option. For example, can you afford to snip 1oo pixels
off the right and left? That will reduce file size.
Basically, whatever reduces the overall number of pixels in a
frame x number of frames is going to reduce file size.
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed
to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change the compression or remove the audio channel (which I don't need), or what?
Herbert Kleebauer wrote:
I don't want to put it on the cloud but I have a 30MB video of my baby thatTry https://ffmpeg.org/
I want to email to people who may be on any platform so I need it ~3MB. >>
It is a command line tool which needn't be installed. You have
to find the correct command line parameters, but a Google
search with "ffmpeg reduce video size" will give you the
needed information.
Thanks for that advice to try ffmpeg to shrink a video for email.
After a few dead ends (eg https://sourceforge.net/projects/ffmpeg/files/)
I found a compiled Windows binary and ran the following test steps.
1. I went to the ffmpeg.org suggested location for Windows binaries
https://ffmpeg.org/download.html#build-windows
Which gave me two different choices
https://www.gyan.dev/ffmpeg/builds/
https://github.com/BtbN/FFmpeg-Builds/releases
It was hard to choose, for example, what's the difference between
ffmpeg-master-latest-win64-gpl-shared.zip at 57.3 MB
ffmpeg-master-latest-win64-gpl.zip at 134 MB
So I arbitrarily picked the smaller of the two files above.
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl-shared.zip
Name: ffmpeg-master-latest-win64-gpl-shared.zip
Size: 60052525 bytes (57 MiB)
SHA256: 447EA59D610B9DC9F240EC933D761F717B41D28E7EC62C4A42F86CADCF21D93C
Which extracted to a tree of which these were in the "bin" directory.
ffprobe.exe, ffmpeg.exe, ffplay.exe
swresample-5.dll, avutil-59.dll, avdevice-61.dll, avcodec-61.dll
avfilter-10.dll, postproc-58.dll, avformat-61.dll, swscale-8.dll
2. I copied the 12MB 8-second-long RAW result from Avidemux & googled.
https://www.google.com/search?q=ffmpeg+reduce+video+size
Which found this fancy new compression as the first search result.
https://unix.stackexchange.com/questions/28803/how-can-i-reduce-a-videos-size-with-ffmpeg
Which suggested this brand new (as of 2020) compression command.
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Which I ran as follows
ffmpeg -i 20240325.raw.mp4 -vcodec libx265 -crf 28 output.mp4
With the result being quite a bit smaller in total file size.
03/29/2024 02:19 PM 12,613,296 20240325.raw.mp4
03/29/2024 02:33 PM 997,884 output.mp4
3. There were also suggestions to reduce the frame size in half.
ffmpeg -i 20240325.raw.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -c:v libx265 -crf 28 halfsize.mp4
Which had an even more drastic effect on the total file size.
03/29/2024 08:37 PM 334,564 halfsize.mp4
GSpot shows it changed the recommended display size.
12,613,296 20240325.mp4 Recommended Display Size 1920x1080
997,884 output.mp4 Recommended Display Size 1920x1080
334,564 halfsize.mp4 Recommended Display Size 960x540
In that stackexchange were many more options some of which I had
tested, but the results already are small enough to email now.
Thanks for helping me out in reducing video to emailable sizes.
What other options give me the most bang for the buck to shrink it?
On 2024-03-29 12:40, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of my baby that >> I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to
shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed >> to really shrink a video final size using whatever methods are appropriate? >>
I'm thinking it might crop the video or remove every other frame or change >> the compression or remove the audio channel (which I don't need), or what?
Handbrake.
1. I went to the ffmpeg.org suggested location for Windows binaries
https://ffmpeg.org/download.html#build-windows
Which gave me two different choices
https://www.gyan.dev/ffmpeg/builds/
https://github.com/BtbN/FFmpeg-Builds/releases
It was hard to choose, for example, what's the difference between
ffmpeg-master-latest-win64-gpl-shared.zip at 57.3 MB
ffmpeg-master-latest-win64-gpl.zip at 134 MB
For the Gyan one, you obviously want the statically compiled one.
The larger static package, there are no DLLs to lug around.
You can drop ffmpeg.exe or ffprobe.exe into your work folder
and go to work.
3. However, that description implies that the previous "shared" mystery
is apparently that the shared build "shares" developement files,
which of course I don't need.
(So now I know which of the github builds to get - i.e., non shared.)
On 3/29/2024 7:07 PM, Alan Browne wrote:
On 2024-03-29 12:40, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of my baby that >>> I want to email to people who may be on any platform so I need it ~3MB.Handbrake.
I expect a loss of quality just as it would be if I had used Irfanview to >>> shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed >>> to really shrink a video final size using whatever methods are appropriate? >>>
I'm thinking it might crop the video or remove every other frame or change >>> the compression or remove the audio channel (which I don't need), or what? >>
An acquired taste.
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed
to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change the compression or remove the audio channel (which I don't need), or what?
What free tool can I use every once in a while on Windows that is designed >> to really shrink a video final size using whatever methods are appropriate? >>
I'm thinking it might crop the video or remove every other frame or change >> the compression or remove the audio channel (which I don't need), or what?
Shutter Encoder is a video compression tool specifically designed to do exactly what you're asking for. Videos are best compressed by adjusting
the bitrate and resolution.
* Easy to use. Works as designed.
* Allows direct input of the 3 Mb size that you'd want to compress to,
and will automatically adjust the bitrate as needed
* Allows optional direct adjustment of bitrate
* Allows optional direct adjustment of resolution
* Will leave other characteristics of the video intact if they don't
affect the size
* Portable or setup downloads available
* Windows or MacOS
https://www.shutterencoder.com/en
I don't want to put it on the cloud but I have a 30MB video of my baby thatHandbrake.
I want to email to people who may be on any platform so I need it ~3MB. >>>>
I expect a loss of quality just as it would be if I had used Irfanview to >>>> shrink a 30MB image to ~3MB (cropping, resizing, quality, compression). >>>>
What free tool can I use every once in a while on Windows that is designed >>>> to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change >>>> the compression or remove the audio channel (which I don't need), or what? >>>
An acquired taste.
And a very good one. It works. It's free. It's well supported. It's
cross platform. Can run it with the GUI or with a command line (at
least on Mac and Linux) which I do invoking it from my own programs.
So I still don't know which binary to get from the guyan site, where I
would agree with you that I don't want separate DLLs if I don't have to.
| I think the approach I may take moving forward might be
| 1. Use Avidemux to trim the beginning and the end off (if possible).
| 2. Use ffmpeg to compress to the latest H265 codec (if possible).
| 3. If more is needed, then change the 1080p to 720p or 480p with
HandBrake.
|
| Does that sound like a decent plan for a typical home video shrink?
Avidemux can do #3. I don't know whether ffmpeg
can perform better compression. At this point you
know more than I do. :)
The most common shrink for home movies to be emailed would be lossless cutting, which is available on all the major platforms, including Apple. https://github.com/mifi/lossless-cut/releases
For Windows, there's also the Easiest Media Splitter video editor tool. https://easiestsoft.com/win/a-free-media-splitter/
3. However, that description implies that the previous "shared" mystery
is apparently that the shared build "shares" developement files,
which of course I don't need.
(So now I know which of the github builds to get - i.e., non shared.)
Your interpretation may be wrong because the non shared binaries are larger than the shared, so whatever is shared, makes it a lot smaller download.
1. Load the video into Losslesscut (or Avidemux) to trim as needed
(or at least decide timepoints to trim to using ffmpeg commands).
2. Convert with ffmpeg (or Avidemux or Handbrake) to H.265 compression.
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output_1.mp4
ffmpeg -i input.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -c:v libx265 -crf 28 output_2.mp4
3. Convert 1080p to 720p/480p with Handbrake (or ffmpeg or ShutterEncoder)
W Sat, 30 Mar 2024 10:57:31 -0500, Frankie napisal:
3. However, that description implies that the previous "shared" mystery is apparently that the shared build "shares" developement files,
which of course I don't need.
(So now I know which of the github builds to get - i.e., non shared.)
Your interpretation may be wrong because the non shared binaries are larger than the shared, so whatever is shared, makes it a lot smaller download.
Good catch. My interpretation was wrong for the reason you said.
Thank you.
Since the github ffmpeg worked, I gave up on trying to understand the gyan web page, although I see Paul has figured it out for the rest of us.
It's a good thing too because ffmpeg seems to be able to do everything anyway, so I might use a process in the future kind of like these steps.
1. Load the video into Losslesscut (or Avidemux) to trim as needed
(or at least decide timepoints to trim to using ffmpeg commands).
2. Convert with ffmpeg (or Avidemux or Handbrake) to H.265 compression. ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output_1.mp4
ffmpeg -i input.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -c:v libx265 -crf 28 output_2.mp4
3. Convert 1080p to 720p/480p with Handbrake (or ffmpeg or ShutterEncoder)
I probably could trim with ffmpeg so all I'd really need to do is look at
the video and figure out the start and stop points to trim with ffmpeg. https://shotstack.io/learn/use-ffmpeg-to-trim-video/
ffmpeg -i input.mp4 -ss 00:05:10 -to 00:15:30 -c:v copy -c:a copy output2.mp4
The above command uses '-to' to specify an exact time to cut to from the starting position. The cut video will be from '00:05:10 to 00:15:30', resulting in a 10 minutes and 20 seconds video.
If you specify a time '-to' that is longer than the input video, e.g. '-to 00:35:00' when the input video is 20 minutes long, the cut video will end where the input video ends. If you specify a '-to' that is smaller than '-ss', then the command won't run.
You'll get the following error:
Error: -to value smaller than -ss; aborting.
Note that if you specify '-ss' before '-i', '-to' will have the same effect as '-t', i.e. it will act as a duration.
Then I need to convert the 1080p to either 720p or 480p with ffmpeg. https://superuser.com/questions/714804/converting-video-from-1080p-to-720p-wit
h-smallest-quality-loss-using-ffmpeg
Recommended width and height for videos with 16:9 aspect ratios:
Best Choice: 2nd Best: 3rd Best:
Multiples of 16 Multiples of 8 Multiples of 4
1920 x 1080 1792 x 1008 1856 x 1044
1280 x 720 1152 x 648 1216 x 684
1024 x 576 896 x 504 1088 x 612
768 x 432 640 x 360 960 x 540
512 x 288 384 x 216 832 x 468
256 x 144 128 x 72 704 x 396
576 x 324
448 x 252
320 x 180
192 x 108
Given that, this is the command they recommend to convert to 780p:
ffmpeg -i input.mp4 -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease:force_divisible_by=2 -sws_flags lanczos output3.mp4
1. Load the video into Losslesscut (or Avidemux) to trim as needed
(or at least decide timepoints to trim to using ffmpeg commands).
2. Convert with ffmpeg (or Avidemux or Handbrake) to H.265 compression.
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output_1.mp4
ffmpeg -i input.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -c:v libx265 -crf 28 output_2.mp4
3. Convert 1080p to 720p/480p with Handbrake (or ffmpeg or ShutterEncoder)
But you should do this all in one ffmpeg command because
every decoding and encoding means a quality loss and also
consumes unnecessary computing time.
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
I expect a loss of quality just as it would be if I had used Irfanview to shrink a 30MB image to ~3MB (cropping, resizing, quality, compression).
What free tool can I use every once in a while on Windows that is designed
to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change the compression or remove the audio channel (which I don't need), or what?
W Fri, 29 Mar 2024 23:03:53 -0400, Newyana2 napisal:
| I think the approach I may take moving forward might be
| 1. Use Avidemux to trim the beginning and the end off (if possible).
| 2. Use ffmpeg to compress to the latest H265 codec (if possible).
| 3. If more is needed, then change the 1080p to 720p or 480p with
HandBrake.
|
| Does that sound like a decent plan for a typical home video shrink?
Avidemux can do #3. I don't know whether ffmpeg
can perform better compression. At this point you
know more than I do. :)
I tried so many things, most of which worked, that it's all a blur.
I think this may be a decent approach summarizing all the help I got.
1. Load the video into Losslesscut (or Avidemux) to trim as needed.
2. Convert with ffmpeg (or Avidemux or Handbrake) to H.265 compression.
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output_1.mp4
ffmpeg -i input.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -c:v
libx265 -crf 28 output_2.mp4
3. Convert 1080p to 720p/480p with Handbrake (or ShutterEncoder)
6. When it made a loud sound and said "Process completed", I saw this.
03/29/2024 12:19 PM 12,613,296 20240325_raw.mp4
03/30/2024 07:24 PM 2,999,566 20240325_shutterencoder.mp4
03/30/2024 08:01 PM 77,304,748 20240325_H.265_1MB.mp4
Obviously I goofed but that's OK as experimenting will probably uncover,
over time, why setting it to 1MB exploded it to 77MB! :-)
Given that, this is the command they recommend to convert to 780p:720:force_original_aspect_ratio=decrease:force_divisible_
ffmpeg -i input.mp4 -vf
scale=w=1280:h=
by=2 -sws_flags lanczos output3.mp4
I have to know. Are you Arlen’s sister? Daughter? Are you really just Arlen with a new persona and gender?
"Jan K." <janicekoziol@nie.ma.spamu.prosze.com> wrote:
720:force_original_aspect_ratio=decrease:force_divisible_
Given that, this is the command they recommend to convert to 780p:
ffmpeg -i input.mp4 -vf
scale=w=1280:h=
by=2 -sws_flags lanczos output3.mp4
If you don't need the audio you can add the flag -an just before the
output file and it will strip out the audio channel.
Some people have mentioned reducing the frame rate to reduce size
but in fact this is rarely effective, because video codecs normally
just store the differences between successive frames; so if you
halve the framerate e.g. from 30fps to 15fps you end up with twice
as big a difference between each frame, which doubles the space each
one takes up, so the final video is about the same size but more
jerky.
A similar argument is sometimes made regarding reducing the video
resolution: since compression is lossy, you could just leave the
picture size unchanged and instead lower the bitrate to the desired
level, the codec will then throw away as much detail as it has to in
order to achieve that bitrate, effectively reducing the resolution
for you but in a more intelligent manner than if you do it manually.
This won't work in the most extreme cases of size reduction but is
generally fine if you just need to halve the bitrate.
I don't want to put it on the cloud but I have a 30MB video of my baby that
I want to email to people who may be on any platform so I need it ~3MB.
On 30/03/2024 5:40 am, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of my baby
that
I want to email to people who may be on any platform so I need it ~3MB.
Why not on a cloud service (such as DropBox and many others) ? The
people that you give access to will see irt in all its glory.
Yes they can also download it, as with a crappy emailed version, and
share it with the world. So no difference there ....
And congrats on your baby ;- )
geoff
On 02/04/2024 22:49, geoff wrote:
On 30/03/2024 5:40 am, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of my
baby that
I want to email to people who may be on any platform so I need it ~3MB.
Why not on a cloud service (such as DropBox and many others) ? The
people that you give access to will see irt in all its glory.
Yes they can also download it, as with a crappy emailed version, and
share it with the world. So no difference there ....
And congrats on your baby ;- )
geoff
You are very kind, 'geoff'! :-)
Jan could also upload her video to YouTube and send a link to her
friends and family. That is easy to do nowadays.
https://www.youtube.com/watch?v=tsu01TR7Ofk
On 3/04/2024 11:30 am, David Brooks wrote:
On 02/04/2024 22:49, geoff wrote:
On 30/03/2024 5:40 am, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of myWhy not on a cloud service (such as DropBox and many others) ? The
baby that
I want to email to people who may be on any platform so I need it ~3MB. >>>
people that you give access to will see irt in all its glory.
Yes they can also download it, as with a crappy emailed version, and
share it with the world. So no difference there ....
And congrats on your baby ;- )
geoff
You are very kind, 'geoff'! :-)
Jan could also upload her video to YouTube and send a link to her
friends and family. That is easy to do nowadays.
https://www.youtube.com/watch?v=tsu01TR7Ofk
Didn't realise one could do 'private' posts in YouTube, but just checked
and you can.
geoff
On 03/04/2024 05:26, geoff wrote:
On 3/04/2024 11:30 am, David Brooks wrote:
On 02/04/2024 22:49, geoff wrote:
On 30/03/2024 5:40 am, Jan K. wrote:
I don't want to put it on the cloud but I have a 30MB video of myWhy not on a cloud service (such as DropBox and many others) ? The
baby that
I want to email to people who may be on any platform so I need it ~3MB. >>>>
people that you give access to will see irt in all its glory.
Yes they can also download it, as with a crappy emailed version, and
share it with the world. So no difference there ....
And congrats on your baby ;- )
geoff
You are very kind, 'geoff'! :-)
Jan could also upload her video to YouTube and send a link to her
friends and family. That is easy to do nowadays.
https://www.youtube.com/watch?v=tsu01TR7Ofk
Didn't realise one could do 'private' posts in YouTube, but just checked
and you can.
geoff
Indeed! 🙂
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 461 |
Nodes: | 16 (2 / 14) |
Uptime: | 60:18:58 |
Calls: | 9,370 |
Calls today: | 1 |
Files: | 13,549 |
Messages: | 6,087,158 |