<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Windows Mail 17.5.9600.20911">
<style type="text/css"><!--html { font-family: "Color Emoji", "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; }--></style><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style>
</head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;">
<div style="font-size: 11pt;">Okay, thanks.<br>
</div>
<div style="font-size: 11pt;" data-signatureblock="true">
<div style="font-size: 11pt;"><br>
</div>
<div style="font-size: 11pt;">Zsolt</div>
<div style="font-size: 11pt;"><br>
</div>
</div>
<div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;">
<div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style="line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; font-size: 12pt;"><b>Feladó:</b> <a href="mailto:contact@ligh.de" target="_parent">Mario
 *LigH* Rohkrämer</a><br>
<b>Elküldve:</b> ‎hétfő‎, ‎2015‎. ‎július‎ ‎27‎. ‎15‎:‎59<br>
<b>Címzett:</b> <a href="mailto:x265-devel@videolan.org" target="_parent">x265-devel@videolan.org</a></font></div>
</div>
<div><br>
</div>
<div dir="">
<div id="readingPaneBodyContent">Hi Zsolt.<br>
<br>
This is not an x265 issue, specifically.<br>
<br>
You may have been lucky that your original dimensions returned an even  <br>
number as height when you scaled to a width of 1280 pixels. But when you  <br>
scaled to a width of 1920 pixels, your height would possibly have to be  <br>
scaled to an odd number, which is not allowed in YUV 4:2:0 subsampling.<br>
<br>
I don't know how to force swscaler in ffmpeg to return at least "MOD 2"  <br>
results; but x265 is not to be blamed.<br>
<br>
<br>
Am 27.07.2015, 15:40 Uhr, schrieb Osztrovszky Zsolt  <br>
<osztrovszkyzs@ahrt.hu>:<br>
<br>
> Hello Guys,<br>
> I’m using ffmpeg with libx265.<br>
> I’d like to make an mp4 from a mkv and resize it.<br>
><br>
> It worked with 1280 width:<br>
> ffmpeg -i input.mkv -c:v libx265 -preset fast -x265-params crf=20 -vf  <br>
> scale=1280:-1 -c:a copy -y output.mp4<br>
><br>
> It fails with 1920:<br>
> ffmpeg -i input.mkv -c:v libx265 -preset fast -x265-params crf=20 -vf  <br>
> scale=1920:-1 -c:a copy -y output.mp4<br>
><br>
> x265 error: picture height must be an integer multiple of the specified  <br>
> chroma subsampling.<br>
><br>
> Can you help me with this error?<br>
><br>
> Thanks,<br>
><br>
> Zsolt<br>
><br>
><br>
> ________________________________<br>
> FIGYELMEZTETÉS:<br>
> "Ez az e-mail bizalmas információkat tartalmaz kizárólag a címzett(ek)  <br>
> számára. Amennyiben Ön nem címzettje ennek az e-mail-nek, felhívjuk  <br>
> figyelmét arra, hogy az e-mail tartalmának közzététele, másolása,  <br>
> illetéktelenek számára való továbbítása, megőrzése vagy bármilyen  <br>
> hasonló tevékenység tilos és törvénybe ütköző."<br>
<br>
<br>
-- <br>
<br>
Fun and success!<br>
Mario *LigH* Rohkrämer<br>
mailto:contact@ligh.de<br>
 <br>
_______________________________________________<br>
x265-devel mailing list<br>
x265-devel@videolan.org<br>
https://mailman.videolan.org/listinfo/x265-devel<br>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">FIGYELMEZTETÉS:<br>
"Ez az e-mail bizalmas információkat tartalmaz kizárólag a címzett(ek) számára. Amennyiben Ön nem címzettje ennek az e-mail-nek, felhívjuk figyelmét arra, hogy az e-mail tartalmának közzététele, másolása, illetéktelenek számára való továbbítása, megőrzése vagy
 bármilyen hasonló tevékenység tilos és törvénybe ütköző."<br>
</font>
</body>
</html>