<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 1:30 PM, Philippe Gorley <span dir="ltr"><<a href="mailto:philippe.gorley@savoirfairelinux.com" target="_blank">philippe.gorley@savoirfairelinux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2017-08-09 07:57 PM, salsaman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Philippe,<br>
I would suggest you look into libswresample, particularly swr_convert().<br>
</blockquote>
<br></span>
Didn't know about swr_convert, thanks.<br>
<br>
The in parameter comes from a decoded frame (AVFrame->data)?<br>
<br></blockquote><div><br></div><div>Correct, you would first create the swr_context then use it to convert the data.<br><br><br></div><div><br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
regards,<br>
Gabriel.<br>
<br>
<br>
<a href="http://lives-video.com" rel="noreferrer" target="_blank">http://lives-video.com</a><br>
<a href="https://www.openhub.net/accounts/salsaman" rel="noreferrer" target="_blank">https://www.openhub.net/accoun<wbr>ts/salsaman</a><br>
<br></span><span class="">
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/list<wbr>info/libav-user</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
Cheers,<br>
<br>
-- <br>
Philippe Gorley<br>
Free Software Consultant | Montréal, Qc<br>
Savoir-faire Linux<br>
<br>
Confidentiality Message: This communication (including any files<br>
transmitted with it) is intended solely for the person or entity to<br>
whom it is addressed, and may contain confidential or privileged<br>
information.<br>
The disclosure, distribution or copying of this message is strictly<br>
forbidden. Should you have received this communication in error,<br>
kindly contact the sender promptly, destroy any copies and delete<br>
this message from your computer system.<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/list<wbr>info/libav-user</a><br>
</div></div></blockquote></div><br></div></div>