News:

--

Main Menu

Convert video with target Frame and File Size

Started by tesla, May 07, 2012, 09:23:06 AM

Previous topic - Next topic

tesla

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.


tesla

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

Video size does not include the audio size.
For frame size use video filter: resize.

Jan Gruuthuse


jnaymie

#5

--==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