[theora-dev] Theora encoding in FFmpeg
Ralph Giles
giles at xiph.org
Sat Dec 30 10:08:48 PST 2006
On Sat, Dec 30, 2006 at 05:53:27PM +0000, Paul Richards wrote:
> [theora @ 0x3c9554]Invalid extradata!
> [theora @ 0x3c9554]Unknown Theora config packet: 50
> [theora @ 0x3c9554]4376 bits left in packet 32
This is really for someone who knows ffmpeg to answer, but looking at
the header unpacking code in libavcodec/vp3.c I don't seen any of the
xiphlacing() stuff. The headers appear to be packed in the extradata
using a 16 bit length, followed directly by the body data, followed
by the length of the next packet, and so on.
It's throwing the "Invalid extradata!" because it's not finding the
theora magic starting at extradata[2] like it expects.
Try inverting that code and see if it works better. I guess it's
using different packing for the theora and vorbis headers.
-r
More information about the theora-dev
mailing list