Commit graph

4353 commits

Author SHA1 Message Date
Robert Swain
f45ff93586 x264enc: Fix b-pyramid libx264 API boolean arg for non-boolean issue
In X264_BUILD >= 78, b-pyramid became a non-boolean so passing a boolean
argument to the option string value causes an error. For < 78 we pass the
boolean value, for >= 78 we use the x264_b_pyramid_names[] array which will
result in passing 'none' for false and 'strict' for true. Other modes can be
set through the option-string property for now.

https://bugzilla.gnome.org/show_bug.cgi?id=626577
2010-08-11 16:47:12 +01:00
Tim-Philipp Müller
dd4b42e5f0 0.10.15.2 pre-release 2010-08-11 00:02:47 +01:00
Stefan Kost
73cc65fa88 synaesthesia: code cleanups.
Remove unused boilerplate for signals. Use _OBJECT variants of logging macros
more.
2010-08-10 14:37:39 +03:00
Stefan Kost
ed9fd645ad synaesthesia: use GST_BOILERPLATE macros 2010-08-10 14:29:05 +03:00
Tim-Philipp Müller
872e03b4bd Automatic update of common submodule
From bd2054b to 3e8db1d
2010-08-10 10:59:04 +01:00
Tim-Philipp Müller
5225f5cc16 x264: fix printf format warning in debug message 2010-08-09 00:31:15 +01:00
Tim-Philipp Müller
d114b121db docs: fix bug passing arguments to gtkdoc-fixref in upload target
Missing backslash at end of line meant we weren't passing all arguments
to gtkdoc-fixref and we'd get a shell error when doing 'make upload'.
2010-08-07 00:09:47 +01:00
Stefan Kost
372e0f59a1 Automatic update of common submodule
From a519571 to bd2054b
2010-08-05 13:57:26 +03:00
Sebastian Dröge
a924fe8e3f configure: Check if the compiler supports ISO C89 or C99 and which parameters are required
This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.
2010-08-04 19:28:09 +02:00
Robert Swain
a441e5b6ef x264enc: Fix flushing of delayed frames
x264_encoder_encode() should be called with a NULL picture until at least
x264_encoder_delayed_frames() returns 0. This fixes what appeared to be a
regression in make check due to the recent change in defaults which enabled
b-frames and b-pyramid, both of which I believe increase the number of delayed
frames when encoding.
2010-07-30 09:59:08 +02:00
Robert Swain
60d647dcf5 x264enc: Improve x264enc defaults
- medium x264 speed/quality preset
- threads defaults to 0 which automatically uses 1.5x number of cpu cores

Addresses part of bug #607798
2010-07-26 14:29:02 +02:00
Robert Swain
30fff25b68 x264enc: Fix property description typos 2010-07-25 13:39:44 +02:00
Robert Swain
3554c95548 x264enc: Add some more debug info 2010-07-25 13:39:44 +02:00
Robert Swain
b27ce43ab8 x264enc: Add speed-preset and [psy-]tuning properties
Use of a rate control method (pass, bitrate, quantizer, etc properties), a
preset and possibly a profile and/or tuning are now the recommended way to
configure x264 through x264enc.

If a preset/tuning are specified then these will define the default values and
the property defaults will be ignored. After this the option-string property is
applied, followed by the user-set properties, fast first pass restrictions and
finally the profile restrictions.

Addresses part of bug #607798
2010-07-25 13:39:44 +02:00
Robert Swain
f269e0679f x264enc: Refactor code in preparation for presets/tunings
- Make defaults append the appropriate default value to a string. This is
  needed to differentiate between something user-set and the actual prop
  default.
- Add an internal option string to which _set_property () cases append for the
  majority of properties.
- Use gst_x264_enc_parse_options () to clean up application of settings. This
  will make order of application with respect to the presets and tunings quite
  simple.

Addresses part of bug #607798
2010-07-25 13:37:47 +02:00
Robert Swain
ac6b656ed3 x264enc: Update available me types
Use the x264_motion_est_names[] array to populate the enum of ME types. This is
now self-maintaining.
2010-07-25 13:37:47 +02:00
Robert Swain
d6f766d10f x264enc: Use new libx264 API to affect fast first pass
Uses new x264 API to apply reduced complexity values to the parameters to
increase encoding speed in the first pass of a multi-pass encode. This does
not impact on final quality.

Addresses part of bug #607798
2010-07-25 13:37:47 +02:00
Robert Swain
76cc4dbc07 x264enc: Add profile property
In X264_BUILD >= 86 there is a new API for applying restrictions to an H.264
Profile. This makes it easier to achieve Baseline Profile for example.

Addresses part of bug #607798
2010-07-25 13:37:45 +02:00
Robert Swain
f2be62695c x264enc: Add option-string property
Adds support for an x264 format option-string to specify advanced parameters

Addresses part of bug #607798
2010-07-23 09:35:48 +02:00
Tim-Philipp Müller
d462cdee4d mad: use right automake variable, should be ID3TAG_{LIBS,CFLAGS} not ID3_{LIBS,CFLAGS}
Spotted by syntr0py.
2010-07-22 13:26:21 +01:00
Mark Nauwelaerts
bd6d9402e0 x264enc: only set timebase on versions where it exists 2010-07-20 19:44:51 +02:00
David Hoyt
35f0e23a46 x264enc: set appropriate time base
Fixes #624786.
2010-07-20 16:44:46 +02:00
Tim-Philipp Müller
dc89edfdc6 tests: add plugin loading whitelist to test environment
Only want to load core/-base/-ugly plugins here.
2010-06-30 18:45:49 +01:00
Tim-Philipp Müller
95d6c2c67c Bump automake requirement to 1.10 and autoconf to 2.60
For maintainability reasons and $(builddir).

See #622944.
2010-06-28 16:12:12 +01:00
Thiago Santos
81dfce4095 asfdemux: Fix seeking after last commits
Don't handle wrong-state returns as errors to allow seeking to work
again.
2010-06-28 09:34:30 -03:00
Thiago Santos
36e12c92c1 asfdemux: Push all pending data on EOS
When on push mode and receiving an EOS event, asfdemux
should push all pending data because we might be dealing
with a broken file that has a preroll value higher
than its actual length.
2010-06-24 19:46:39 -03:00
Thiago Santos
ec3b13a250 asfdemux: Fix sending eos event for chained asfs
Properly push EOS event when finishing a chained asf file
in pull mode

Fixes #599718
2010-06-24 19:29:17 -03:00
Tim-Philipp Müller
054f0ca781 docs: add rmdemux to docs properly
The plugin has been renamed, remove old introspection file.
2010-06-24 21:04:42 +01:00
Tim-Philipp Müller
77c73de6a6 docs: update for recent x264enc changes 2010-06-24 18:04:15 +01:00
Tim-Philipp Müller
6f5dabb71f rmdemux: fix compiler warning when debugging system in core is disabled 2010-06-24 18:03:21 +01:00
Stefan Kost
68f449df78 Automatic update of common submodule
From 73ff93a to a519571
2010-06-24 15:09:44 +03:00
Edward Hervey
5ac4ea3f1b asfdemux: Allow at least 500ms of preroll.
Some files have insanely low preroll values which break the
all_streams_prerolled() logic.

Fixes #622407
2010-06-23 11:06:54 +02:00
Mark Nauwelaerts
49f1373f1b x264enc: add new h264 caps attribute alignment
See #606662.
2010-06-22 11:42:18 +02:00
Mark Nauwelaerts
27025d0ebd x264enc: conditionally expose enhanced upstream capabilities
API: GstX264Enc:sliced-threads
API: GstX264Enc:sync-lookahead
API: GstX264Enc:intra-refresh
API: GstX264Enc:mb-tree
API: GstX264Enc:rc-lookahead

See #607798.
2010-06-18 18:47:49 +02:00
Tim-Philipp Müller
a49c2102c7 docs: update introspected plugin docs for gstdoc-scangobj and other changes
Update common for latest gstdoc-scangobj and inspect xml files for
escaping and pad template order changes.
2010-06-17 16:48:59 +01:00
Edward Hervey
85a759e0ad Automatic update of common submodule
From 9339ccc to 35617c2
2010-06-15 16:50:21 +02:00
Stefan Kost
4821fefea3 Automatic update of common submodule
From 5adb1ca to 9339ccc
2010-06-15 16:54:42 +03:00
Stefan Kost
24fc669379 Automatic update of common submodule
From 57c89b7 to 5adb1ca
2010-06-15 16:35:49 +03:00
Stefan Kost
6d53d9f52d Automatic update of common submodule
From c804988 to 57c89b7
2010-06-15 15:50:09 +03:00
Sebastian Dröge
602fb1319a configure: Update required GLib version to 2.20 2010-06-14 16:59:25 +02:00
Sebastian Dröge
e0cd55c805 a52dec: Call orc_init() before trying to get target flags 2010-06-14 15:33:14 +02:00
Sebastian Dröge
21d90d5539 a52dec: Remove debug printf... 2010-06-14 14:34:56 +02:00
Sebastian Dröge
359260bd5b a52dec: Use orc for CPU feature detection and don't check for liboil 2010-06-14 14:34:25 +02:00
Sebastian Dröge
20c3e5ba0c configure: Use GLIB_EXTRA_CFLAGS 2010-06-14 13:27:55 +02:00
Sebastian Dröge
49bc2a2889 Automatic update of common submodule
From 7a0fdf5 to c804988
2010-06-14 13:05:25 +02:00
Sebastian Dröge
a2af53a0d5 Automatic update of common submodule
From 6da3bab to 7a0fdf5
2010-06-14 11:35:03 +02:00
Sebastian Dröge
32db3bad65 Automatic update of common submodule
From 733fca9 to 6da3bab
2010-06-12 08:29:28 +02:00
David Schleef
4983d347b7 Automatic update of common submodule
From fad145b to 733fca9
2010-06-09 12:40:26 -07:00
David Schleef
2bfdbd6152 Automatic update of common submodule
From 47683c1 to fad145b
2010-06-09 12:34:18 -07:00
Wim Taymans
2c469df530 rmdemux: pass bitrate on caps
Set the bitrate on the caps, some decoders like sipro need this to function
properly.

Fixes #620007
2010-06-05 14:13:02 +02:00