[Libav-user] transcode from and to memory buffer

Dmitry Adjiev adjiev.dmitry at gmail.com
Thu Jul 31 15:08:30 CEST 2014


yes, I mean transcoding.c, also output example has audio example


2014-07-31 17:07 GMT+04:00 Dmitry Adjiev <adjiev.dmitry at gmail.com>:

> You can google for output example, there are example of using it uses
> buffers encode_video, but it's deprecated function, but I'm sure libav has
> some replacement for this
>
>
> 2014-07-31 17:03 GMT+04:00 Xiaofei Yang <yxf0605 at gmail.com>:
>
> Thanks for your quick response.  I could store the audio stream in a
>> buffer and then decode the buffer and output to a new buffer, does that
>> sound OK? BUT I don't know how to decode from a buffer :(
>> you mean the transcoding.c example?
>>
>>
>> 2014-07-31 20:57 GMT+08:00 Dmitry Adjiev <adjiev.dmitry at gmail.com>:
>>
>> FFmpeg has transcoding example, but it doesn't work with network because
>>> it can't detect the output format, you can set it manually (edit the code).
>>> I tested it for udp, so currently I have udp video stream.
>>> Ofcourse I made my code, but after investigation ot transcode example,
>>> so the code is works under android too.
>>>
>>>
>>> 2014-07-31 16:53 GMT+04:00 Xiaofei Yang <yxf0605 at gmail.com>:
>>>
>>>> Hi:
>>>>
>>>> I am doing audio stream transcoding things, the scenario is that I keep
>>>> receiving audio data through HTTP protocol, storing it in memory buffer and
>>>> meanwhile I have to transcode it to the required target format for further
>>>> use. The original audio data may come in various formats. So the whole
>>>> process runs like a stream. Could any one show me some hints how to do it?
>>>> What are the key APIs ?
>>>>
>>>> Thanks.
>>>>
>>>> _______________________________________________
>>>> Libav-user mailing list
>>>> Libav-user at ffmpeg.org
>>>> http://ffmpeg.org/mailman/listinfo/libav-user
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Dmitry
>>>
>>> _______________________________________________
>>> Libav-user mailing list
>>> Libav-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/libav-user
>>>
>>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
>
>
> --
> Regards,
> Dmitry
>



-- 
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140731/f3d5b826/attachment.html>


More information about the Libav-user mailing list