How can i change the DAR from 16:9 TO 2:35:1 Using Megui??
i am experimenting with encoding DVDs (Up-scaling TO 720P:- 1280*544) using x264
the output is perfect but i want to change the DAR
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 8 of 8
Thread
-
-
1280x544 is already 2.35:1 DAR if you don't specify otherwise. If you want to flag it anyway, set the SAR to 1:1. "--sar 1:1" on the x264 command line.
-
Unless you enable anamorphic encoding, MeGUI will always use a SAR (pixel aspect ratio) of 1:1, so a 1280x544 encode will display as 1280x544 (1280/544=2.359). Resizing without anamorphic encoding enabled always resizes to square pixels. MeGUI will add the correct SAR to the command line for you.
Have a look in MeGUI's log file. It's reasonably informative. You'll see something like this (from an encode I'm running at the moment). The x264 info is mostly under the "standard error stream" section.
[01/09/15 1:17:50 AM] resolution: 1276x690
[01/09/15 1:17:50 AM] frame rate: 24000/1001
[01/09/15 1:17:50 AM] aspect ratio: 638:345 (1.849)
[01/09/15 1:17:50 AM] Job command line: "C:\Program Files\MeGUI\tools\x264\x264.exe" --level 4.1 --preset slow --tune film --crf 18.0 --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --no-fast-pskip --stitchable --colormatrix bt709 --sar 1:1 --output "D:\Video.mkv" "D:\Video.avs"
[01/09/15 1:17:50 AM] Process started
[01/09/15 1:17:50 AM] Standard output stream
[01/09/15 1:17:50 AM] Standard error stream
[01/09/15 1:18:09 AM] avs [info]: 1276x690p 1:1 @ 24000/1001 fps (cfr)
[01/09/15 1:18:09 AM] x264 [info]: using SAR=1/1
[01/09/15 1:18:09 AM] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[01/09/15 1:18:09 AM] x264 [info]: profile High, level 4.1
Also for the record.... when you load a script into the video section and use the Preview button, the preview window shows the display aspect ratio down the bottom. You can actually change it, and if you do MeGUI will adjust the encoder SAR for you accordingly when you add the script to the queue for encoding. Changing it is probably not something you'd generally need to do though. -
Does it actually specify the SAR or DAR in the h.264 stream or at the container level? Or does it just assume players will assume 1:1 SAR and play at 2.35:1 DAR? Of course, that's what all players do so it doesn't really matter. But I still like to specify 1:1 SAR in the h.264 stream because it's easy to change the flags if I ever want to. It's much harder to add SAR flags to an h.264 stream that doesn't have them.
-
Yes. MeGUI adds --sar 1:1 to the x264 command line (or an appropriate SAR for anamorphic encodes). Well.... the log files say it does and I checked several old ones. I never add --sar to the command line myself, and I leave it set to "default" in the x264 encoder configuration. All the x264 encoder settings in the command line from my earlier log file were set by me except for --keyint, which I leave to MeGUI to add based on the frame rate, and --sar.
How do you modify the SAR in the h.264 stream? Not that it's something I need to do much but if I do I use the muxer/bitstream modifying build of ffmpeg, which is command line, so it's a pain anyway, but I'm pretty sure it sets the SAR whether or not the SAR flags already exist. Unless I'm remembering wrong. I haven't used it for a for while. -
Similar Threads
-
DAR confusion
By adom in forum Newbie / General discussionsReplies: 4Last Post: 25th Aug 2014, 00:50 -
DAR wonīt change.
By vidqual in forum DVD RippingReplies: 33Last Post: 25th Jun 2013, 11:41 -
Video has DAR 16:9 but is really a 4:3. How to convert?
By pooksahib in forum Video ConversionReplies: 6Last Post: 30th Nov 2011, 09:41 -
Virtualdub: DAR?
By higgins327 in forum Video ConversionReplies: 4Last Post: 1st Apr 2011, 07:42 -
Dar, sar...
By drgt in forum Newbie / General discussionsReplies: 44Last Post: 13th Dec 2010, 14:09