I have some AVI files (mpeg4, yuv420p) with different screen sizes (632x258; 640x272; 640x352;624x256 etc. etc.) I want to convert to DVD-files with ffmpegX 0.0.9.
In the 'video'-tab I tried Autosize DVD and DVD 16:9 but I always get deformed aspect ratio in the converted DVD-files.
How do I need to set up the options to always get a normal, not deformed, video file that can be played on DVD?
I think I need to set something on that adds black bars if needed to get to a DVD-aspect ratio or something but I'm a total n00b in this video stuff
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 23 of 23
Thread
-
-
For converting widescreen movies to DVD, always use Autosize 'DVD 16:9'.
632x258 has an aspect ratio of 2.45:1 and needs letterboxing for 'DVD 16:9'.
640x272 has an aspect ratio of 2.35:1 and needs letterboxing for 'DVD 16:9'.
640x352 has an aspect ratio of 1.82:1 and does not need letterboxing for 'DVD 16:9' (no harm done with auto-letterboxing).
624x256 has an aspect ratio of 2.44:1 and needs letterboxing for 'DVD 16:9'.
For the DVD mpeg2enc presets, there is a "Letterbox" checkbox in the Options tab, that will add auto-letterboxing for whatever size it needs.
For the DVD ffmpeg presets, it depends on using 'Decode with Quicktime' or not. 'Decode with Quicktime' has its own auto-letterbox checkbox. Decoding with ffmpeg (Quicktime unchecked) uses the letterbox fields in the Filters tab, where the letterbox size (in pixels) has to be filled in. -
Thx case.
I just checked and setting my video-settings to Mpeg2enc, autosize DVD 16:9 changes the video size to 720x480. The options tab already has 'letterbox' checked.
I assume I have to replace it by the native ratio (here 632x258) but then I get error message the width value has to be divisible by 16. If I leave it to the suggested 720x480, I get the deformed output video... -
Originally Posted by Focaldesign
1) Are you trying to make a PAL or NTSC DVD? These require slightly different target dimensions.
2) What are using to view the result of the conversion?
3) How much distortion in geometry are you seeing? If you could post a screenshot showing this, it might be instructive. -
Originally Posted by tomlee59
2) Mac OS 10.5 DVD player shows distortion (99% of all the output movies freeze during first 10 seconds in the mac dvd player by the way). I've also burned some and played them in my dvd player on the tv and it's the same.
3) I'm at work now, I'll try to upload some screenshots asap.
Thx already for the help! -
Originally Posted by Focaldesign
The conversion AVI to DVD keeps most of its quality if you do not change the framerate: try to keep the framerate the same as the source file. With framerate conversions, new frames will have to be inserted (higher framerate), or frames will have to be dropped (lower framerate).
ffmpegX helps you by trying to detect the framerate of the source file and makes that the default for the output file. For DVD presets, it also sets the video size based on the framerate.
So if your source file is 25 fps, then convert to PAL DVD. If your source is 23.976 fps, then convert to NTSC FILM DVD. If your source file is 29.97 fps, then convert to NTSC DVD. -
Hmmm,
I've dragged a file into ffmpegX and set the target format to DVD.
I read it has 23.976 fps so it should be NTSC FILM.
I don't touch the video size and set autosize to DVD 16:9. Framerate automaticly says NTSC FILM as it should.
But on the 'options' tab I don't find any letterbox option all of a sudden?
-
Try the 'DVD mpeg2enc' preset instead of 'DVD ffmpeg' preset.
For 23.976 fps DVDs, also check the "Set 3:2" checkbox in the mpeg2enc options. -
Ok,
I then have standard checked options: No SVCD scan, Decode with QT, Altivec, Bicubic.
I assume I have to check Letterbox and Set 3:2 also. Any other items? -
Originally Posted by Focaldesign
QT is a suitable choice for decode if you have the ability to play the source file with QT. If QT will not play it, then do not select "decode with QT." -
Aha, but I checked and the movies don't play in QT... So that leaves me with the previous question:
Originally Posted by Focaldesign -
Altivec is an option to calculate faster in a different part of the CPU chip on PowerPC G4/G5 Macs. Not sure what it does on Intel Macs, if anything. The reason for the checkbox is that G3 owners can uncheck it.
Bicubic is an improvement scaling algorithm. Unchecking it would convert faster, but resize the video with less visual quality. Unchecking it probably means 'bilinear scaling'.
Decoding can have three settings: with QuickTime, with mplayer, or neither (meaning decode with ffmpeg). Most XviD AVIs should convert well with any of those three settings.
If your source file doesn't play in QuickTime Player, then 'Decode with QT' won't work either. Then choose a different decoder.
'Set 3:2' flags the video with a 3:2 pulldown instruction, so that a set top DVD player can smoothly output a 23.976 fps progressive MPEG-2 video to a tv set that requests a 29.97 fps interlaced signal (just like commercial movie DVDs do).
The other items you can leave at default setting. -
Strange,I've tried checking of encoding with QT and checking encoding with mplayer. I got an error during converting.
Then I checked them off both so it would encode with ffmpeg and I got that error again. Encoding with QT won't work because my avi doesn't play with QT...
So I'm guessing DVDmpeg2enc doesn't work in any way. But when I want DVDffmpeg I can only choose letterbox when checking encoding with QT, which doesn't work...
Any idea's?
By the way, the error is this: (line 11) of this code snippet
Code:Exiting... (End of file) wait, encoding to mp2 audio with mp2enc... INFO: Opened WAV file, freq = 48000 Hz, channels = 2, bits = 16 INFO: format = 0x1, audio length = 1201775616 bytes INFO: slots/frame = 672 INFO: frac SpF=0.000, tot bitrate=224 kbps, s freq=48.0 kHz INFO: System is big endian INFO: Avg slots/frame = inf; b/smp = inf; br = inf kbps INFO: Encoding with psychoacoustic model 2 is finished INFO: The MPEG encoded output file name is "/Users/stefaanellebaut/Movies/dvd/xfiles-letterbox.mpa" **ERROR: [mplex] Time offset units if specified must: ms|s|mpt mjpegtools mplex-2 version 1.9.0 (2.2.7) Usage: /Applications/ffmpegX.app//Contents/Resources/mplex [params] -o <output filename pattern> <input file>... %d in the output file name is by segment count where possible params are: --verbose|-v num Level of verbosity. 0 = quiet, 1 = normal 2 = verbose/debug --format|-f fmt Set defaults for particular MPEG profiles [0 = Generic MPEG1, 1 = VCD, 2 = user-rate VCD, 3 = Generic MPEG2, 4 = SVCD, 5 = user-rate SVCD 6 = VCD Stills, 7 = SVCD Stills, 8 = DVD with NAV sectors, 9 = DVD] --mux-bitrate|-r num Specify data rate of output stream in kbit/sec (default 0=Compute from source streams) --video-buffer|-b num [, num...] Specifies decoder buffers size in kB. [ 20...2000] --lpcm-params | -L samppersec:chan:bits [, samppersec:chan:bits] --mux-limit|-l num Multiplex only num seconds of material (default 0=multiplex all) --sync-offset|-O num ms|s|mpt Specify offset of timestamps (video-audio) in mSec --sector-size|-s num Specify sector size in bytes for generic formats [256..16384] --vbr|-V Force variable bit-rate video multiplexing --cbr|-C Force constant bit-rate video multiplexing --run-in|-R num Force a 'run-in' of exactly num frame intervals --packets-per-pack|-p num Number of packets per pack generic formats [1..100] --system-headers|-h Create System header in every pack in generic formats --max-segment-size|-S size Maximum size of output file(s) in Mbyte (default: 0) (no limit) --ignore-seqend-markers|-M Don't switch to a new output file if a sequence end marker is encountered ithe input video. --vdr-index|-i <vdr-index-filename> Generate a VDR index file with the output stream --workaround|-W workaround [, workaround ] --help|-? Print this lot out!
-
Originally Posted by Focaldesign
-
Another way to tackle this problem is to make QuickTime understand the AVI, by installing a third party codec ("component" in QT language).
I thought QuickTime 7.5.5 could handle most MPEG-4 AVIs by itself now, but perhaps the Perian Component can help QT decode your source file.
It might be useful to use MediaInfo Mac to get information on exactly which codecs are used in the AVI, so we won't have to guess about your source file. -
It works fine, but now I have another (minor) problem. It seems tht QT already includes my subtitles. Now when I activate the Ducth subtitles on the dvd player, it get them twice. Once already embedded in the video file, and another in overlay from the dvd player.
I assume checking off 'load external subtitles' in the Perian settings and keeping the subtitle source in ffmpegX is the best because I can then choose to see subtitles or not? -
Thx Case! Love the quick replies. one of the few messageboards where you get fast en usefull info like this.
-
Originally Posted by Focaldesign
Similar Threads
-
autogk wrong aspect ratio
By codemaster in forum Video ConversionReplies: 8Last Post: 5th Feb 2011, 09:09 -
Wrong Aspect Ratio
By weathervane in forum CapturingReplies: 11Last Post: 18th Aug 2010, 22:18 -
DVD to x264 mkv gets wrong aspect ratio
By kramboa in forum DVD RippingReplies: 8Last Post: 3rd Nov 2009, 10:28 -
AVI files displaying with wrong aspect ratio
By The111 in forum Newbie / General discussionsReplies: 10Last Post: 19th Mar 2009, 16:33 -
wrong aspect ratio ???
By clickit in forum ComputerReplies: 3Last Post: 7th Dec 2007, 02:49