Zhao Halley [Thu, 8 Dec 2011 04:13:38 +0000 (12:13 +0800)]
codecparsers: add missing zero_bits in h263 parsing
Zhao Halley [Thu, 8 Dec 2011 04:12:21 +0000 (12:12 +0800)]
codecparsers: includes start_marker in h263 header for parsing
Zhao Halley [Thu, 8 Dec 2011 04:07:42 +0000 (12:07 +0800)]
codecparsers: fix offset issue in h263 parse
Zhao Halley [Thu, 8 Dec 2011 03:27:56 +0000 (11:27 +0800)]
codecparsers: fix mask pattern for h263 start marker
Vincent Penquerc'h [Thu, 5 Jan 2012 11:01:01 +0000 (11:01 +0000)]
tests: test for GTK 2.24 for new symbols used in camerabin2 tests
The whole tree is likely to switch to GTK 3.0 at some point, but
we might as well continue building with slightly less new versions
if it's not hard to do.
Tim-Philipp Müller [Wed, 4 Jan 2012 18:42:57 +0000 (18:42 +0000)]
tests: remove temporary files when done in camerabin, camerabin2 and jifmux tests
Mark Nauwelaerts [Wed, 4 Jan 2012 09:56:51 +0000 (10:56 +0100)]
h264parse: fix and tweak frame timestamping
... to run with properly init'ed variables, and to only perform interpolation
in safe cases.
Mark Nauwelaerts [Tue, 3 Jan 2012 21:09:04 +0000 (22:09 +0100)]
h264parse: prefer negotiating pass-through
Mark Nauwelaerts [Tue, 3 Jan 2012 20:59:32 +0000 (21:59 +0100)]
h264parse: mark byte-stream AU frame with inserted codec NALs as keyframe
Mark Nauwelaerts [Tue, 3 Jan 2012 19:23:16 +0000 (20:23 +0100)]
h264parse: properly determine skip amount when no NAL start found yet
Mark Nauwelaerts [Tue, 3 Jan 2012 19:21:51 +0000 (20:21 +0100)]
h264parse: some more proper parse state reset
Thiago Santos [Fri, 30 Dec 2011 03:02:46 +0000 (00:02 -0300)]
basevideocodec: Reset should reset current caps
New caps will need to be negotiated when reset happens
(PAUSED to READY). Without reseting the internal
stored format, basevideoencoder/decoder wouldn't call the
configuration function when the same caps was negotiated
again as they would believe this was the same caps as before.
The issue is that _stop has been called when going to READY and
the elements would have reset their internal codec libs/state as
well. A new configuration should be done.
Thiago Santos [Fri, 30 Dec 2011 03:02:19 +0000 (00:02 -0300)]
camerabin2: clarify some message logs
Be explicit on which encodebin we're switching profiles on the
log messages
Thiago Santos [Thu, 29 Dec 2011 16:30:13 +0000 (13:30 -0300)]
examples: camerabin2: add some error handling for format changing
Check that the format could be initialized and shows a modal dialog
in case it couldn't.
Thiago Santos [Thu, 29 Dec 2011 15:47:48 +0000 (12:47 -0300)]
examples: camerabin2: add format selection for camerabin2 example
Adds a combobox for selecting the video profile for recordings.
Useful for testing multiple formats a/v sync when recording.
Thiago Santos [Wed, 28 Dec 2011 19:59:15 +0000 (16:59 -0300)]
tests: remove comment for already fixed issues on makefile
Some issues on camerabin2 and jifmux tests were fixed some
time ago, remove the comments about them
Thiago Santos [Wed, 28 Dec 2011 19:57:25 +0000 (16:57 -0300)]
tests: camerabin2: Fix message leak in tests
Thiago Santos [Tue, 27 Dec 2011 14:59:16 +0000 (11:59 -0300)]
camerabin2: fix gvalue leak
Thiago Santos [Tue, 27 Dec 2011 13:23:18 +0000 (10:23 -0300)]
tests: camerabin2: fix mainloop leaks
Thiago Santos [Tue, 27 Dec 2011 13:20:48 +0000 (10:20 -0300)]
camerabin2: secure event ref when sending event to parent class
camerabin2 needs to hold an extra ref on send_event before sending
it to the parent class as it will need to use it after the parent
handles it.
Mark Nauwelaerts [Fri, 23 Dec 2011 08:30:31 +0000 (09:30 +0100)]
faac: standardize some field data types
Fixes #666750.
Thiago Santos [Thu, 22 Dec 2011 18:19:05 +0000 (15:19 -0300)]
basecamerabinsrc: remove redundant functions
gst_bin_get_by_interface should be enough for applications.
Haven't seen anyone using those other than wrappercamerabinsrc.
Thiago Santos [Thu, 22 Dec 2011 18:01:47 +0000 (15:01 -0300)]
camerabin2: remove unused helper function
This drop_eos_probe function is not used anymore, remove it
Mark Nauwelaerts [Thu, 22 Dec 2011 16:15:28 +0000 (17:15 +0100)]
faac: recreate encoder after flushing
... since it appears the existing one can't be bothered anymore to produce
some output.
Mark Nauwelaerts [Thu, 22 Dec 2011 16:14:09 +0000 (17:14 +0100)]
faac: refactor encoder library setup
Mark Nauwelaerts [Thu, 22 Dec 2011 16:10:18 +0000 (17:10 +0100)]
voaacenc: no need to duplicate baseclass sanity checks
Mark Nauwelaerts [Thu, 22 Dec 2011 16:09:30 +0000 (17:09 +0100)]
voamrwbenc: no need to duplicate baseclass sanity checks
Thiago Santos [Mon, 19 Dec 2011 19:49:08 +0000 (16:49 -0300)]
camerabin2: Fix A/V sync for captures
Audio src was pushing newsegments starting from 0, even when its buffers
were not starting with 0 as their timestamps. Add a buffer probe that
checks the ts of the first buffer and uses that to push a newsegment,
just like we do for video on wrappercamerabinsrc.
Thiago Santos [Mon, 19 Dec 2011 18:17:22 +0000 (15:17 -0300)]
tests: camerabin2: enable tests
Tests are passing now, enable them
Thiago Santos [Mon, 19 Dec 2011 18:16:42 +0000 (15:16 -0300)]
wrappercamerabinsrc: Push newsegments on video capture start
Pushing newsegments to inform muxers about the start time of the
video buffer timestamps.
Mark Nauwelaerts [Tue, 20 Dec 2011 13:04:52 +0000 (14:04 +0100)]
codecparsers: h264: clear sei message prior to parsing
Fixes #666584.
Vincent Penquerc'h [Mon, 19 Dec 2011 13:18:51 +0000 (13:18 +0000)]
mpegtsdemux: only warn when we see a PID with unknown type
This is quite frequent, and we will just ignore that stream,
so an error is not warranted.
Alessandro Decina [Mon, 19 Dec 2011 11:32:26 +0000 (12:32 +0100)]
h264parse: avoid pushing SPS/PPS at start only if both are found in stream
Avoid injecting SPS/PPS nals only if both are already present in the stream.
Fixes some AVC clips that happen to have only PPS nals in stream.
Alessandro Decina [Sun, 18 Dec 2011 17:37:08 +0000 (18:37 +0100)]
mpeg4videoparse: handle force key unit events
Alessandro Decina [Sun, 18 Dec 2011 16:40:57 +0000 (17:40 +0100)]
h264parse: do wait for a keyframe when handling force key unit events
Although some decoders can start decoding with just PPS and SPS and waiting for
a keyframe is bad when the keyframe interval is large, gst-ffmpeg does need a
keyframe to start decoding.
Alessandro Decina [Sun, 18 Dec 2011 16:32:11 +0000 (17:32 +0100)]
mpegtsmux: unset the current PCR stream when starting a new unit
Unset the current PCR stream when starting a new unit so that afterwards a new
stream is selected as PCR and PAT and PMT tables are regenerated.
Alessandro Decina [Sun, 18 Dec 2011 16:31:18 +0000 (17:31 +0100)]
mpegtsmux: fix key unit event handling when muxing both audio and video
Take only video buffers into account when deciding when to cut so that new units
start with a video keyframe.
Tim-Philipp Müller [Thu, 15 Dec 2011 18:14:24 +0000 (18:14 +0000)]
katetiger: don't unref NULL buffer
Thiago Santos [Thu, 15 Dec 2011 14:11:41 +0000 (11:11 -0300)]
tests: jifmux: re-enable jifmux's tests
Fix for its test is now available on -base module.
Enabling again.
Vincent Penquerc'h [Thu, 15 Dec 2011 13:47:55 +0000 (13:47 +0000)]
videomeasure: port to GstCollectPads2
Vincent Penquerc'h [Thu, 15 Dec 2011 13:39:41 +0000 (13:39 +0000)]
mxfmux: port to GstCollectPads2
Only tested with audio, I can't get it to accept video (before
the port).
Vincent Penquerc'h [Thu, 15 Dec 2011 13:22:24 +0000 (13:22 +0000)]
mpegtsmux: port to GstCollectPads2
I *think* the stream lock use is correct, not 100% sure.
Vincent Penquerc'h [Thu, 15 Dec 2011 13:08:42 +0000 (13:08 +0000)]
mpegpsmux: port to GstCollectPads2
Vincent Penquerc'h [Thu, 15 Dec 2011 13:04:51 +0000 (13:04 +0000)]
frei0r: port to GstCollectPads2
Untested, no sample pipeline mentioned, and I've no idea what
this plugin does, but since all the previous ports work out of
the box, this is deemed to work until evidence it doesn't.
Vincent Penquerc'h [Thu, 15 Dec 2011 13:02:16 +0000 (13:02 +0000)]
compare: port to GstCollectPads2
Vincent Penquerc'h [Thu, 15 Dec 2011 12:59:57 +0000 (12:59 +0000)]
asfmux: port to GstCollectPads2
Mark Nauwelaerts [Wed, 14 Dec 2011 16:36:55 +0000 (17:36 +0100)]
dtsdec: avoid crashing upon draining
... and clean up some variable init and debug statement.
Thiago Santos [Wed, 14 Dec 2011 11:54:32 +0000 (08:54 -0300)]
tests: mpegtsmux: remove unused variable
Tommi Myöhänen [Wed, 14 Dec 2011 11:32:50 +0000 (08:32 -0300)]
camerabin2: fix leak on error handling
Camerabin2 parses warning messages with gst_message_parse_warning(message,
&err, &debug) but doesn't free given GError and debug strings.
Documentation shows that the ownership of those fields is transferred
to caller (they are marked "[transfer full]" in the API docs).
Julien Isorce [Mon, 12 Dec 2011 14:52:20 +0000 (15:52 +0100)]
mpegtsparse: check offset when retrieving table_id on malformed packets
Fix bug #665988
Sebastian Dröge [Tue, 13 Dec 2011 09:44:42 +0000 (10:44 +0100)]
Revert "mpegtsparse: check offset when retrieving table_id on malformed packets"
This reverts commit
e62978d045d57ee9fed7598c02b9017eb974ea36.
Sebastian Dröge [Tue, 13 Dec 2011 09:17:41 +0000 (10:17 +0100)]
basevideocodec: Don't use G_TYPE_REGISTER_BOXED() yet
This would require GLib 2.26.
Vincent Penquerc'h [Mon, 12 Dec 2011 20:01:17 +0000 (20:01 +0000)]
tiger: advertise all the new YUV formats we can now use
Vincent Penquerc'h [Mon, 12 Dec 2011 19:34:32 +0000 (19:34 +0000)]
tiger: replace the new YUV blitting code with the newer overlay code
Julien Isorce [Mon, 12 Dec 2011 13:54:00 +0000 (14:54 +0100)]
mpegtsparse: check offset when retrieving table_id on malformed packets
Vincent Penquerc'h [Mon, 12 Dec 2011 13:59:33 +0000 (13:59 +0000)]
liveadder: fix buffer leak
Matej Knopp [Mon, 5 Dec 2011 17:57:01 +0000 (18:57 +0100)]
basevideo: Make GstVideoFrame a reference counted boxed object
...and also clear all existing frames when resetting the decoder or encoder.
Sebastian Dröge [Mon, 12 Dec 2011 09:40:08 +0000 (10:40 +0100)]
teletextdec: Properly integrate into the build system
Sebastian Dröge [Mon, 12 Dec 2011 09:28:10 +0000 (10:28 +0100)]
dts: Add $(GST_BASE_LIBS) and CFLAGS to the build
dtsdec now uses GstAdapter, which is in libgstbase. Also reorder
CFLAGS and LIBADD.
Tim-Philipp Müller [Sun, 11 Dec 2011 16:07:44 +0000 (16:07 +0000)]
docs: fix make distcheck
Set DOC_OVERRIDES, so the -overrides.txt file which is apparently
created anyway, gets cleaned up properly.
Tim-Philipp Müller [Sun, 11 Dec 2011 16:05:57 +0000 (16:05 +0000)]
docs: minor Makefile.am clean-up
GST_BAD_CFLAGS and GST_BAD_LIBS don't exist.
Tim-Philipp Müller [Sun, 11 Dec 2011 15:29:31 +0000 (15:29 +0000)]
tests: disable failing jifmux, camerabin2, and colorspace tests
jifmux: general:test_jifmux_tags:0: Assertion 'entry->components == 2' failed
camerabin2: test_multiple_video_recordings:0: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)
colorspace: bad memory accesses in orc code for odd width buffers (see bug #663248)
Tim-Philipp Müller [Sun, 11 Dec 2011 15:03:17 +0000 (15:03 +0000)]
tests: fix g_usleep() in camerabin2 test
g_usleep() takes a microsecond value, GST_SECOND is nanoseconds, so
we were sleeping for more than 3 minutes here instead of 200ms.
Tim-Philipp Müller [Sun, 11 Dec 2011 00:59:15 +0000 (00:59 +0000)]
po: update translations
Tim-Philipp Müller [Sun, 25 Sep 2011 22:57:34 +0000 (23:57 +0100)]
mpegpsmux: put stream headers into output caps
Basic version with only the system header and the program
stream map. An advanced version could include codec-specific
bits like SPS/PPS too. This is useful in connection with
e.g. multifilesink to make sure new files always start with
the stream headers.
Tim-Philipp Müller [Fri, 16 Sep 2011 18:32:38 +0000 (19:32 +0100)]
mpegpsmux: add "aggregate-gops" property to aggregate GOPs into buffer lists
Useful in connection with multifilesink, for example, to make sure
the new file always starts with a keyframe.
Tim-Philipp Müller [Sat, 10 Dec 2011 20:08:20 +0000 (20:08 +0000)]
mpegpsmux: remember primary video stream
Tim-Philipp Müller [Wed, 31 Aug 2011 18:40:05 +0000 (19:40 +0100)]
mpegpsmux: remember whether an incoming buffer is a keyunit or not
Vincent Penquerc'h [Fri, 9 Dec 2011 17:25:41 +0000 (17:25 +0000)]
opusenc: add upstream negotiation for multistream ability
This will help elements that cannot deal with multistream,
such as the RTP payloader.
The caps now do not include a "streams" field anymore, but
a "multistream" boolean, since we have no real use for knowing
the exact amount of streams.
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Danilo Cesar Lemes de Paula [Wed, 7 Dec 2011 17:13:11 +0000 (15:13 -0200)]
Adding opus RTP payloader/depayloader element
Adding OPUS RTP module based on the current draft:
http://tools.ietf.org/id/draft-spittka-payload-rtp-opus-00.txt
https://bugzilla.gnome.org/show_bug.cgi?id=664817
Vincent Penquerc'h [Thu, 8 Dec 2011 19:47:55 +0000 (19:47 +0000)]
opus: include streams count in caps
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Vincent Penquerc'h [Thu, 8 Dec 2011 18:45:27 +0000 (18:45 +0000)]
opus: properly create channel mapping tables
There are two of them, unintuitively enough; the one passed
to the encoder should not be the one that gets written to the
file. The former maps the input to an ordering which puts
paired channels first, while the latter moves the channels
to Vorbis order. So add code to calculate both, and we now
have properly paired channels where appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Tim-Philipp Müller [Thu, 8 Dec 2011 22:49:50 +0000 (22:49 +0000)]
videoparsers: fix LIBS order in Makefile.am
Vincent Penquerc'h [Thu, 8 Dec 2011 12:42:57 +0000 (12:42 +0000)]
mpegtsdemux: only offset timestamps when live
This code is to sync to a live source when there is a delay
between start and when we receive the first buffer, so it does
not make sense in a non live case.
This fixes playback of streams where the input timestamps are
based off some arbitrary offset.
https://bugzilla.gnome.org/show_bug.cgi?id=663756
Sebastian Dröge [Thu, 8 Dec 2011 10:51:36 +0000 (11:51 +0100)]
basevideoencoder: Only make the header buffer metadata writable, not the buffer
Sebastian Dröge [Thu, 8 Dec 2011 09:19:40 +0000 (10:19 +0100)]
basevideoencoder: Fix handling of force-keyunit events
Olivier Crête [Wed, 7 Dec 2011 05:06:11 +0000 (00:06 -0500)]
opusdec: header cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Olivier Crête [Wed, 7 Dec 2011 05:06:11 +0000 (00:06 -0500)]
opusdec: Truncate caps first
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Vincent Penquerc'h [Mon, 28 Nov 2011 19:47:34 +0000 (19:47 +0000)]
opusdec: default to stereo 48000 Hz if possible when no headers seen
https://bugzilla.gnome.org/show_bug.cgi?id=665078
Sebastian Dröge [Wed, 7 Dec 2011 12:48:53 +0000 (13:48 +0100)]
rsndec: Don't use the initial-identity property on autoconvert
It was removed, see bug #599469, #665205
Sebastian Dröge [Wed, 7 Dec 2011 12:46:43 +0000 (13:46 +0100)]
autoconvert: Remove the initial-identity property from autoconvert
Initially creating an identity element to forward serialized
events downstream before any caps are known is broken behaviour.
Serialized events should only be forwarded downstream if the
caps are already known, otherwise autopluggers and other elements
using pad-blocks will fail.
This behaviour also doesn't work anymore after basetransform
was fixed to queue serialized events until the caps are known
as a result of fixing bug #659571.
See bug #599469, #665205.
Thibault Saunier [Tue, 6 Dec 2011 19:27:25 +0000 (16:27 -0300)]
videoparsers: Do not not skip startcode when needed
Fix: https://bugzilla.gnome.org/show_bug.cgi?id=665631
Zhao Halley [Tue, 6 Dec 2011 00:55:19 +0000 (08:55 +0800)]
codecparsers: first video_packet_header doesn't start with resync_marker
Zhao Halley [Tue, 6 Dec 2011 00:53:07 +0000 (08:53 +0800)]
codecparsers: return NO_PACKET if needed
Zhao Halley [Tue, 6 Dec 2011 00:31:14 +0000 (08:31 +0800)]
codecparsers: fix an issue in check resync marker
Zhao Halley [Tue, 6 Dec 2011 00:25:59 +0000 (08:25 +0800)]
codecparsers: fix an issue in finding the last video packet in vop
Zhao Halley [Tue, 6 Dec 2011 00:21:19 +0000 (08:21 +0800)]
codecparsers: include resync marker in video packet size
Zhao Halley [Tue, 6 Dec 2011 00:19:05 +0000 (08:19 +0800)]
codecparsers: scan next resync marker after current one
Zhao Halley [Tue, 6 Dec 2011 00:17:38 +0000 (08:17 +0800)]
codecparsers: fix < 0 issue of guint in mpeg4 parser
gst_byte_reader_masked_scan_uint32 returns a guint, not a gint, which
explains the issue we sometime get using < 0 instead of == -1;
Zhao Halley [Tue, 6 Dec 2011 00:15:46 +0000 (08:15 +0800)]
codecparsers: fix pattern/mask of resync_marker parsing of mpeg4
Alessandro Decina [Tue, 6 Dec 2011 12:06:06 +0000 (13:06 +0100)]
h264parse: handle force key unit events
Send SPS/PPS on force key unit events. Useful for example when serving HLS
without transcoding.
Alessandro Decina [Tue, 6 Dec 2011 11:55:26 +0000 (12:55 +0100)]
codecparsers: fix compile warnings in gstmpeg4parser.c
Edward Hervey [Mon, 5 Dec 2011 10:56:02 +0000 (11:56 +0100)]
tests: Add more files to .gitignore
Edward Hervey [Mon, 5 Dec 2011 10:50:17 +0000 (11:50 +0100)]
h264parse: Use faster parsing variant when input is packetized
Reduces latency and cpu usage
https://bugzilla.gnome.org/show_bug.cgi?id=665584
Edward Hervey [Mon, 5 Dec 2011 10:47:57 +0000 (11:47 +0100)]
codecparsers: Variant of _identify_nalu without checks
This is useful for cases where the caller *knows* that the provided
input contains a whole NALU and can therefore avoid:
* the expensive checks for the next start code (which won't be present)
* delaying the input parsing (since we would need the next incoming NALU
in order for the parsing code to detect the next start code)
https://bugzilla.gnome.org/show_bug.cgi?id=665584
Mark Nauwelaerts [Mon, 5 Dec 2011 12:09:17 +0000 (13:09 +0100)]
h264parse: reflow slice nal processing
Mark Nauwelaerts [Mon, 5 Dec 2011 11:57:47 +0000 (12:57 +0100)]
h264parse: optimize slice nal processing
Only minimal slice info is needed here to determine real frame start,
so no need to parse extensively.
Fixes #665418.
Mark Nauwelaerts [Mon, 5 Dec 2011 11:53:59 +0000 (12:53 +0100)]
codecparser: unbreak h264 slice header parsing
.. introduced by refactoring in commit
177451c9216f4e3959e7358675fbb9731d2c81a2
Sebastian Dröge [Mon, 5 Dec 2011 07:56:43 +0000 (08:56 +0100)]
autoconvert: Implement iterate_internal_links function on the sinkpad and srcpad
Vincent Penquerc'h [Mon, 28 Nov 2011 19:38:34 +0000 (19:38 +0000)]
opusdec: guard against decoding 0 samples
https://bugzilla.gnome.org/show_bug.cgi?id=665078