Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Jun 2006
Posts: 260
|
x264's SAR or MKV's DAR?
If I encode with x264 to MKV and use a custom SAR is it really stored in the AVC stream or is MKV's DAR used instead?
I did an anamorphic encode via MeGUI which resulted in a weird AR (it's a documented bug of the MeGUI version I'm currently using). I wanted to fix it via MKVToolnix remuxing and setting the correct DAR. Then I thought something weird might happen if the stream has one SAR and the container is specifying a different AR via DAR. But if I extract the rawstream out of the MKV with weird AR and open it via DGAVCIndex I get: SAR: Unspecified. So I wonder if the AR was stored just at the container level. |
|
|
|
|
|
#2 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
in the avc stream.
mkvmerge removes the AR from the stream and places it into the container.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#3 | Link |
|
masktools2 (ab)user
Join Date: Oct 2006
Location: PAL-I :(
Posts: 235
|
Does it really remove it? I was in the through that it is kept, so even after doing AVC (w/ --sar) -> MKV/MP4 -> AVC -> MKV/MP4 the correct AR would be still kept since it's present in the AVC stream... Or is my memory going bad. :/
|
|
|
|
|
|
#5 | Link |
|
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
or you can use the --engage keep_bitstream_ar_info in mkvmerge
BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
|
|
|
|
|
#7 | Link | |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Quote:
you can do as buzzqw sugested to change the default behaviour
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
|
#9 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
k, np. sorry. however search before posting. that info is already available in other threads too.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#10 | Link |
|
(schein)heilig
Join Date: Jun 2003
Location: Germany
Posts: 512
|
The removal doesn’t happen for all input types, though, as mosu explained some time ago in the German forum. I’m sure about raw AVC input and I think it was MP4 as well, but not other formats.
__________________
Brother John When lost in BeSweet's options, have a look at the Commandline Reference. DVD nach MPEG-4 klappt nicht? Verzweifelt? Auf zum Encodingwissen! |
|
|
|
![]() |
| Tags |
| dar, mkv, sar, x264 |
| Thread Tools | |
| Display Modes | |
|
|