<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 2:43 PM, Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Taha Ansari <mtaha.ansari@...> writes:<br>
<br>
(Sorry, I cannot quote your email, it is unreadable<br>
here, maybe html?)<br>
<br></blockquote><div>I don't know how to change gmail's formatting, I'd have surely changed it to plain-text if I knew the option.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Can you reproduce your problem with ffmpeg (the<br>
application)? Do you agree that it is significantly<br>
easier to reproduce issues with ffmpeg (the application)<br>
than with custom C code?<br>
<br></blockquote><div>You see, if I call ffmpeg through executable, then I can choose a preset and encode it, after it is done with encoding, ffmpeg.exe application exits. Now, if I choose another preset and pass it through ffmpeg, then it is basically a different process, in which case this (bug/observation) does not apply (hence not reproducible).<br>
<br></div><div>On a broader scale: suppose I have an application that can encode to HEVC using different presets. I can choose a preset and encode it, but after 1st time encoding, if I select another preset (like mentioned with original email), I cannot encode it. So in order to do that, I must first close my application, launch it again, select an input file, then choose another preset, then encode it again (which will work)<br>
</div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Did you try with x265 (the executable)?<br>
I am not sure if using different presets for two-pass<br>
encoding is supported, I am quite sure it is not<br>
recommended.<br>
<br></blockquote><div>Have not tried yet, but I doubt it is relevant since x265.exe will be another application again.<br><br>Surprisingly: I can choose following presets and interchange them without libx265 giving me any error:<br>
<br>"faster"<br>"medium"<br>"veryslow"<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Carl Eugen<br>
<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br></div></div>