[FFmpeg-devel] [PATCH] encoder for adobe's flash ScreenVideo2 codec

Daniel Verkamp daniel
Fri Nov 20 20:31:43 CET 2009

On Fri, Nov 20, 2009 at 12:34 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Nov 20, 2009 at 04:14:28PM +0100, Benjamin Larsson wrote:
> [...]
> ok
> [...]

Approved hunks applied.

This hunk from the encoder patch seems straightforward enough also and
allows -vcodec copy to work (only with the decoder added, though; is
it intentional/known that -vcodec copy does not work when no decoder
for that codec id is registered?); ok to apply?

Index: libavformat/flvenc.c
--- libavformat/flvenc.c	(revision 19479)
+++ libavformat/flvenc.c	(working copy)
@@ -29,6 +29,7 @@
 static const AVCodecTag flv_video_codec_ids[] = {
     {CODEC_ID_FLV1,    FLV_CODECID_H263  },
     {CODEC_ID_VP6F,    FLV_CODECID_VP6   },
     {CODEC_ID_VP6,     FLV_CODECID_VP6   },
     {CODEC_ID_H264,    FLV_CODECID_H264  },

The sample I am using to test is available here:


It was encoded with the encoder in this thread from this source (which
uses flashsv (v1), though it is not really relevant; it just happened
to be a handy screen capture source):


-- Daniel Verkamp

More information about the ffmpeg-devel mailing list