Hello to all. I need to save encode a video to disk using vp8 codec.
I'm using as "base" the file api-example.c in libavcodec directory.
I've just changed mpeg codec to vp8 codec.

I've modified this file and now it looks like this:
http://pastebin.com/9qhHS8e9

The program runs fine and generate a file called testa.webm in current
dir. But if i open this file with ffplay, it returns an error:
testa.webm: Invalid data found when processing input.

if I use ffmpeg command-line to create a webm file, everything works
and the video is created.

There is any "magic" do write data to a webm file?

Which is the pixel format to webm? Is needed any special file header code?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to