<p dir="ltr">Hi Jan,</p>
<p dir="ltr">On Sep 5, 2016 15:24, "OR151" <<a href="mailto:orise1@poczta.onet.pl">orise1@poczta.onet.pl</a>> wrote:<br>
><br>
> Dear x264 Team,<br>
><br>
> I would like to implement a custom RTMP transcoder to HLS format in Java and I found the modification of the video resolution a bit challenging in Java. My plan is to avoid using existing solutions like FFmpeg or at least minimize the amount of 3rd party frameworks/tools integrated with my component.<br>
><br>
> That's why I would like to integrate directly with x264 library via JNI from Java code. I envision that the x264 role would be to change the resolution/bitrate of Mpeg-4 files/streams.<br>
><br>
> Is integration with x264/libx264 from Java code to decrease resolution/bitrate doable and is it a good idea?<br>
><br>
> Thanks!<br>
><br>
> Kind regards,<br>
> Jan Kowalski</p>
<p dir="ltr">I don't see any immediate reasons why calling libx264 from JNI would not work.</p>
<p dir="ltr">I would be very interested to hear your results if you decide to take this route.</p>
<p dir="ltr">-- Sean McG.</p>