[FFmpeg-devel] flvdec.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 11 11:23:37 CET 2012


On Wed, Feb 08, 2012 at 09:23:06PM +0000, Atli Thorbjornsson wrote:
> This means that all packets at dts == 0 are basically discarded (goto
> skip). In my case that means I miss out on important packets in the
> beginning. My hack is just to allow the first packet to go to
> flv_read_metabody but the rest return stream_type FLV_STREAM_TYPE_DATA
> like all metadata packets that arrive later in the stream.

Could you please provide a sample?
Possibly flv_read_metabody should just detect whether it can handle
a packet and if not it should be exported as a data packet.
Or maybe FFmpeg should be able to parse such packets and do
something reasonable with them.


More information about the ffmpeg-devel mailing list