Commit graph

22 commits

Author SHA1 Message Date
Philip Jägenstedt
54e6f65ef3 vp8: move #ifdef HAVE_VP8_ENCODER/DECODER
Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.
2010-05-21 08:27:06 +02:00
Sebastian Dröge
d0f09279ed vp8enc: Write GStreamer element and version in the vorbiscomment vendor string 2010-05-20 20:06:09 +02:00
Sebastian Dröge
d3c9d84fdf vp8: Only enable the encoder or decoder if it's available in libvpx
Fixes bug #619172.
2010-05-20 16:49:55 +02:00
Philip Jägenstedt
e428c10605 vp8: exlcude dec/enc based on CONFIG_VP8_DECODER/ENCODER
This may not be very autotoolish, but works with libvpx in the state
that libvpx is actually in. Moved the debug init to the elements
themselves to minimize amount of #ifdefs
2010-05-20 16:49:55 +02:00
Philip Jägenstedt
2f4ea3b734 vp8enc: Limit max-latency to 25 to match libvpx
From libvpx/vp8/encoder/onyx_int.h:
 #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY? 1 : 25)

While we don't need to be tied to what libvpx does internally, it
doesn't make sense to pretend to support longer frame lags than are
actually possible.
2010-05-20 10:37:24 +02:00
Sebastian Dröge
fd77b419a4 vp8: Undef HAVE_CONFIG_H before including libvpx headers
A public libvpx header includes private headers if this is
defined, causing compilation failures because the private headers
are not installed of course.
2010-05-20 09:56:25 +02:00
Sebastian Dröge
973267747c vp8enc: Some more minor adjustments for the Ogg mapping 2010-05-20 08:55:44 +02:00
Sebastian Dröge
9b0cd2ef95 vp8enc: Adjust Ogg mapping for the changes 2010-05-19 21:34:42 +02:00
Sebastian Dröge
28736fa1d4 vp8enc: Rename keyframe-interval to max-keyframe-distance
And use default settings for buffer sizes until we expose this
somehow.
2010-05-19 19:24:04 +02:00
Sebastian Dröge
ab14c8cf5a vp8: Improve error handling and debug output 2010-05-19 19:24:04 +02:00
Sebastian Dröge
31d603b3c9 vp8: Use correct strides and plane offsets for GStreamer 2010-05-19 19:24:03 +02:00
Sebastian Dröge
10a02618c2 vp8enc: Implement GstTagSetter interface 2010-05-19 19:24:03 +02:00
Sebastian Dröge
09c879ea21 vp8enc: Fix setting of the keyframe flag on encoded frames 2010-05-19 19:24:03 +02:00
Sebastian Dröge
dd97378702 vp8enc: Post an error message on the bus if encoder initialization fails 2010-05-19 19:24:03 +02:00
David Schleef
95ddcc24fd vp8enc: Set timebase
Also misc cleanup.
2010-05-19 19:24:03 +02:00
Sebastian Dröge
53c47c361d vp8enc: Update the latency when initializing the encoder 2010-05-19 19:24:03 +02:00
Sebastian Dröge
29328031ad vp8enc: Add support for invisible frames and the Ogg mapping 2010-05-19 19:24:02 +02:00
Sebastian Dröge
45011174e7 vp8enc: Set frame numbers as buffer offsets 2010-05-19 19:24:02 +02:00
Sebastian Dröge
3c2c565fff vp8enc: Always get as many frames as possible from the encoder 2010-05-19 19:24:02 +02:00
Sebastian Dröge
620e31efab vp8enc: Fill the oldest pending frame instead of the newest 2010-05-19 19:24:02 +02:00
Sebastian Dröge
370ba5cac7 vp8enc: Correctly set delta unit flag for non-keyframes 2010-05-19 19:24:02 +02:00
David Schleef
4991d5fef3 vp8: Add encoder/decoder 2010-05-19 19:24:02 +02:00