Video To DVD: Difference between revisions

From Hack Sphere Labs Wiki
Jump to navigation Jump to search
Created page with " ffmpeg -y -i ihtsbih.webm -aspect 16:9 -vf scale=720x306,pad=720:480:0:87:black -target ntsc-dvd -q:a 0 -q:v 0 output.mpg =Maintain Aspect Ratio= *http://andrew.hedges.name/e..."
 
Line 4: Line 4:
  original height / original width x new width = new height
  original height / original width x new width = new height
*Get new height
*Get new height
*Scale video from 720x480
*Scale video from 720x480 (if this is your output)
*So if new video is supposed to be 480 high but to maintain aspect it needs to be 306 then scale to 306 like above and add two 87 pix bars
*So if new video is supposed to be 480 high but to maintain aspect it needs to be 306 then scale to 306 like above and add two 87 pix bars

Revision as of 18:54, 13 December 2013

ffmpeg -y -i ihtsbih.webm -aspect 16:9 -vf scale=720x306,pad=720:480:0:87:black -target ntsc-dvd -q:a 0 -q:v 0 output.mpg

Maintain Aspect Ratio

original height / original width x new width = new height
  • Get new height
  • Scale video from 720x480 (if this is your output)
  • So if new video is supposed to be 480 high but to maintain aspect it needs to be 306 then scale to 306 like above and add two 87 pix bars