Comments

RogerS wrote on 11/22/2023, 3:13 AM

How will it be used? Formats like HEVC can look similar to AVC at ~1/3 the bitrate. However it won't play on all devices.

Otherwise, decrease resolution and bitrate to reduce the file size.

claus-wolter wrote on 11/22/2023, 4:15 AM

It is only to show for a person, to take over a show.

claus-wolter wrote on 11/22/2023, 4:16 AM

I think it is best for to be played on a Mac

 

RogerS wrote on 11/22/2023, 4:56 AM

Try MagixHEVC then and see if you can achieve your target file size. You can send them a small sample clip to playback to confirm it will work on their Mac with whatever player they are using.

claus-wolter wrote on 11/22/2023, 5:07 AM

Thanks RogerS - I will try that :-)

 

DMT3 wrote on 11/22/2023, 6:27 AM

Just remember only two things determine file size, Length of program and bitrate. If you can't change the length of the program, you have to adjust the bitrate. To make it smaller, you lower the bitrate, but that also affects quality so you have to determine what quality is acceptable.

Howard-Vigorita wrote on 11/22/2023, 1:15 PM

Smaller frame sizes and 8-bit instead of 10-bit also reduce bitrate/file-sizes and might be fine on smaller displays like cell phones and lower res HD displays compared to 4k or big-screens.

DMT3 wrote on 11/22/2023, 4:28 PM

Just being smaller frame or 8 bit doesn't affect file size. It just allows you to use a lower bitrate to retain relative quality which does reduce file size.

mark-y wrote on 11/22/2023, 11:31 PM

An encoded bitrate of 2Mbps will give you 900 MB/hr.

2*3600*.125 =

claus-wolter wrote on 11/24/2023, 3:59 AM

Thanks for all your good answers, they are very helpful. I just miss one little thing: Can anyone tell me the exact choice in Vegas Pro to rendering the file into a smaller file? Best CW :-)

RogerS wrote on 11/24/2023, 4:09 AM

Try one of the presets with MagixHEVC for the resolution you want to render at (HD or UHD for example). Be sure the framerate matches the project (look for the = sign for templates that match resolution and framerate. You can customize the template as well).

The HEVC bitrates are high so try reducing the one you choose by ~60% and see if the resulting file size and quality is acceptable to you.

If you have questions feel free to share a screenshot of the settings you are testing.

claus-wolter wrote on 11/24/2023, 4:14 AM

Thanks RogerS - I will try that later to day. :-)

Former user wrote on 11/24/2023, 4:19 AM

@claus-wolter Hi, share the MediaInfo of the file you're trying to reduce, you'll get better answers then, everyone here is sharing their knowledge but the decision they themselves would make would depend on the file they were working with, & so you need to share the info so they can advise a bit better if you want 'the exact choice to rendering the file into a smaller file'

There's an App called MediaInfo, download it, it's free & a fast download with no added adverts or any of that rubbish. https://mediaarea.net/en/MediaInfo
After downloading, right click on the media file in your Windows folder, open MediaInfo, choose Text from the options at the top, Copy & paste the information in a new comment on here 👍

Like this

 

claus-wolter wrote on 11/24/2023, 7:04 AM

I must say I am still in 4.23 GB from 4.47 GB in the original - I am lost - It end up too big everytime :-I

I did try to send a screenshot, but it keep saying "Error uploading" - in .jpg

claus-wolter wrote on 11/24/2023, 7:05 AM

HERE IT IS :-) Please let me know what to choose

Former user wrote on 11/24/2023, 7:14 AM

@claus-wolter Hi, share the MediaInfo of the file you're trying to reduce, you'll get better answers then, everyone here is sharing their knowledge but the decision they themselves would make would depend on the file they were working with, & so you need to share the info so they can advise a bit better if you want 'the exact choice to rendering the file into a smaller file'

There's an App called MediaInfo, download it, it's free & a fast download with no added adverts or any of that rubbish. https://mediaarea.net/en/MediaInfo
After downloading, right click on the media file in your Windows folder, open MediaInfo, choose Text from the options at the top, Copy & paste the information in a new comment on here 👍

Like this

Share the MediaInfo I asked for & you'll get a clear answer to what render settings to choose.

 

claus-wolter wrote on 11/24/2023, 7:30 AM

General
Complete name                            : D:\1 ARBEJDE\3. Crazy Christmas Cabaret\2. Video Crazy 2023\1. Act Crazy 21. nov.2023.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (iso4/avc1/isom)
File size                                : 4.48 GiB
Duration                                 : 1 h 18 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 8 144 kb/s
Frame rate                               : 50.000 FPS
Encoded date                             : 2023-11-21 19:57:34 UTC
Tagged date                              : 2023-11-21 19:57:34 UTC
Writing library                          : Apple QuickTime
com.apple.proapps.reel                   : 1
com.apple.proapps.scene                  : 1
com.apple.proapps.shot                   : 99
com.blackmagic-design.camera.environment : interior
com.blackmagic-design.camera.dayNight    : day
com.apple.proapps.cameraName             : A
com.blackmagic-design.camera.dateRecorde : 20231121

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3.2
HDR format                               : SMPTE ST 2086, HDR10 compatible
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=25
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 h 18 min
Bit rate                                 : 8 003 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 50.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.174
Stream size                              : 4.40 GiB (98%)
Language                                 : English
Encoded date                             : 2023-11-21 19:57:34 UTC
Tagged date                              : 2023-11-21 19:57:34 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Mastering display color primaries        : BT.709
Mastering display luminance              : min: 0.0000 cd/m2, max: 0 cd/m2
Codec configuration box                  : avcC

Audio
ID                                       : 3
Format                                   : mp4a
Codec ID                                 : mp4a
Duration                                 : 1 h 18 min
Source duration                          : 1 h 18 min
Source_Duration_LastFrame                : -5 ms
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Sampling rate                            : 48.0 kHz
Stream size                              : 72.1 MiB (2%)
Source stream size                       : 72.1 MiB (2%)
Language                                 : English
Encoded date                             : 2023-11-21 19:57:34 UTC
Tagged date                              : 2023-11-21 19:57:34 UTC

Other
ID                                       : 2
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 1 h 18 min
Frame rate                               : 50.000 FPS
Time code of first frame                 : 00:00:00:00
Time code of last frame                  : 01:18:41:49
Time code, stripped                      : Yes
Language                                 : English
Encoded date                             : 2023-11-21 19:57:34 UTC
Tagged date                              : 2023-11-21 19:57:34 UTC

Like this ? :-)

RogerS wrote on 11/24/2023, 7:41 AM

Yes, like that. So it's 720p AVC 50fps footage.

Try taking the 720p template and just as you did go with 25fps. Do a test render with HEVC at maybe an average of 2 mbps and maximum of 4 and see if it looks acceptable? If it's not good enough average 4 and maximum 8?

mark-y wrote on 11/25/2023, 4:29 AM

Hi Claus, the only things that matter in determining file size are Time (in Seconds) and Bitrate (in Megabits per Second).

The math, using the nomenclature most common in video editing, is:

  • Bitrate (Mbps) x Time (Seconds) x .125 = File Size (MB)
  • (Note that 1 Megabyte (MB) equals 8 Megabits (Mb)

I showed earlier the arithmetic for one hour of video at one Gigabyte (1000 Megabytes).

  • 900 MB = 3600 Seconds X 2 Mbps X .125

The area of uncertainty you have raised is, "Will my video quality be acceptable to me at only 2 Mbps?"

That, of course, is entirely up to your judgment, and the complexity of motion in your original. If it consists of sporting events, or waves rippling, or leaves rustling, I don't hold out very much hope for a successful experiment.

The way to compress your video to a ridiculously low bitrate and still maintain some clarity is controlled by a number of factors, which are summarized here:

  • Lowest source motion complexity (talking heads with static backgrounds are great). Slideshows are better.
  • Lowest output resolution tolerable (I wouldn't go below 1280x720)
  • Lowest frame rate practical (yes, reduce it to 25 fps)
  • The most efficient encoder possible for quality vs. bitrate

It is the last bolded statement that needs more discussion in your case:

  • The best encoders to maintain quality at low bitrates currently include x264 and x265, VP9, and AV1
  • All four are available as software encoders in Voukoder, a free third-party addon for Vegas.
  • Hardware encoders, such as their QSV counterparts in Voukoder, are really awful at low bitrates. In general, they require almost double the bitrate to approach the quality of their software versions. I don't use VP9 or AV1 so my observations are based on .h264 / .h265 and their x variants.
  • Hardware encoders including QSV, NVENC, and AMD are built for speedy encoding, at the natural detriment of file size and efficiency.

You may not understand all the encoding parameters listed in Voukoder or Shutter Encoder nor which ones influence quality vs. size, so you might start with the predefined templates in Handbrake, which also uses x264 /x265.

Please, if you need more than a quick answer, run some tests on your own using the suggestions here and from others, ask additional questions, and post your sample results in the forum. Whether you will arrive at a solution acceptable to you is entirely unpredictable from the information we have.

Happy Holidays and Best of Luck!

 

 

claus-wolter wrote on 11/25/2023, 4:35 AM

Thanks a lot, RogerS - That was a perfect solution for me. I will never forget! Case closed ! Best CW

3POINT wrote on 11/25/2023, 5:39 AM

Despite case is closed, I still want to draw the attention to following method; which I think is the easiest and fastest way to achieve a file compression to a certain file size (even no need to use Vegas for that).

Just import the file in the (free) app Shutter Encoder, select an output codec and set the wished file size and click Start Function, that's it! No bit rate mathematics (@mark-y) and no manually Vegas rendertemplate changing (@RogerS).

claus-wolter wrote on 11/26/2023, 1:32 AM

 

mark-y / Many thanks for the technical analysis, I have copied it into a document so that I can always read it up. 3POINT / Shutter Encoder is a fantastically simple app to minimize videos with, I am very happy with that link. Thanks for all the very useful help. I really appreciate that! Best CW

3POINT wrote on 11/26/2023, 2:15 PM

Shutter Encoder is the Swiss Knife for video with dozens of video functions. It should be present in the toolbox of every video editor.

mark-y wrote on 11/26/2023, 4:52 PM

@claus-wolter You are very welcome. I thought you might be interested in learning the relationships of things, in addition to discovering ready-made solutions, at which Shutter Encoder is very good!