Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 11th, 2007, 5:19 PM   #1
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 403
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
DVD Encoder Parameter Calculator

I don't know how many people here encode their own DVD's but recently a friend of mine had a problem. Usually recorded movies are in a standard 4:3 display something like 320 x 240 or 640 x 480. Or if you have a fancy camera 16:9 display aspect ratio. So when you put these movies into a DVD encoder program, the standard settings usually work. However, problems arise when the aspect ratio isn't by default 4:3 or 16:9. In his case the aspect ratio is one of the commonly used ratios in cinematography which is 2.39:1. Which meant that the display is actually somewhat vertically slimmer than 16:9. Ipso facto you see more stuff to the sides. So when he encoded the people came out looking like one of those kung fu movies where they're all skinny and tall (that's because of poor PAL to NTSC conversion). As I'd encoded DVDs in the past he asked me if I knew how to fix it. I couldn't quite put it into words how to fix it as I had forgotten and I wasn't so sure my math was correct either. After a couple of trials and errors I figured out how to do it correctly, and I decided to write up a Flash application that would do this process automatically.

Things to keep in mind:
  1. The app assumes that you want to maintain the aspect ratio of the original movie
  2. The app assumes you want the movie centered, and not askew somewhere on the screen
  3. The app assumes that the physical ratio (pixels width / pixels height) is the actual display ratio of the movie
  4. If the display ratio is different to the physical size ratio then enter the display ratio of the original movie
  5. Padding is placed there in case you want to add some to your movie so that the physical tv borders don't crop parts of the image
  6. The image at the bottom displays an image which is proportional to the DVD format of 720 x 480 viewed at 3:2, the white area is the move, the black area is the padding
  7. If it's all white that means the movie fits entirely within the region without any padding
  8. The resulting numbers are: aspect ratio, movie width x movie height, horizontal padding (left and right are same number) x vertical padding(top and bottom are same number)
DVD Encoder Calculator
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Commenting out parameter names in function parameter list? Eoin C++ 5 Aug 8th, 2006 3:14 AM
Programming video game to TI calculator? magus57 Project Ideas 20 May 5th, 2006 10:19 PM
Javascript calculator narroweyes JavaScript and Client-Side Browser Scripting 7 Jul 30th, 2005 12:46 PM
simple calculator Jessehk Show Off Your Open Source Projects 4 May 25th, 2005 4:39 PM
my Calculator layer Other Scripting Languages 4 Mar 9th, 2005 7:09 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:47 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC