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.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th March 2015, 14:05   #1  |  Link
cool_snoopy
Registered User
 
Join Date: Feb 2013
Posts: 12
Pass costum SAR to libx265?

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!
cool_snoopy is offline   Reply With Quote
Old 5th March 2015, 14:20   #2  |  Link
Ely
Registered User
 
Join Date: Dec 2014
Posts: 40
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/defau...cmdoption--sar

Last edited by Ely; 5th March 2015 at 14:23.
Ely is offline   Reply With Quote
Old 5th March 2015, 14:36   #3  |  Link
cool_snoopy
Registered User
 
Join Date: Feb 2013
Posts: 12
Quote:
Originally Posted by Ely View Post
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/defau...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.
cool_snoopy is offline   Reply With Quote
Reply

Tags
libx265, sar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:18.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.