Author Topic: Convert video with target Frame and File Size  (Read 10262 times)

tesla

  • Newbie
  • *
  • Posts: 2
Convert video with target Frame and File Size
« on: May 07, 2012, 09:23:06 AM »
Hi Guys

I am trying to convert a x264 mp4 video to a xvid avi video. 

The input file has a resolution of 720p and is roughly 45 minutes long.

I want the output file to have a resolution 480 p and a file size of 350mb.

Any help would be much appreciated.

Edit: Btw, I want it in Xvid so that I can watch it on my DVD player and TV from a flash drive.
« Last Edit: May 07, 2012, 09:24:44 AM by tesla »

zakk

  • Hero Member
  • *****
  • Posts: 623

tesla

  • Newbie
  • *
  • Posts: 2
Re: Convert video with target Frame and File Size
« Reply #2 on: May 07, 2012, 09:45:47 AM »
Been there tried that. 

Specifying the file size of 350MB results in a file size of 390MB.

Can't where to set the frame size.

zakk

  • Hero Member
  • *****
  • Posts: 623
Re: Convert video with target Frame and File Size
« Reply #3 on: May 07, 2012, 10:09:22 AM »
Video size does not include the audio size.
For frame size use video filter: resize.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6053
Re: Convert video with target Frame and File Size
« Reply #4 on: May 07, 2012, 10:10:50 AM »
Try video size 300 MB?

jnaymie

  • Newbie
  • *
  • Posts: 7
Re: Convert video with target Frame and File Size
« Reply #5 on: May 09, 2012, 09:53:25 AM »

--==CORRECT FILE-SIZE==--
- Go to the 'Calculator' (F7)
- Set 'Medium' to 'Custom'
- Input desired file size into 'Custom Size' (350 in your case)
- Input desired Audio Bitrate into 'Track 1'
- Write down the value from 'Video Bitrate' {underneath 'Track 2'}
- Go to 'Configure' and change 'Encoding Mode' to 'Constant Bitrate' (single pass) or 'Average Bitrate' (two pass) {two pass is better}
- Enter value copied from 'Video Bitrate' value into the field directly below ('Target Bitrate' or 'Average Bitrate')

**NOTE: if the file cannot be greater than 350mb you may want a bitrate slightly lower than the calculated value to ensure the file is small enough


--==CORRECT FRAME-SIZE==--
- Go to 'Filters' then 'Transform'
- Double-Click 'Resize' (slower) or 'MPlayer Resize' (faster)
- Either:
  - Set 'Source' & 'Destination' Aspect Ratios then drag the slider to desired dimensions or input 1 of the 2 dimensions (480 into 'Height')
   OR
  - Deselect 'Lock Aspect Ratio' and input both 'Width' and 'Height' manually
- Press 'OK' then you should see the newly added filter in the 'Active Filters' column on the right

**NOTE: the Width MUST be a multiple of 8 for AVI files. If the width you chose is not a multiple of 8, you will get a warning after closing the 'Video Filter Manager' window
« Last Edit: May 09, 2012, 10:14:10 AM by jnaymie »