Thanks for help. Thanks for pointing out my error.
is not a key frame. Again this one should be changed as your
J. J. Lee
> On Fri, Sep 9, 2011 at 1:26 AM, J. J. Lee <
jjlee3.jjl...@gmail.com> wrote:
>
> > I am working for online transcoding from (Wowza RTMP) flv format to
> > webm.
>
> > I put a Cluster and a Timecode ahead of every video keyframe which is
> > put into a SimpleBlock (no lacing).
> > In the very beginning of the live streaming flv there are a lot of 0
> > length video frames, so there are all transcoded to
> > SimpleBlocks - A3 84 81 ?? ?? (Timecode of SimpleBlock in two bytes)
> > 80(keyframe or 00 non-keyframe) in my program.
>
> Why even transcode 0 length video frames? This is not a frame rate based
> container. But if you must I'm not sure making them key-frames is a great
> idea.
>
> > The avcodec.dll (of ffmpeg) is called for transcoding from flv (x264/
> > AAC) to webm. I tried to decode from the x264/AAC frames.
> > Then I tried to encode to Vorbis/Vp8 frames and put those encoded
> > frames after different SimpleBlock Headers.
> > But it can not work! Is it correct to put Vorbis/Vp8 encoded frames
> > data after SimpleBlock Header?
>
> Yes, as long as the simpleblock header describes the data correctly.
>
>
>
> > The transcoded (incorrected) webm file (131 KB) is at
>