[Libav-user] How to implement RTSP server by libffmpeg?

Psychesnet Hsieh psychesnet at gmail.com
Fri Jul 11 02:53:04 CEST 2014


Hello Gonzalo,

Unfortunately, I can not do avcodec_encode_video2 because it would cost too
many cpu resources in embedded system.

Normally, ffmpeg user will packet format with muxer and encode.
But, I only use the muxer to packet rtp and send it.
Thanks a lot.


2014-07-10 22:47 GMT+08:00 Gonzalo Garramuno <ggarra13 at gmail.com>:

> On 10/07/14 06:33, Psychesnet Hsieh wrote:
>
>>
>> 2. Who has the sample code or any suggestion, please help me out??
>>
>>  Seems you are missing calling avcodec_encode_video2() to fill the packet
> with compressed data.
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140711/850f53fe/attachment.html>


More information about the Libav-user mailing list