[FFmpeg-devel] [PATCH] ffserver rtsp bug fixes

Howard Chu hyc
Wed May 19 08:44:32 CEST 2010


Luca Abeni wrote:
> Hi,
>
> On 05/19/2010 08:24 AM, Howard Chu wrote:
> [...]
>>> Note that I still haven't gotten ffserver to successfully stream
>>> anything from
>>> a file, there are plenty more problems left to chase down.
>>
>> It turns out that streaming just audio from FLV files was working fine.
>> But the H264 video was encoded as the AVC1 subtype, and none of the sdp
>> or rtp code handled this. This patch gets RTP working for me from an FLV
>> (AVC1) file source.
>
> I think this is the wrong solution. The (IMHO) correct one would be to use
> a bitstream filter to convert the NAL syntax.

Why is that a better solution? And if it is, then why hasn't it already been 
done, so that libavcodec/h264.c doesn't have to do exactly these same steps 
(after all, that's where I lifted this code from) ?

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



More information about the ffmpeg-devel mailing list