Wim Taymans
bd13c104c2
fix for caps api changes
2012-03-11 19:07:31 +01:00
Alessandro Decina
d48fc18065
Fix compiler warnings
2012-02-27 06:26:02 +01:00
Wim Taymans
cf3d3fe00d
ffmpeg: port to new memory API
2012-01-25 11:59:04 +01:00
Wim Taymans
152e090891
add parent to pad functions
2011-11-17 12:49:33 +01:00
Wim Taymans
63a890a746
add parent to query function
2011-11-16 17:29:22 +01:00
Wim Taymans
71540b5fc1
_peer_get_caps() -> _peer_query_caps()
2011-11-15 17:23:21 +01:00
Wim Taymans
175a092331
ffmpeg: change getcaps to query
2011-11-15 16:35:17 +01:00
Wim Taymans
54fdd9faf7
update for adapter api change
2011-11-10 18:25:21 +01:00
Wim Taymans
431bbdcbf5
structure: fix for api upate
2011-11-02 09:10:03 +01:00
Wim Taymans
dcc9703273
fix compilation with new caps api
2011-10-28 16:35:54 +02:00
Wim Taymans
7cbfd34e13
ffenc: fix compilation
2011-10-27 16:47:18 +02:00
Wim Taymans
1fffbe9876
Merge branch 'master' into 0.11
...
Conflicts:
ext/ffmpeg/gstffmpegcodecmap.c
2011-10-27 16:31:30 +02:00
Sjoerd Simons
eb2e9f48e3
ffmpegenc: Pass the size of the output buffer to avcodec_encode_audio
...
avcodec_encode_audio is documented as taking the size of the output
buffer not the size of the input buffer. This fixes the use of the G722
encoder and makes the code more consistent with avconv from the libav
source tree.
2011-10-19 13:18:35 +01:00
Mark Nauwelaerts
156b26492d
ffmpegenc: handle filter caps in _getcaps
2011-06-30 09:21:31 +02:00
Mark Nauwelaerts
e937db0f92
ffmpegenc: properly handle caps event
...
... which comes down to unconditionally eating incoming caps event,
since that one could never correctly describe the setup for downstream
elements.
2011-06-30 09:20:11 +02:00
Mark Nauwelaerts
bd5e3a51dd
ffmpegenc: ensure properly negotiated prior to processing
...
Doing so is even more pertinent in 0.11, since core assists much less
in setting up negotiation and feedback on handling caps event is more likely
to get lost.
2011-06-30 09:18:42 +02:00
Wim Taymans
0c026bde71
ffmpeg: port to new caps
2011-06-20 11:57:29 +02:00
Edward Hervey
4a130c6a6c
ext: caps are now set via GstEvent and not setcaps
2011-06-08 18:04:07 +02:00
Wim Taymans
dad7da7ca6
ffmpeg: port to new API
2011-06-02 16:23:19 +02:00
Wim Taymans
c71a2ec502
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/ffmpeg/gstffmpegdec.c
2011-04-29 18:40:36 +02:00
Edward Hervey
2f81d0d63b
ffmpeg: CodecType => AVMediaType
2011-04-21 20:56:44 +02:00
Wim Taymans
4345d10577
WIP: porting to 0.11
2011-04-04 12:23:05 +02:00
Edward Hervey
a90df26e15
ffmpegenc: Disable non-audio/video encoders
...
Fixes #629648
2011-01-03 11:45:04 +01:00
Mark Nauwelaerts
e837ec505d
ffmpegenc: ensure proper clean state prior to (re-)negotiation
...
Fixes #632691 .
2010-10-25 12:16:44 +02:00
Stefan Kost
07ce1d1906
various: add missing G_PARAM_STATIC_STRINGS flags
2010-10-19 17:26:08 +03:00
Wim Taymans
7d531c06bb
ffenc: pass the input size to the encoder
...
Pass the input buffer size to the encoder instead of the expected output size.
This is needed to make fixed input/output encoder work.
2010-10-06 16:58:34 +02:00
Mark Nauwelaerts
1d0b29414a
ffmpegenc: fix timestamp resyncing some more
...
Convert bytes to samples in remaining occurrence.
See #623388 .
2010-07-05 11:10:09 +02:00
Thiago Santos
b8f556a566
ffmpegenc: Fix timestamp resyncing
...
Properly convert bytes into time using sample size, sample rate
and channels number, instead of sample rate only.
This can cause huge timestamp discontinuities (even though the
durations remain correct) and might cause problems to muxers.
Fixes #623388
2010-07-03 11:57:09 -03:00
Edward Hervey
2fccd4640f
ffmpegdec/enc: Blacklist more raw formats
2010-05-31 18:44:02 +02:00
Olivier Crête
83820511a8
gstffmpegenc: Make getcaps proxy the downstream height/width/framerate requirements
...
See #577784 .
2010-05-10 15:41:57 +02:00
Sebastian Dröge
2e079b742a
ffmpeg: Use gst_element_set_details_simple()
2010-03-24 11:51:53 +01:00
Mark Nauwelaerts
8236e74ca4
ffmpegenc: more consideration for upstream (audio) timestamps
2010-01-12 18:17:40 +01:00
Olivier Crête
b69fcc471e
ffenc: Make keyframe forcing thread-safe
...
Make the keyframe forcing thread-safe, also emit a downstream event
to allow muxers or payloaders to react appropriately.
https://bugzilla.gnome.org/show_bug.cgi?id=602556
2009-11-20 22:14:51 -05:00
Edward Hervey
a00fb254aa
Move encoders and muxers to GST_RANK_SECONDARY.
2009-11-18 17:36:48 +01:00
Edward Hervey
a7dd30d8eb
ffenc: avoid generating caps when registering
...
Don't generate caps when we register the class but delay that till when
we actually create an instance of the class.
2009-11-02 09:06:05 +01:00
Sebastian Dröge
2ed8b6728d
ffmpegenc: Add a note to the buffer-size property description
...
Setting it has no effect anymore and is deprecated.
2009-10-08 13:54:45 +02:00
Sebastian Dröge
087582d7cd
Revert "ffenc: Make the buffer-size property read-only"
...
This reverts commit 98439aacc7
.
Instead of printing a warning when trying to set the property
it should do nothing as before and the property description
should contain a note that setting it has no effect.
2009-10-08 13:52:22 +02:00
Sebastian Dröge
98439aacc7
ffenc: Make the buffer-size property read-only
...
...instead of just doing nothing when setting it. This makes sure
that people notice that they shouldn't set the property because
it creates a warning now.
2009-10-08 12:29:30 +02:00
Sebastian Dröge
c914f08b40
ffenc: Make sure to always provide large enough buffers
...
For audio always add the minimum ffmpeg buffer size, for video
use the same weird buffer size as they use in ffmpeg.c:
width*height*6 + 200
Also make setting of the buffer-size property a no-op.
Fixes bug #593651 .
2009-10-07 09:15:40 +02:00
Sebastian Dröge
3a96bed6e6
ffmpegenc: Use dash instead of underscore in property names
...
GLib internally converts them to dashs anyway.
2009-10-07 09:13:56 +02:00
Sebastian Dröge
ee31435d49
Revert "ffmpegenc: Use dash instead of underscore in property names"
...
This reverts commit b814d25cc9
.
2009-10-01 17:03:49 +02:00
Sebastian Dröge
25003e4307
Revert "ffenc: Make sure to always provide large enough buffers"
...
This reverts commit d9f6febe70
.
2009-10-01 17:03:42 +02:00
Sebastian Dröge
799b19c2f2
Revert "ffmpegenc: Also add FF_MIN_BUFFER_SIZE to video buffers too"
...
This reverts commit 577525af3d
.
2009-10-01 17:03:33 +02:00
Sebastian Dröge
577525af3d
ffmpegenc: Also add FF_MIN_BUFFER_SIZE to video buffers too
...
Just to make sure we never get below it in case of very small videos.
2009-10-01 16:46:34 +02:00
Sebastian Dröge
d9f6febe70
ffenc: Make sure to always provide large enough buffers
...
For audio always add the minimum ffmpeg buffer size, for video
use the same weird buffer size as they use in ffmpeg.c:
width*height*6 + 200
Also make setting of the buffer-size property a no-op.
Fixes bug #593651 .
2009-10-01 16:44:22 +02:00
Sebastian Dröge
b814d25cc9
ffmpegenc: Use dash instead of underscore in property names
...
GLib internally converts them to dashs anyway.
2009-10-01 16:20:13 +02:00
Edward Hervey
305e80e7d6
gstffmpeg: Lower debugging levels from WARNING to DEBUG
...
These statements aren't critical per se... and just clutter debug logs.
2009-08-10 12:04:39 +02:00
Sebastian Dröge
0111edbf5d
ffmpegenc: Return all supported caps instead of only the first
2009-08-09 09:47:26 +02:00
Sebastian Dröge
d181dbd7a0
ffmpegenc: If an encoder lists the supported pixfmts use them to create the caps
...
...instead of creating standard caps with all pixfmts.
Fixes bug #591038 .
2009-08-08 22:43:06 +02:00
Edward Hervey
56887682d0
gstffmpegenc: Try getting the caps for the declared pixfmt without a context.
...
PixFmt that are declared in AVCodec.pix_fmts are ones which are 'officially'
declared as being supported. We should therefore not have to create a
AVCodecContext and open an encoder to know if it's supported or not.
Also, doing it this way allows us to better pickup configuration overrides
we have in gstffmpegcodecmap for some codecs (like restrictions on width,
height, framerate like it's the case for dnxhd).
Fixes #575545
2009-07-31 13:27:28 +02:00