[Libav-user] Extracting samples from audio file
salsaman
salsaman at gmail.com
Thu Aug 10 20:17:09 EEST 2017
On Thu, Aug 10, 2017 at 1:30 PM, Philippe Gorley <
philippe.gorley at savoirfairelinux.com> wrote:
> On 2017-08-09 07:57 PM, salsaman wrote:
>
>> Hi Philippe,
>> I would suggest you look into libswresample, particularly swr_convert().
>>
>
> Didn't know about swr_convert, thanks.
>
> The in parameter comes from a decoded frame (AVFrame->data)?
>
>
Correct, you would first create the swr_context then use it to convert the
data.
> regards,
>> Gabriel.
>>
>>
>> http://lives-video.com
>> https://www.openhub.net/accounts/salsaman
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
> Cheers,
>
> --
> Philippe Gorley
> Free Software Consultant | Montréal, Qc
> Savoir-faire Linux
>
> Confidentiality Message: This communication (including any files
> transmitted with it) is intended solely for the person or entity to
> whom it is addressed, and may contain confidential or privileged
> information.
> The disclosure, distribution or copying of this message is strictly
> forbidden. Should you have received this communication in error,
> kindly contact the sender promptly, destroy any copies and delete
> this message from your computer system.
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170810/5619c4af/attachment.html>
More information about the Libav-user
mailing list