Commit graph

1582 commits

Author SHA1 Message Date
Tim-Philipp Müller
af4db59a83 Release 0.11.93 2012-08-08 16:32:16 +01:00
Sebastian Dröge
fe0a8d005d avviddec: Properly align and pad buffers for libav
https://bugzilla.gnome.org/show_bug.cgi?id=680796
2012-08-08 16:02:32 +02:00
Tim-Philipp Müller
2aab13b9ae Revert "ffmpeg: Fix make dist"
This reverts commit 4964bd753c.

No idea what this fixes, for me it breaks make dist, which fails
with:

make[2]: Entering directory `/home/tpm/gst/0.11/gst-ffmpeg/gst-libs/ext'
GIT_DIR=libav/.git git checkout-index --prefix=../libav-dist/libav/ -a
touch libav-dist/libav/config.mak
touch: cannot touch `libav-dist/libav/config.mak': No such file or directory

after a clean build.
2012-08-08 13:11:57 +01:00
Sebastian Dröge
3a4a139a28 av: Use */x-gst-av instead of */x-gst-ff for unknown caps 2012-08-07 10:19:16 +02:00
Sebastian Dröge
0764e9600c avdemux: Remove unused variable 2012-08-06 14:35:07 +02:00
Sebastian Dröge
1af5b5601d avdemux: Add stream-id to stream-start events 2012-08-06 14:05:28 +02:00
Edward Hervey
9b45987ef5 ffmpegviddec: Return NOT_NEGOTIATED when not configured 2012-08-06 11:55:31 +02:00
Tim-Philipp Müller
be2eea8a11 Automatic update of common submodule
From 94ccf4c to 668acee
2012-08-05 16:42:26 +01:00
Tim-Philipp Müller
ea1eb123ef Update .gitignore for ff->av 2012-08-04 16:19:37 +01:00
Tim-Philipp Müller
241419b46d gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:19:29 +01:00
Christian Fredrik Kalager Schaller
a24a87484e Add spec changelog entry 2012-08-03 13:38:22 +02:00
Christian Fredrik Kalager Schaller
fae2a52446 Update spec file and change package name to libav in autogen.sh file 2012-08-03 13:37:45 +02:00
Sebastian Dröge
3d2d1beb77 tag: Update for taglist/tag event API changes 2012-07-28 00:36:40 +02:00
Wim Taymans
3c47f584e2 avdec: require alignment=au for h264
Because we don't use a parser anymore we need to make sure that we feed the
decoder with full frames. For h264, require that we are aligned on access
units.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680540
2012-07-25 11:55:21 +02:00
Tim-Philipp Müller
2d458ca951 audio encoders: use context default bitrate if no bitrate has been set
Fixes 'bitrate too low: got 0, need 24000 or higher'
error when doing audiotstsrc ! avenc_wmav1 ! fakesink

https://bugzilla.gnome.org/show_bug.cgi?id=680487

https://bugzilla.gnome.org/show_bug.cgi?id=680487
2012-07-23 23:29:26 +01:00
Mark Nauwelaerts
0489f5eb78 ffmpeg: avoid assertion failure on duplicate frame allocation 2012-07-23 15:02:11 +02:00
Robert Swain
1638344081 ffmpegviddec: Correctly flag interlaced state
If the context interlaced state is indicated, the picture interlaced
state can be used to correctly indicate GST_VIDEO_BUFFER_FLAG_INTERLACED
on output buffers.
2012-07-23 11:37:57 +02:00
Sebastian Dröge
899fd3d76e ffvidenc: Allocate output buffers with the base class functions 2012-07-23 10:40:14 +02:00
Sebastian Dröge
941f4c331b ffmpegviddec: Update for video base classes API changes 2012-07-23 10:35:38 +02:00
Sebastian Dröge
7cdd4fdbe1 Automatic update of common submodule
From 98e386f to 94ccf4c
2012-07-23 08:47:21 +02:00
Edward Hervey
c77db02d6e viddec: Call gst_video_decoder_negotiate() 2012-07-18 18:30:53 +02:00
Tim-Philipp Müller
4e784f0d0e avdeinterlace: fix up output caps for new field as well
And presumably our output is always progressive and not
interlaced any more?
2012-07-17 12:35:03 +01:00
Tim-Philipp Müller
ad04636c6e avdeinterlace: detect interlaced input properly
It's not a boolean field any more, and called "interlaced-mode" now.
2012-07-17 12:31:52 +01:00
Edward Hervey
93ef1b687e demux: Push STREAM_START when needed 2012-07-13 14:01:44 +02:00
Wim Taymans
a3b0ae22d7 avdec: ignore AAC errors instead of erroring out
Also ignore decode errors for AAC and carry on decoding like we do for all
other formats.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679639
2012-07-10 16:10:14 +02:00
Wim Taymans
0e1d6c0011 avcodecmap: only restrict caps on encoders
We only want to restrict the channels/rate and width/height on the encoder pads.
For decoders can't assume that the input caps contain channels/rate or
width/height so we need to accept everything.
2012-07-10 15:47:01 +02:00
Wim Taymans
dc7bf19858 update for query api changes 2012-07-06 11:50:57 +02:00
Wim Taymans
f8475ad22a update for query api changes 2012-07-06 11:27:33 +02:00
Wim Taymans
3ae9eb158c update for allocation query changes 2012-07-06 11:05:19 +02:00
Tim-Philipp Müller
ab7b7cbff3 cfg: remove some deprecated properties: statsfile, mb-qmin, mb-qmax
Use multipass-cache-file, qmin, qmax instead.
2012-07-06 09:49:57 +01:00
Sebastian Dröge
06d24b47b6 avdemux: Implement segment-done event 2012-07-05 13:21:33 +02:00
Wim Taymans
cdcaa584a4 avdec: handle_frame should always unref the input frame
Unref the input frame in all cases. Previously it was only unreffed when the
frame was used for output.
When we produce an output frame, take an extra ref because the frame is now
freed elsewhere.
2012-07-03 17:13:00 +02:00
Wim Taymans
c9878e9f86 avdec: small cleanup 2012-07-03 17:13:00 +02:00
Wim Taymans
41ad632275 avdec: avoid some refs
We can let the ffmpeg structure take ownership of the buffer.
2012-07-03 17:13:00 +02:00
Руслан Ижбулатов
3ff6f53f24 ffvidenc: Fix a format string to avoid warnings
istffmpegvidenc.c:412:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'gint' [-Werror=format]
2012-07-03 08:38:28 +02:00
Sebastian Dröge
7b8ffe6169 ffaudenc: Fix format string compiler warning
gstffmpegenc.c:266:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'gint'
2012-07-02 15:51:17 +02:00
Wim Taymans
103f8f9395 avdec: don't wait for keyframe
Don't wait for a keyframe but try to decode as soon as possible. In most cases,
the demuxer will send a keyframe first and things will work fine, in other
cases, like RTP, we try to decode ASAP to provide quick feedback. Some formats
also have no keyframes (h264 with intra refresh).
2012-06-28 09:33:28 +02:00
Wim Taymans
932bd7f79e avenc: don't leak frames 2012-06-26 12:36:56 +02:00
Wim Taymans
d96cffb10a update for bus api changes 2012-06-20 12:32:21 +02:00
Wim Taymans
eb52e46b07 avdemux: update for task api change 2012-06-20 10:36:25 +02:00
Matej Knopp
17ee8113d7 ffmpegviddec: Don't reopen decoder on same caps, fix memory leaks, only drain on EOS 2012-06-20 07:39:40 +01:00
Wim Taymans
db53c6e5ec viddec: avoid renegotiation
Keep track of the context veriables and renegotiate when something changes. We
need to use separate values for this because not all values can be copied into a
GstVideoInfo.
Set the output interlacing based on the libav context.
Use the demuxer and decoder framerate to construct an output framerate.
Use demuxer and decoder par to construct an output framerate.
2012-06-19 12:23:32 +02:00
Sebastian Dröge
83f57519b4 ffmpegvidenc: Handle allocation queries and improve the padding/direct-rendering handling 2012-06-15 16:37:19 +02:00
Sebastian Dröge
6ff10a922a ffmpegviddec: Port to 0.11 again
No support for video meta, cropping, etc. yet
2012-06-15 15:18:47 +02:00
Sebastian Dröge
85f0dcb1e8 Merge remote-tracking branch 'origin/0.10' 2012-06-15 15:18:41 +02:00
Edward Hervey
1db8779252 ffmpegviddec: Properly return if negotiation fails
Instead of crashing ....
2012-06-15 12:19:58 +02:00
Sebastian Dröge
107c00a761 ffvidenc: Port to 0.11 2012-06-14 16:29:05 +02:00
Sebastian Dröge
de82bfbbba Merge remote-tracking branch 'origin/0.10' 2012-06-14 15:44:18 +02:00
Sebastian Dröge
4a58fd4be4 Merge remote-tracking branch 'origin/0.10'
Conflicts:
	common
	ext/ffmpeg/Makefile.am
	ext/ffmpeg/gstffmpegcfg.c
	ext/ffmpeg/gstffmpegcodecmap.c
	ext/ffmpeg/gstffmpegcodecmap.h
	ext/ffmpeg/gstffmpegdec.c
	ext/ffmpeg/gstffmpegenc.c
	ext/ffmpeg/gstffmpegenc.h
	tests/check/Makefile.am

Porting of the new video elements to 0.11 still pending.
2012-06-14 15:42:06 +02:00
Edward Hervey
ce7f65f752 ffmpegviddec: Properly update the interlacing
Fixes #678080
2012-06-14 15:13:31 +02:00