Author Topic: Cut parts of video but save increased file size  (Read 344 times)

rodsan

  • Newbie
  • *
  • Posts: 3
Cut parts of video but save increased file size
« on: September 29, 2019, 05:14:53 PM »
I opened an existing video, cut some parts out of the video and when I save the changes the file size is bigger than the original. I was expecting it to be smaller.

I am new to video editing, what am I not understanding?

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Cut parts of video but save increased file size
« Reply #1 on: September 29, 2019, 09:58:45 PM »
First of all, you should decide whether you can use the copy mode (which is the default in Avidemux). Obviously, if the file size gets bigger, you have chosen to re-encode. So please explain, whether it is deliberate or not.

rodsan

  • Newbie
  • *
  • Posts: 3
Re: Cut parts of video but save increased file size
« Reply #2 on: September 30, 2019, 10:45:05 PM »
Well if I leave in copy mode and I try to cut, I get message about “not on a key frame and will corrupt the file. “

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Cut parts of video but save increased file size
« Reply #3 on: October 01, 2019, 12:01:13 AM »
Correct, please select cut points using up/down arrows to ensure they are on keyframes (this might be still not enough with some kinds of H.264 streams if the resulting video should be smoothly playable in VLC and other FFmpeg-based players, but this is the minimum required to avoid re-encoding).

If you absolutely need cut points to be on pictures of different type, then you have to re-encode, losing quality. In this case, it is important to know the properties of the source video to look for a viable compromise between size and quality.

rodsan

  • Newbie
  • *
  • Posts: 3
Re: Cut parts of video but save increased file size
« Reply #4 on: October 01, 2019, 12:19:49 AM »
Thank you, is there a resource you know where I can read about this for beginners? Or what do I need to google?

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Cut parts of video but save increased file size
« Reply #5 on: October 01, 2019, 08:50:57 AM »
A good question. Maybe a general idea of the basics of video compression would be a proper starting point: https://en.wikipedia.org/wiki/Data_compression#Video

Regarding Avidemux usage, please just ask specific questions here and don't be afraid to explore the application. I think the official Avidemux wiki is so outdated now that it does more harm than good.