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. |
21st November 2013, 07:52 | #1 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
DAR set for avs4x264mod encoding
Hi all!
Before i am using MeGUI and use DAR signaling in my script Code:
global MeGUI_darx=4 global MeGUI_dary=3 Code:
avs4x264mod --level 4.1 --preset veryslow --crf 20 --keyint 24 --b-pyramid strict --ref 4 --weightp 0 --slices 4 --qpmin 10 --qpmax 51 --vbv-bufsize 30000 --vbv-maxrate 40000 --aud --nal-hrd vbr --tff --output file.mp4 file.avs Please advice. yup. |
21st November 2013, 13:14 | #3 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
sneaker_ger
But If encoded without --sar, mkvmerge solving problem, if I change to 4:3? I have some files encoded without --sar and question easy can I use mkvmerge for patching or need reencoding. yup. |
21st November 2013, 14:04 | #4 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
If you put an H.264 stream into an mkv container there can be two locations in which aspect ratio information is stored:
1. within the H.264 bitstream 2. within the mkv header Some players rely on 2 and some players rely on 1. The x264 paramter --sar will only write 1, mkvmerge will only write 2. You cannot use mkvmerge to patch 1. There is a tool which can change 1 without re-encoding but it's neither trivial to use nor stable: http://forum.doom9.org/showthread.php?t=152419 |
21st November 2013, 14:56 | #6 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
That information is very outdated. Mkvmerge has not been doing that anymore by default for years. |
|
21st November 2013, 15:41 | #7 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
sneaker_ger!
I extract from mkv bitstream. I try Code:
"C:\Video\ff\ffmpeg.exe" -i "T1_Video - .h264" -vcodec copy -acodec copy -vbsf h264_changesps=sar=12:11 "T1_Video - ow.h264" Now Mediainfo show only DAR 4:3. My video PAL 720x576. It is right way for processing? I have near 300GB video which I could remake. Please advice. yup. |
22nd November 2013, 11:07 | #8 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
Hi all!
Before I am using wrong SAR, now Code:
ffmpeg.exe -i chapter13.mkv -vcodec copy -acodec copy -vbsf h264_changesps=sar=16:15/fps=50:2 chapter13cd.mkv yup. |
|
|