Sebastian Dröge
fc2434fd97
faac: Also set maximum number of samples that the subclass wants
2011-09-26 16:26:31 +02:00
Sebastian Dröge
874da87b25
faac: Simple fix for GstAudioEncoder API change
2011-09-26 16:05:40 +02:00
Mark Nauwelaerts
3900dc94ed
faac: fixup misunderstanding in sample counting
...
... between codec and audioencoder regarding whether or not channel
count is already considered.
Fixes #659836 .
2011-09-22 18:24:43 +02:00
Mark Nauwelaerts
a7ed9677ba
faac: use some more boilerplate
2011-09-22 16:02:52 +02:00
Mark Nauwelaerts
c8a3567923
faac: port to audioencoder
2011-09-22 16:02:49 +02:00
Mukul Majmudar
5293f30f3f
faac: Add properties for VBR encoding
...
Property "quality" to specify VBR quantizer quality and property
"brtype" to choose between ABR and VBR encoding. The default is now VBR
with quality=100.
Fixes bug #654310 .
Signed-off-by: David Schleef <ds@schleef.org>
2011-08-03 13:39:33 -07:00
Sebastian Dröge
4093202e9d
faac: Set the correct, valid sample rates in the pad template caps
2011-05-27 10:44:42 +02:00
Sebastian Dröge
6702de4237
faac: Add the profile and level to the caps
...
Also negotiate the profile from the downstream peer caps
instead of using a property.
Fixes bug #650594 .
2011-05-27 10:11:32 +02:00
Sebastian Dröge
7f0aa4061e
faac: Use PROP_ instead of ARG_ for the property enums
2011-05-27 09:40:38 +02:00
benjamin gaignard
31d408e22e
faac: Detect output format from downstream caps change unit test
2011-05-14 12:08:28 +02:00
Mark Nauwelaerts
a887fc157e
faac: remove extraneous buffer unref
2011-02-17 13:00:21 +01:00
Stefan Kost
0387a89cad
various (ext): add missing G_PARAM_STATIC_STRINGS flags
...
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Mark Nauwelaerts
bc6549a108
faac: handle trailing encoder output
2010-10-11 17:13:10 +02:00
Benjamin Otte
775c7584fd
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 22:46:41 +01:00
Stefan Kost
d8fd8ea9e9
docs: unify doc style
...
Use gtkdoc syntax and add short desc for the examples.
2010-02-16 09:49:05 +02:00
Mark Nauwelaerts
89ac50f14c
faac: fix documentation typo
2010-02-11 22:22:52 +01:00
Alessandro Decina
de81378a62
faac: fix warnings under OS X..
2010-01-22 10:48:54 +01:00
David Schleef
3c0170aa4b
faac: Fix channel layout
...
Adjusted the channel mappings to agree with the default channel mappings
in the spec, which is presumably what faac is using. Fixes #607105 .
2010-01-16 15:34:33 -08:00
Sebastian Dröge
007b667366
faac: Only accept specific channel layouts as required by AAC
...
Fixes bug #607105 .
2010-01-16 13:05:58 +01:00
Mark Nauwelaerts
8be4e3725f
faac: improve faac configuration
...
In particular, align configuration some more with reference binary faac.
Fixes #606726 .
2010-01-12 19:46:01 +01:00
Thiago Santos
a428ad82c7
Rename aac's stream-format 'none' to 'raw'
...
Renames aac's stream-format from previous commits from none to
raw
2010-01-11 13:42:48 -03:00
Thiago Santos
635b0c1129
faac: Add format to output caps
...
Adds 'stream-format' to output caps to inform if the stream is
adts or raw. This makes it possible for muxers to reject
input streams on caps if they don't support adts instead of
generating a invalid file.
Fixes #604925
2010-01-11 11:01:09 -03:00
Mark Nauwelaerts
8f70f5c479
faac: documentation fix
2010-01-05 17:50:41 +01:00
Mark Nauwelaerts
137866c14b
faac: only raw output needs codec_data in caps
2009-12-18 16:16:46 +01:00
Robert Swain
7f12cab9de
faac: Use definitions for default values
...
Makes changing the defaults easier and more fool-proof in the future.
Fixes #598552
2009-10-27 12:56:12 +01:00
Robert Swain
1d08ea9f10
faac: Change default AAC Profile to Low Complexity (LC) as this is more widely supported
2009-10-27 12:55:08 +01:00
Robert Swain
cf11e3b168
faac: Change the param_spec default value for allowed block types to match the gst_faac_init value of 'normal' as this is better
2009-10-27 12:54:41 +01:00
Stefan Kost
2390d3a31c
build: add missing stdlib include to fix the build
2009-10-02 19:12:32 +03:00
Mark Nauwelaerts
4082652c4d
faac: add some debug statements for discrepancy cases and plug memleak
2009-09-08 22:32:28 +02:00
Mark Nauwelaerts
ef72172247
faac: sprinkle some more G_(UN)LIKELY
2009-09-08 22:32:27 +02:00
Mark Nauwelaerts
2c0dd62abb
faac: enforce sync between wrapper view of data and encoder returned data
2009-09-08 22:32:27 +02:00
Mark Nauwelaerts
ceb6792447
faac: add some documentation
2009-09-08 22:32:27 +02:00
Mark Nauwelaerts
f5295555db
faac: refactor slightly and remove superfluous code
2009-09-01 10:50:22 +02:00
Mark Nauwelaerts
9a8d62a775
faac: freshen up caps negotiation
...
Perform sink and src caps negotiation during caps negotation,
and also cater for re-negotiation.
2009-09-01 10:50:22 +02:00
Mark Nauwelaerts
f81b1e7a4a
faac: rewrite data caching and timestamp handling
...
Also fixes #593348 .
2009-09-01 10:49:58 +02:00
Christian Schaller
67dd3c11f4
Add ranks to various muxers and encoders in -bad
2009-05-07 17:53:42 +01:00
Sebastian Dröge
42d24ab5fb
faac: Implement preset interface
2009-05-04 12:30:26 +02:00
Alessandro Decina
833807a67f
ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free.
...
Original commit message from CVS:
* ext/apexsink/Makefile.am:
Link against -lgcrpyto for RSA_new and RSA_free.
* ext/faac/gstfaac.c:
* ext/x264/gstx264enc.c:
Fix compiler warnings.
2009-01-02 01:44:11 +00:00
Stefan Kost
9cfbca8754
ext/faac/gstfaac.c: Fix default for outputformat property.
...
Original commit message from CVS:
* ext/faac/gstfaac.c:
Fix default for outputformat property.
2008-12-15 15:56:18 +00:00
Mark Nauwelaerts
c7b374abcb
ext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.
...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_sink_event):
Prevent endless loop if buffer alloc error.
2008-10-27 16:32:49 +00:00
Wim Taymans
db433443c9
ext/faac/gstfaac.c: Warn and clamp to max bitrate for samplerate.
...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
Warn and clamp to max bitrate for samplerate.
Fixes #550486 .
2008-10-03 17:11:12 +00:00
Edward Hervey
6bcf03574e
ext/faac/gstfaac.*: Add code for calculating proper timestamp/duration for the trailing encoded buffers that faac wil...
...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_init), (gst_faac_sink_event),
(gst_faac_chain), (gst_faac_change_state):
* ext/faac/gstfaac.h:
Add code for calculating proper timestamp/duration for the trailing
encoded buffers that faac will output when receiving EOS.
2008-08-29 11:36:41 +00:00
Wim Taymans
1b2fa58301
ext/faac/gstfaac.c: Don't try to flush the decoder on EOS when it was not initialized.
...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_sink_event):
Don't try to flush the decoder on EOS when it was not initialized.
Fixes #498667
2007-11-21 09:45:41 +00:00
Tim-Philipp Müller
5e3b2d2bf6
ext/faac/gstfaac.c: Fix bitrate ranges and change enum nick for low complexity profile from LOW to LC for consistency...
...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_profile_get_type),
(gst_faac_class_init), (gst_faac_init):
Fix bitrate ranges and change enum nick for low complexity
profile from LOW to LC for consistency (#490060 ).
2007-10-28 15:22:06 +00:00
Edward Hervey
b8a18741d8
Fix leaks.
...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init):
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c: (gst_bz2dec_init):
* ext/bz2/gstbz2enc.c: (gst_bz2enc_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_init):
* ext/divx/gstdivxenc.c: (gst_divxenc_init):
* ext/faac/gstfaac.c: (gst_faac_init):
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
* ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_init):
* ext/spc/gstspc.c: (gst_spc_dec_init):
* ext/swfdec/gstswfdec.c: (gst_swfdec_init):
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
* gst/chart/gstchart.c: (gst_chart_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_init):
* gst/festival/gstfestival.c: (gst_festival_init):
* gst/freeze/gstfreeze.c: (gst_freeze_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad):
* gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
* gst/nsf/gstnsf.c: (gst_nsfdec_init):
* gst/overlay/gstoverlay.c: (gst_overlay_init):
* gst/passthrough/gstpassthrough.c: (passthrough_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_init):
* gst/smooth/gstsmooth.c: (gst_smooth_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/speed/gstspeed.c: (speed_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init):
Fix leaks.
2007-06-22 10:46:33 +00:00
Wim Taymans
2dec089aeb
ext/faac/gstfaac.c: Add decoder specific info on the caps.
...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad),
(gst_faac_chain):
Add decoder specific info on the caps.
Some cleanups here and there.
2006-09-21 13:41:42 +00:00
Michal Benes
b791f8e941
ext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not total bitrate ( #350741 ).
...
Original commit message from CVS:
Patch by: Michal Benes <michal.benes at itonis tv>
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
Bitrate in the faac structure is per output channel,
not total bitrate (#350741 ).
2006-08-10 17:09:10 +00:00
Stefan Kost
bf3fd4f95d
Define GstElementDetails as const and also static (when defined as global)
...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/swfdec/gstswfdec.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/colorspace/gstcolorspace.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/smoothwave/gstsmoothwave.c:
* gst/spectrum/gstspectrum.c:
* gst/speed/gstspeed.c:
* gst/stereo/gststereo.c:
* gst/switch/gstswitch.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/vbidec/gstvbidec.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
* sys/cdrom/gstcdplayer.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/glsink/glimagesink.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2src.c:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
* sys/ximagesrc/ximagesrc.c:
Define GstElementDetails as const and also static (when defined as
global)
2006-04-25 21:56:38 +00:00
j^
dacf8eaa18
Unify the long descriptions in the plugin details ( #337263 ).
...
Original commit message from CVS:
Patch by: j^ <j at bootlab dot org>
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/polyp/polypsink.c: (gst_polypsink_base_init):
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
Unify the long descriptions in the plugin details (#337263 ).
2006-04-06 11:35:26 +00:00
Thomas Vander Stichele
60f8059676
rework build; add translations for v4l2
...
Original commit message from CVS:
rework build; add translations for v4l2
2006-04-01 10:09:11 +00:00