View Full Version : Pass costum SAR to libx265?
cool_snoopy
5th March 2015, 14:05
Because colon ( : ) is used to separate x265-params, how can I pass custom SAR to libx265? Like 64:45 for 16/9 PAL DVD video.
Thank you very much!
You can either use an escaping character such as \ :
ffmpeg -i input -vcodec libx265 -x265-params crf=25:sar=64\\:45 out.mkv
or --sar can also take one integer which maps a particular format, see http://x265.readthedocs.org/en/default/cli.html#cmdoption--sar
cool_snoopy
5th March 2015, 14:36
You can either use an escaping character such as \ :
ffmpeg -i input -vcodec libx265 -x265-params crf=25:sar=64\\:45 out.mkv
or --sar can also take one integer which maps a particular format, see http://x265.readthedocs.org/en/default/cli.html#cmdoption--sar
Thank you very much!
SAR 64:45 is not in the predefined list.
And I am so sorry that I can't remember escaping character in c language.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.