Olivier Crête
21686e3077
shm: Move to sys/ since it doesn't exist on windows
2010-06-03 15:27:43 -04:00
Olivier Crête
536e79befd
shmsrc: Fix indentation
2010-06-03 15:27:43 -04:00
Olivier Crête
f26d799676
shmsink: Print errors if fchmod fails
2010-06-03 15:27:43 -04:00
Olivier Crête
b9decbb056
shmpipe: Fix crash when sp_close_shm is called with self == NULL.
...
If sp_open_shm errors out trying to open a shm area, it would crash
when trying to free the area. The RETURN_ERROR macro calls
sp_shm_area_dec with self == NULL. sp_shm_area_dec calls
sp_shm_close, with self == NULL, which it then tries to access a
parameter of without checking. This patch checks to make sure
self != NULL before accessing that parameter.
2010-06-03 15:27:43 -04:00
Olivier Crête
e8b4310aa6
shmpipe: Update code standard
2010-06-03 15:27:43 -04:00
Olivier Crête
c60ef5e81f
shmsrc: Add socket path to error message
2010-06-03 15:27:43 -04:00
Olivier Crête
f366356fdf
shmpipe: Remove wrong test inversion
2010-06-03 15:27:42 -04:00
Olivier Crête
1d893f8157
shmpipe: Verify that accept succeeds
2010-06-03 15:27:42 -04:00
Olivier Crête
d2731d689d
shmpipe: Fix one byte overflow
2010-06-03 15:27:42 -04:00
Olivier Crête
2c02d0c0e4
shmsrc: Improve debug prints
2010-06-03 15:27:42 -04:00
Olivier Crête
5c7a160de5
shmsink: Get potentially modified after opening shmpipe
2010-06-03 15:27:42 -04:00
Olivier Crête
7e8eae9f2a
shm: Try alternate paths for the socket
2010-06-03 15:27:42 -04:00
Olivier Crête
73fa2f9b76
shmpipe: Don't pretend the path is random
2010-06-03 15:27:42 -04:00
Olivier Crête
7c2a445a72
shmpipe: Create shm area exclusively
2010-06-03 15:27:42 -04:00
Olivier Crête
807da2165a
shmalloc: Make it build in non-glib world
2010-06-03 15:27:42 -04:00
Olivier Crête
c8eb511a9d
shmsrc: Make the shmpipe life independant of the element states
2010-06-03 15:27:42 -04:00
Olivier Crête
8f8b50a88e
shmpipe: Simplify handling of random paths
2010-06-03 15:27:42 -04:00
Olivier Crête
23414310a6
shmpipe: Remove useless attrib
2010-06-03 15:27:42 -04:00
Olivier Crête
007a26ac08
shmpipe: Ref client shmarea when a buffer is received in it
2010-06-03 15:27:42 -04:00
Olivier Crête
68c9ed6e5c
shmpipe: Don't dec old shm area when new one is added
...
Its ref will be dropped when the "close" message arrives
2010-06-03 15:27:41 -04:00
Olivier Crête
4f4ba5981b
shmsrc: Lock uses of shmpipe
2010-06-03 15:27:41 -04:00
Olivier Crête
92dccdd170
shmsrc: Add is-live property
2010-06-03 15:27:41 -04:00
Olivier Crête
43de02d25a
shm: Print details on errors
2010-06-03 15:27:41 -04:00
Olivier Crête
f97d02375b
shm: Make valgrind happy
2010-06-03 15:27:41 -04:00
Olivier Crête
663a8eac54
shmsink: Don't block on EOS in non-blocking mode
2010-06-03 15:27:41 -04:00
Olivier Crête
c5797b06ca
shm: Block if required
2010-06-03 15:27:41 -04:00
Olivier Crête
67785f331a
shmsink: Port to ShmPipe
2010-06-03 15:27:41 -04:00
Olivier Crête
b6bc52f961
shmsrc: Port to ShmPipe
2010-06-03 15:27:41 -04:00
Olivier Crête
7e90514747
shm: Add shmpipe implementation
2010-06-03 15:27:41 -04:00
Olivier Crête
e87cd0a29a
shm: Add shm based sink and src
...
These two elements (shmsink and shmsrc) communicate buffers using POSIX
shared memory. They also communicate the caps. The source currently acts as
a live source and ignores the timestamps coming from the sink. It also does
not transfer the tags.
2010-06-03 15:27:41 -04:00
Arun Raghavan
e5a37377ae
mpegtsdemux: Some checks to avoid asserts
...
gst_mpeg_descriptor_find() expects the description field to be non-NULL.
This fixes a couple of calls where the value being passed is not
verified to be non-NULL first.
https://bugzilla.gnome.org/show_bug.cgi?id=620456
2010-06-03 20:11:29 +02:00
Tim-Philipp Müller
ca5893e804
rtpmux: fix missing debug log message argument
2010-06-03 10:43:20 +01:00
David Schleef
76f136375c
invtelecine: add an assert to placate gcc-4.5
2010-06-02 22:07:31 -07:00
Olivier Crête
63c509b13e
rtpdtmfmux: Add some debug messages
2010-06-02 20:47:08 -04:00
Olivier Crête
2a39f410c1
rtpdtmfmux: Remove stream-lock event handling
2010-06-02 20:47:08 -04:00
Olivier Crête
e884e70f8e
rtpdtmfmux: Update doc for simplification
2010-06-02 20:47:08 -04:00
Olivier Crête
0528e09974
dtmf: Remove rtpdtmfmux stream-lock code
2010-06-02 20:47:08 -04:00
Olivier Crête
136d4688c0
rtpdtmfmux: Drop buffers on non-priority sinks when something is incoming on the priority sink
2010-06-02 20:47:08 -04:00
Olivier Crête
3f3f72889a
rtpdtmfmux: Add priority sink pads
2010-06-02 20:47:08 -04:00
Olivier Crête
60b4c4ef4b
rtpdtmfmux: Cleanup event function
2010-06-02 20:47:07 -04:00
Olivier Crête
68df62aa55
rtpmux: Aggregate incoming segments
2010-06-02 20:47:07 -04:00
Olivier Crête
e967023810
rtpdtmfmux: Update documentation
2010-06-02 20:47:07 -04:00
Olivier Crête
1c03b56146
rtpmux: Simplify request pad creation
2010-06-02 20:47:07 -04:00
David Schleef
d13b2b8287
Merge branch 'hacking'
2010-06-02 11:31:26 -07:00
David Schleef
6ceb310dc6
invtelecine: Add verify-field-flags property
...
When enabled, check that the video matches the field flags on the
incoming buffers.
2010-06-02 11:30:44 -07:00
David Schleef
88f4a6a0ed
invtelecine: remove old code
2010-06-02 11:30:32 -07:00
David Schleef
c439a6bc36
invtelecine: Add 4:2:2 formats
2010-06-02 11:29:57 -07:00
David Schleef
750cdc912b
invtelecine: Change format table
...
Add format name, phase table.
2010-06-02 11:29:05 -07:00
David Schleef
b213b03804
invtelecine: Add multiple pulldown formats
2010-06-02 11:26:41 -07:00
David Schleef
00174c8fa8
invtelecine: handle different frame sizes
2010-06-02 11:26:41 -07:00
Руслан Ижбулатов
a7fe2c391c
ivfparse: Fix format string warning
...
Fixes #620324
2010-06-02 10:06:26 +02:00
Sebastian Dröge
1a95b29115
ivfparse: Send an initial NEWSEGMENT event
2010-06-01 11:19:46 +02:00
Sebastian Dröge
820c8f9ed1
ivfparse: Integrate into the build system
2010-06-01 11:19:46 +02:00
Sebastian Dröge
d1e3217be8
ivfparse: Add simple IVF parser
...
This only supports VP8 so far.
Fixes bug #619158 .
2010-06-01 11:19:45 +02:00
Tim-Philipp Müller
cbd74ceff4
mpegvideoparse: change profile and level strings to something nicer-looking
...
This is more in line with what we do elsewhere, even if it doesn't
resemble the offical abbreviations exactly.
See #616078 .
2010-05-28 12:50:01 +01:00
Mark Nauwelaerts
413716d1d9
h264parse: plug a few memory leaks
...
Fixes #619617 .
2010-05-28 12:36:23 +01:00
Zaheer Abbas Merali
721643431e
mpegvideoparse: fix crash if downstream is unliked
...
mpeg_packetizer_get_block() in some circumstances (here: if
downstream was unlinked) returns a block but does not set the
buffer causing mpegvideoparse_drain_avail() to cause invalid memory
access.
Fixes #619502 .
2010-05-25 00:29:58 +01:00
Thiago Santos
c6e77c3d03
Removing remaining gstapp*
...
There are some remaining gstapp* living unlinked from the build scripts.
Remove them.
2010-05-24 20:03:21 -03:00
Sebastian Pölsterl
58b926b978
mpegtspacketizer: fix minor memory leak
...
Don't leak language code.
Fixes #619444 .
2010-05-23 19:20:31 +01:00
David Schleef
c3d4977761
Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
...
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it. This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs. If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
David Schleef
d1cfc50507
qtmux: Add VP8
2010-05-19 19:24:04 +02:00
Alessandro Decina
2441c79afa
h264parse: fix wrong timestamps in some cases after seeking.
...
Reset ->last_outbuf_dts on flush-stop. Fixes #619064 .
2010-05-19 11:18:28 +02:00
Zaheer Abbas Merali
5208d030b3
mpegtsdemux: fix memory corruption when parsing adaptation field
2010-05-17 16:26:03 +01:00
Sebastian Dröge
f09a8893c1
festival: Only close the connection if it's opened
2010-05-13 14:43:28 +02:00
Ivan Zderadicka
41bba48ccb
festival: Don't open an infinite number of connections to the server and close connections
...
Fixes bug #618527 .
2010-05-13 14:43:28 +02:00
Joshua M. Doe
59fddc9237
frei0r: Fix setting of boolean values
...
Setting boolean type parameters from gst-launch failed because of improper handling of type conversions.
Fixes bug #618388 .
2010-05-12 18:18:46 +02:00
Zaheer Abbas Merali
d2bd939899
mpegtsparse: parse TDT table in mpegts.
...
Some tables in MPEG-TS do not have a crc in the spec, so also mpegtsparse
is not calculating crc for sections with table_id 0x70 - 0x72 because they
do not have a CRC in the spec. See EN300468. Parse Time and Date table and
output bus message.
2010-05-12 13:00:16 +02:00
Tim-Philipp Müller
bb93d06ca0
Remove imagefreeze plugin/element.
...
It has been moved to gst-plugins-good.
See #613786 .
2010-05-11 14:02:33 +01:00
Tim-Philipp Müller
ee063478ff
Remove capssetter element
...
It has been moved to gst-plugins-good.
See #617739 .
2010-05-11 13:08:41 +01:00
Stefan Kost
418a791868
jpegformat: make the intention of the elements more clear
2010-05-07 22:53:17 +03:00
Thiago Santos
20a8666388
Revert "jifmux: Merge xmp and tagsetter tags."
...
This reverts commit 4e5c412234
.
jifmux shouldn't be able to handle jif and shouldn't expect
any xmp on its data. So, no need to handle them.
2010-05-07 14:00:03 -03:00
Thiago Santos
4e5c412234
jifmux: Merge xmp and tagsetter tags.
...
When the current file already has tags, they shouldn't be ignored,
parse them and merge with the tagsetter ones.
2010-05-07 12:42:23 -03:00
Thiago Santos
a9e4c64efa
jifmux: Reject buffers without caps
...
jifmux expects whole jpeg pictures in buffers, so it should
reject buffers without caps.
2010-05-07 11:07:34 -03:00
Thiago Santos
72fdd708cf
jifmux: Be safe and check bytewriter returns
...
Check GstByteWriter returns to know when recombining the image
failed and log a warning.
2010-05-07 10:59:22 -03:00
Thiago Santos
0d637e4f09
jifmux: Avoid adding 2 xmp packets
...
jifmux was only appending a new xmp packet to the stream,
it should replace if there is already one.
2010-05-07 10:13:54 -03:00
Sebastian Dröge
860d5e7efe
capssetter: Some minor cleanup
2010-05-06 13:12:32 +02:00
Sebastian Dröge
1f6688b1a1
imagefreeze: Set fixed caps on the correct pad
...
This makes the sink getcaps function actually used instead of using
the fixed caps function for it.
2010-05-05 12:25:08 +02:00
Mark Nauwelaerts
d68a4c1dcc
jpegparse: improve buffer scanning
...
Specifically, when scanning for entropy data segment length and needing
more data, do not rescan from start next time around, but resume at
last position.
See also #583047 .
2010-04-30 19:53:57 +02:00
Руслан Ижбулатов
5f25780b02
Fix printf format strings for gcc 4.5
...
Done on Windows/MinGW.
Fixes #617146
2010-04-29 10:17:56 +02:00
Lasse Laukkanen
30ff3bc098
camerabin: add meaningful names for queue elements inside camerabin
2010-04-21 12:25:39 +03:00
Mark Nauwelaerts
00148e3736
mpeg4videoparse: also set short configuration data in codec_data
...
That is, header configuration may start at Video Object (startcode),
rather than at Visual Object Sequence, which is catered for and parsed,
so let's also take it as codec_data if no more available.
Fixes (remainder of) #572551 .
2010-04-20 15:39:07 +02:00
Thiago Santos
c4aaab2d59
camerabin: Avoid crashing when setting zoom in NULL
...
Avoid setting zoom in NULL state because the source is not
set yet and this leads to a crash. It is set on READY > PAUSED
anyway.
2010-04-19 19:06:39 -03:00
Arun Raghavan
bf586d7966
mpegvideoparse: Export profile and level in caps
...
This exports profile and level in caps for MPEG 2 streams.
https://bugzilla.gnome.org/show_bug.cgi?id=616078
2010-04-18 12:50:26 +02:00
Sebastian Dröge
5a51dbd093
mpegdemux: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer
...
Fixes compiler warning with gcc 4.5.
2010-04-16 19:43:59 +02:00
Sebastian Dröge
2908515bd4
Revert "mpegpsdemux: Workaround new gcc 4.5 compiler warning"
...
This reverts commit a331228ecc
.
2010-04-16 19:42:00 +02:00
Sebastian Dröge
a331228ecc
mpegpsdemux: Workaround new gcc 4.5 compiler warning
...
gcc 4.5 warns when comparing some integer with an enum value, in
the case of GstFlowReturn this is valid though. We should later
add GST_FLOW_CUSTOM_OK1, GST_FLOW_CUSTOM_OK2, etc. after new core
is released.
2010-04-15 21:26:45 +02:00
Sebastian Dröge
1f102af33d
cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET
2010-04-15 20:50:58 +02:00
Adam Endrodi
822fd6a9ff
camerabin: reset software zooming if not set by the photo interface
...
Otherwise both software (videoscal+videocrop) and hardware zooming would be used.
2010-04-15 13:22:16 +03:00
David Schleef
a27500b712
invtelecine: Fix up element details
2010-04-14 16:43:23 -07:00
Thiago Santos
c48de5c594
camerabin: Add video-capture-width/height/framerate properties
...
Adds video-capture-width, video-capture-height and
video-capture-framerate properties to allow applications to
get/set those values. Getting was not possible before this patch,
and setting was done through the set-video-resolution-fps
action, which sets the properties and promptly resets the
video source to use them.
Fixes #614958
2010-04-13 20:37:03 -03:00
Thiago Santos
fa6adc85b4
camerabin: Adds image-capture-width/height properties
...
Adds image-capture-width and image-capture-height properties
to camerabin, allowing the user to get/set them. Getting was
not possible before and setting was done through the
set-image-resolution action, which shouldn't now just set
the properties.
Fixes #614958
2010-04-13 20:36:44 -03:00
Thiago Santos
a72774c5f8
camerabin: photography: Spring G_PARAM_STATIC_STRINGS
...
Sprinkle some G_PARAM_STATIC_STRINGS over the properties
in GstPhotography interface and in camerabin
2010-04-13 15:59:04 -03:00
Lasse Laukkanen
55d98ef488
camerabin: add block-after-capture property for viewfinder blocking
...
Adds block-after-capture property to block running viewfinder after capturing.
This property is useful if application wants to display capture preview and avoid
running viewfinder on background.
Based on a patch by Tommi Myöhänen <ext-tommi.1.myohanen@nokia.com>
2010-04-13 12:00:36 -03:00
Tommi Myöhänen
6206f58c3a
GstPhotography: Add flicker and focus mode settings to photography API
...
Adds flicker and focus mode settings to photography API and also
implement it in camerabin.
2010-04-13 12:00:35 -03:00
Teemu Katajisto
ae57a90fe2
camerabin: do not set imagebin sinkpad twice
...
If we already have a sinkpad, do not get a new one
2010-04-13 12:00:34 -03:00
Lasse Laukkanen
16cff06a70
camerabin: add viewfinder-filter property
...
Adds a new property called viewfinder-filter to camerabin.
This property is used to add a filter to process the video
flow right before the viewfinder sink.
Also updates test to check property exists.
2010-04-13 12:00:33 -03:00
Lasse Laukkanen
2c4417dabc
camerabin: proxy video source photography interface property notify signals
...
If photography interface properties change in video source, notify the
application by emitting notify for respective camerabin properties.
2010-04-13 12:00:32 -03:00
Lasse Laukkanen
2c05df08b2
camerabin: add api to query supported image capture resolution
...
Adds new property 'image-capture-supported-caps' to GstPhotography
to query the supported image capture caps.
Also implement it in camerabin.
2010-04-13 12:00:31 -03:00
René Stadler
e2438e6cf1
camerabin: rename function and variable names, update documentation
...
Get rid of user_* prefix internally, use app_* instead.
2010-04-13 12:00:31 -03:00
Lasse Laukkanen
d25a9ca8aa
camerabin: add video-source-filter property
...
Add video-source-filter property that can be used to inject application
specific gstreamer element to camerabin pipeline. The video-source-filter
element will process all frames coming from video source.
One could add image analyzers to collect information about the stream,
or add image enhancers to improve capture quality, for example.
2010-04-13 12:00:30 -03:00
Lasse Laukkanen
1c74f22264
camerabin: don't try adapting image capture resolution if no source-resize flag
...
If source-resize flag is disabled then set resolution to image capture caps
according to capture resolution video source element produces. Otherwise we
write wrong resolution to image metadata.
2010-04-12 16:10:49 +03:00
Lasse Laukkanen
d7a0f1f997
camerabin: Fix capturing flag handling after image has been captured
...
Make sure capturing flag is unset and image-captured message is sent
before sending eos event to image bin and saving the image to a file.
2010-04-12 16:07:36 +03:00
Lasse Laukkanen
c6f6f1b595
camerabin: fix setting filter-caps property in NULL state
...
Split _set_capsfilter_caps() into two parts so that we can call one part
regardless of the element state.
2010-04-12 16:06:07 +03:00
Lasse Laukkanen
1b10553f90
camerabin: improve image done signal emission
...
Use g_idle_add_full() with G_PRIORITY_HIGH to emit image done signal,
g_idle_add() is more likely to starve with higher priority events.
2010-04-12 15:15:22 +03:00
Tim-Philipp Müller
a81a158f17
invtelecine: fix print format in debug message
2010-04-08 01:42:23 +01:00
Arun Raghavan
90753ceb5e
baseparse: Don't emit bitrate tags too early
...
We wait to parse a minimum number of frames (10, arbitrarily) before
emiting bitrate tags so that our early estimates are not wildly
inaccurate for streams that start with a silence. If the stream ends
before that, we just emit the tags anyway.
While it _would_ be nicer to be specify the threshold to start pushing
the tags in terms of duration, this would introduce more complexity than
this merits.
https://bugzilla.gnome.org/show_bug.cgi?id=614991
2010-04-07 11:51:46 +02:00
Sebastian Dröge
1306160b79
mpegtsdemux: Add support for BlueRay style DTS
...
Fixes bug #614259 .
2010-04-05 10:33:26 +02:00
Sebastian Dröge
074d20cf99
mpegtsdemux: Add support for the two DTS HD stream types
...
Fixes bug #614259 .
2010-04-04 20:23:00 +02:00
Sebastian Pölsterl
d7ab75abb8
mpegtspacketizer: Additionally use the CRC to check if tables are duplicates
...
The current code just uses table id, subtable extension and version number to
check if the section has been seen before. However, this comparison is not
sufficient, causing actually new tables being dismissed.
Fixes bug #614479 .
2010-04-02 19:52:25 +02:00
Sebastian Dröge
c55b24b43d
h264parse: Correctly clean up internal state for reuse
...
Fixes bug #614591 .
2010-04-02 19:48:56 +02:00
Sebastian Dröge
129042b65c
mpegtsparse: Make sure that the buffer metadata is writable before setting caps
...
Fixes bug #614349 .
2010-04-02 19:19:23 +02:00
Tim-Philipp Müller
840e1c5209
build: build plugins and examples in parallel where possible, if make -jN is used
2010-03-30 01:17:15 +01:00
Tim-Philipp Müller
4162f0d58e
qtmux: use GStreamer package name and origin in the plugin info
2010-03-30 00:46:51 +01:00
Mark Nauwelaerts
7d2e248155
h264parse: fix writing NALU prefix for byte-stream output format
...
Specifically, input may already be in byte-stream format, so sync
bytes should not be misinterpreted as NALU size.
2010-03-29 14:49:06 +02:00
Sebastian Dröge
09223cc719
flacparse: Optionally check the overall frame checksums too before accepting a frame as valid
...
This is optional because it's a quite expensive operation and it's very
unlikely that a non-frame is detected as frame after the header CRC check
and checking all bits for valid values. The overall frame checksums are
mainly useful to detect inconsistencies in the encoded payload.
2010-03-26 18:58:35 +01:00
Sebastian Dröge
9fa738d36b
flacparse: Check the CRC-8 of the headers before accepting a frame as valid
...
This makes false-positives during seeking much less likely and detection of
them much faster.
2010-03-26 18:42:28 +01:00
Sebastian Dröge
6663e7c1ca
baseparse: Set the last stop to the buffer starttime if the duration is invalid
...
...instead of not setting it at all.
2010-03-26 18:20:24 +01:00
Joshua M. Doe
af00e59528
baseparse: Send NEWSEGMENT event with correct start and position
...
Instead of taking the last stop (which could be buffer endtime instead
of starttime) always take the buffer starttime.
Fixes bug #614016 .
2010-03-26 18:19:00 +01:00
Arun Raghavan
cc6c4ef00b
flacparse: Fix buffer refcount issue
...
When called from the GST_FLAC_PARSE_STATE_HEADERS case,
gst_flac_parse_hand_headers() does a gst_buffer_set_caps() on a buffer
with refcount > 1. This change handles this case by making the buffer
metadata_Writable.
https://bugzilla.gnome.org/show_bug.cgi?id=614037
2010-03-26 18:14:22 +01:00
Tim-Philipp Müller
eb34b2015b
mpegtsdemux: add missing space to debug message
2010-03-26 12:04:48 +00:00
Stefan Kost
16f532b71a
dtmfdetect: if we tell that we handle gap flags, then do so
2010-03-25 23:01:42 +02:00
Stefan Kost
88b223d36b
dtmfdetect: use glib types
2010-03-25 23:01:05 +02:00
Stefan Kost
de4a6adf80
dtmfdetect: fix classification
2010-03-25 23:01:05 +02:00
Stefan Kost
4f526f8aef
dtmfdetect: reformat message docs
...
Use a list like in other element docs as an untweaked docbook table look ugly.
2010-03-25 23:00:00 +02:00
Tim-Philipp Müller
d6f3ee4b90
audioparsers: remove unused GstBaseParseClassPrivate structure
2010-03-25 17:13:51 +00:00
Arun Raghavan
76f5d96e06
flacparse: Make bitrate estimation more accurate
...
This implements the get_frame_overhead() vfunc so that baseparse can
make more accurate bitrate estimates.
2010-03-25 16:57:55 +01:00
Arun Raghavan
599401a7f9
aacparse: Fix bitrate calculation
...
This patch adds the get_frame_overhead() vfunc so that baseparse can
accurately calculate the min/avg/max bitrates for aacparse.
Note: The bitrate was being incorrectly calculated for ADTS streams
(it's not in the header as the code suggests).
2010-03-25 16:57:48 +01:00
Arun Raghavan
88c1e42567
audioparsers: Add bitrate calculation to baseparse
...
This makes baseparse keep a running average of the stream bitrate, as
well as the minimum and maximum bitrates. Subclasses can override a
vfunc to make sure that per-frame overhead from the container is not
accounted for in the bitrate calculation.
We take care not to override the bitrate, minimum-bitrate, and
maximum-bitrate tags if they have been posted upstream. We also
rate-limit the emission of bitrate so that it is only triggered by a
change of >10 kbps.
2010-03-25 16:57:36 +01:00
Tim-Philipp Müller
0c97f9a9be
qtmux: init debug category before using it
2010-03-25 00:20:54 +00:00
Stefan Kost
4a87fee780
jpegformat: add blank line to fix generated xml
2010-03-24 16:25:43 +02:00
Tristan Matthews
552cd26b43
osx: more compiler warning fixes
...
Avoid new warnings.
Fixes #613758 .
2010-03-24 00:19:02 +00:00
Benjamin Otte
a9a7b8e372
Fixes for -Waggregate-return
...
The flag wasn't added due to libexif using aggregate return values.
2010-03-23 01:16:25 +01:00
Stefan Kost
5ebf6444cb
i18n: build fixes: #if -> #ifdef for ENABLE_NLS
2010-03-22 18:07:45 +02:00
Benjamin Otte
240f494aa7
Add -Wold-style-definition
...
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte
647cf64c01
Add -Wformat-nonliteral -Wformat-security flags
...
and fix the warnings
2010-03-22 16:22:22 +01:00
Arun Raghavan
8144fee47c
mpegvideoparse: Parse bitrate and emit as tag
...
This patch picks up the bitrate for the stream from the MPEG sequence
header and emits it as a tag on the source pad.
Fixes #599298 .
2010-03-22 12:44:54 +00:00
Benjamin Otte
33c2f5fb01
Add -Wwrite-strings
...
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
010789159d
Add -Wundef
...
and fix the warnings
2010-03-22 12:30:01 +01:00
Benjamin Otte
b7655bbd2e
Add -Wredundant-decls flag
...
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
f96e4f1581
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
46f4c7a6c1
siren: Run gst-indent script
...
Includes running dos2unix on decoder.c
2010-03-21 21:37:37 +01:00
Benjamin Otte
27b3e53d5d
legacyresample: remove unused file
2010-03-21 18:59:30 +01:00
Wim Taymans
e30f38531c
sdpdemux: disable loop and auto multicast join
...
Disable loopback of packets.
Disable autojoin of multicast groups in the sink because the source already
does that on the shared socket.
2010-03-19 11:13:30 +01:00
Benjamin Otte
775c7584fd
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 22:46:41 +01:00
Benjamin Otte
5258d372be
virtualdub: Remove
...
THe plugin is so hopelessly outdated, it's just not worth keeping.
2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
cadb0526d5
mpegtsdemux: fix minor memory leak in property getter
...
Don't leak the string returned by g_strjoinv(). While we're at it,
use GString to assemble the string to be returned.
2010-03-15 19:21:52 +00:00
Sebastian Dröge
5fe85915be
imagefreeze: Only start the task after a seek if a buffer was received already
2010-03-15 11:54:33 +01:00
Tim-Philipp Müller
e0175a40a2
asfmux: fix typo in property description
2010-03-13 18:55:22 +00:00
Raimo Järvi
46abe733c6
mpegvideoparse: Update caps when the sequence header changes
...
Fixes bug #612687 .
2010-03-13 06:03:32 +01:00
Mark Nauwelaerts
6631f50d59
camerabin: activate video bin before feeding data to it
...
Fixes #612615 .
2010-03-12 19:30:48 +01:00
Thiago Santos
ca30c1d915
qtmux: Use xmp on mp4mux and gppmux too
...
Do not restrict xmp to qtmux, but use it too
on mp4mux and gppmux
2010-03-12 11:50:48 -03:00
Edward Hervey
69a40a1591
jpegparse: Fix unitialized variable on macosx 10.5
2010-03-12 09:52:57 +01:00
Stefan Kost
3b78cc5eca
jpegformat: add xmp reading and writing support
...
Bump needed base version for new xmp helper library. Use xmp helpers in
jpegparse and jifmux.
2010-03-12 10:35:15 +02:00
Sebastian Dröge
7efecfc961
segmentclip: Add audio/video buffer segment clip elements
...
These elements clip the audio/video buffers to the configured segment
for the case when the upstream elements don't do this correctly.
2010-03-12 07:29:58 +00:00
Sebastian Dröge
93c938835c
imagefreeze: Set undefined framerate in sink getcaps function
2010-03-12 07:29:57 +00:00
Sebastian Dröge
0c170d9107
imagefreeze: Implement reverse playback and set buffer offsets
2010-03-12 07:29:57 +00:00
Sebastian Dröge
b0590069ec
imagefreeze: Add still frame stream generator element
2010-03-12 07:29:57 +00:00
Thiago Santos
5e88363430
qtmux: add xmp support
...
Adds xmp metatags adding to qtmux.
Fixes #609539
2010-03-11 16:42:31 -03:00
Tim-Philipp Müller
af5565a62b
qtmux: fix GST_ELEMENT_ERROR usage
...
We need to pass (NULL) rather than NULL for empty arguments.
2010-03-11 17:21:52 +00:00
Edward Hervey
5050967766
jpegformat: Fix unitialized variables
2010-03-11 17:58:25 +01:00
Rob Clark
c3156f0663
fix compile error with trace macro
...
Note that this one isn't a problem with normal trace macros, but causes problems with
some replacement trace macros that I use, which expect the format string to be
appendable (ie "foo "fmt in the macro)
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:03 +01:00
Rob Clark
79faa0b9fa
mpeg4videoparse: fix compile error
...
gst/mpeg4videoparse/mpeg4videoparse.c:689: warning: comparison is always true due to limited range of data type
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:01 +01:00
Rob Clark
71d0e513fa
qtmux: fix compile error
...
gst/qtmux/gstqtmoovrecover.c:268: warning: format not a string literal and no format arguments
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:00 +01:00
Stefan Kost
da3a8fe0fc
invtelecine: inlcude stdlib.h for abs()
2010-03-11 11:14:53 +02:00
Lasse Laukkanen
190d54b096
camerabin: refactor cropping and adapting captured images
2010-03-11 10:36:27 +02:00
Teemu Katajisto
341d91520a
camerabin: fix NULL -> READY state change failure handling.
...
In some error situations the NULL -> READY state change failed
and camerabin elements were not destroyed.
2010-03-11 10:36:26 +02:00
Lasse Laukkanen
58bf3be730
camerabin: don't use gst_bus_poll() when creating preview image
...
Avoid using gst_bus_poll() as the docs recommend. Use
gst_bus_timed_pop_filtered() instead.
2010-03-11 10:36:26 +02:00
Víctor Manuel Jáquez Leal
f968ae6e72
inputselector: fix the LDFLAGS
2010-03-09 21:58:52 +00:00
Sebastian Dröge
31f4ac7b30
frei0r: Sync properties to the controller if one was set
2010-03-09 21:05:50 +00:00
Sebastian Dröge
125efbffcc
frei0r: Protect set/get property and processing functions from concurrent access
...
The frei0r documentation says that these functions must not be called
on the same instance from different threads at the same time. All
other functions are guaranteed to be threadsafe.
2010-03-09 21:05:50 +00:00
David Schleef
e98fc783c8
invtelecine: Add invtelecine element
...
Automatic inverse telecine element. Right now, it clumsily attempts
to rearrange video fields into frames that don't have combing effects,
and only works with 60i/24p content at 720x480. Later, it will handle
other pulldown variations, change caps and smooth timestamps
appropriately.
2010-03-09 12:34:36 -08:00
Benjamin Otte
87dbb0ab9d
wmnc: Update description
2010-03-09 19:16:30 +01:00
Benjamin Otte
2bc4626f73
nuvdemux: Update plugin description
2010-03-09 19:16:30 +01:00
Benjamin Otte
1982ca6e51
nsf: Name the plugin nsf, not nsfdec
...
The plugin in gstnsf.so should be named nsf, not nsfdec.
2010-03-09 19:16:30 +01:00
Thiago Santos
4a629eea25
qtmux: Rename 'avc-sample' to 'avc' in caps
...
Fixes #606662
2010-03-01 17:59:13 -03:00
Thiago Santos
55e2adda37
h264parse: Replace 'avc-sample' with 'avc' in caps
...
Fixes #606662
2010-03-01 17:59:10 -03:00
Michael Smith
bcdb7d4851
qtmux: Take lock around use of (non-threadsafe) tagsetter interface.
2010-02-26 11:50:25 -08:00
Thiago Santos
0922dbc22e
qtmux: write all udta children atoms
...
UDTA might have META and other children atoms
together, write them all.
2010-02-22 16:51:00 -03:00
Thiago Santos
ca136fe76b
qtmux: Use internal sink pads list
...
Due to GstCollectPads sink pads list being not reliably
iteratable (when not inside the collected function) this
patch adds a sink pads list to qtmux to be used when iterating
sink pads on reset function.
Fixes #609055
2010-02-22 10:50:49 -03:00
Tim-Philipp Müller
7c890c0b91
fpsdisplaysink: fix NULL ref and error handling if no video sink is found
...
If no video sink is set and autovideosink is not available for some
reason, post a proper error message on the bus when failing to
change state, and don't try to gst_object_ref() NULL pointers. Fixes
generic/states unit test when distchecking.
2010-02-19 10:35:10 +00:00
Stefan Kost
caf2be2115
jpegparse: return offset+length from _get_image_length().
...
_find_end_marker() find the position of the marker. EOI has a fixed length of 2
bytes that where missing. Fixes #608998
2010-02-17 13:12:00 +02:00
Tim-Philipp Müller
3e45e6ba9f
jpegparse: fix invalid memory access
...
See bug #608998 .
2010-02-17 01:32:12 +00:00
Mark Nauwelaerts
1da893ba68
qtmux: prevent leaking hdlr name
2010-02-16 17:13:09 +01:00
Mark Nauwelaerts
eed915a6fb
qtmux: support for ALAC
...
Fixes #580731 .
2010-02-16 16:26:48 +01:00
Mark Nauwelaerts
fdfdda8f09
qtmux: refactor building stsd entry 'wave' extension
2010-02-16 16:26:45 +01:00
Edward Hervey
31d3ec392f
hdvparse: Fix field error.
...
Spotted by Burkhard Plaum
2010-02-15 09:36:35 +01:00
Sebastian Dröge
f79842e308
Moved 'shapewipe' from -bad to -good
...
Fixes bug #584536 .
2010-02-12 11:35:17 +01:00
Sebastian Dröge
88af663e86
shapewipe: Preserve the input color values in all cases
2010-02-10 10:52:53 +01:00
Sebastian Dröge
dc551ed30f
shapewipe: Scale mask alpha values by the source alpha values
2010-02-10 10:50:49 +01:00
Sebastian Dröge
6ef01b3c59
shapewipe: Fix ARGB processing
2010-02-10 10:42:32 +01:00
Sebastian Dröge
e1c1a6c874
mpegtsdemux: Never flush more bytes than available
...
This could happen if the input doesn't contain any MPEG TS
data and the complete adapter content should be skipped.
2010-02-09 15:24:28 +01:00
Thiago Santos
bcbdd12fb3
qtmux: atomsrecovery: Fix compilation problem
...
Fixes a compilation error due to unused function result.
2010-02-08 11:51:52 -03:00
Sebastian Dröge
ad7eff41a8
shapewipe: Improve/add debug output
2010-02-08 08:26:33 +01:00
Sebastian Dröge
364c53fd61
shapewipe: Always hold the mask mutex before signalling the GCond
2010-02-08 08:20:44 +01:00
Sebastian Dröge
d875dce9bb
shapewipe: Move chain function error cases at the end of the function and add useful debug output
2010-02-08 08:19:48 +01:00
Sebastian Dröge
8d213d51f6
shapewipe: Fix race condition during shutdown that can lead to a deadlock
2010-02-08 08:12:11 +01:00
Sebastian Dröge
2d1f06103a
shapewipe: Drop mask buffer on FLUSH events
2010-02-08 08:11:33 +01:00
Sebastian Dröge
6df5795651
shapewipe: Update copyright year
2010-02-08 08:09:55 +01:00
Sebastian Dröge
87216b83b9
shapewipe: Don't reset properties when going PAUSED->READY
...
Also use defines for the default values of the properties.
2010-02-08 08:08:44 +01:00
Tim-Philipp Müller
a60d54c4e2
jpegparse: lower rank to NONE so it is not autoplugged for decoding
...
This element is too new and too untested to have it autoplugged.
2010-02-07 10:19:06 +01:00
Julien Moutte
d8117471f6
mpegtsmux: Fix a potential unref of a NULL pointer.
...
At first iteration we don't have any cached SPS/PPS buffer to free.
2010-02-04 19:45:42 +01:00
Marc-André Lureau
4d3a965476
mpegtsmux: add PAT/PMT in streamheader
...
The check for PAT/PMT buffers was suggested by
Zaheer Abbas Merali.
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:15 +00:00
Marc-André Lureau
1537023905
mpegtsmux: add pat-interval and pmt-interval properties
...
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:12 +00:00
Marc-André Lureau
130cf80752
mpegtsmux: fix PAT/PMT insertion frequency
...
The current code is comparing timestamps with different clock.
Let's use only the clock for PTS values.
Also rename frequency to interval, to avoid confusion. And remove
documentation about value 0, which won't work like documented.
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:09 +00:00
Marc-André Lureau
6d554a5560
mpegtsmux: marking non-delta unit, including pre-sections
...
This patch address the issue observed with KF timestamps
and delta flag. When a section is appended before the keyframe,
it is not marked as non-delta. It's preferable to mark the
first buffer non-delta.
This patch also simplify the initial patch written by thomas,
since it does not clutter tsmux/ with a delta flag passed
around only for GStreamer convenience.
https://bugzilla.gnome.org/show_bug.cgi?id=604908
2010-02-03 16:37:27 +00:00
Stefan Kost
6c6ea0b79b
jpegformat: add a basic jifmuxer
...
The new element can chop and reassemble the markers. I implements the tagsetter
and for now can serialize some tags to jpeg comments.
2010-02-03 15:13:30 +02:00
Thiago Santos
e1c1405396
qtmux: Adds moov recovery feature
...
Adds a new property to qtmux that sets a path to a file to write
and update data about the moov atom (that is not writen till the
end of the file). If the pipeline/app crashes during execution it
might be possible to recover the movie using the qtmoovrecover element.
qtmoovrecover is an element that is also a pipeline. It is not
meant to be used with other elements (it has no pads). It is merely
a tool/utilitary to recover unfinished qtmux files.
Fixes #601576
2010-02-02 14:03:38 -03:00
Stefan Kost
b9f8f5d281
jpegparse: improve parsing
...
Handle more app maker. Print app marker names to debug log. Remember last_marker
when parsing to avoid reparsing from the very begin.
2010-02-02 17:19:31 +02:00
Julien Moutte
6f1ee59df6
mpegtsmux: generate SPS/PPS header once and fix overflow
...
Some H264 packets can be as small as 5 bytes for repeated frames.
In such a situation the output buffer size was not big enough (5*2) to fit the
SPS/PPS header and the start codes. This corrupts the ES stream.
We now generate the SPS/PPS only once which is much more optimal and we now
know the size of the header to calculate the output buffer size more safely.
2010-02-02 12:23:24 +01:00
Michael Smith
80b3d80a58
qtmux: for fixed-sample size streams (PCM audio, etc) don't allocate an enormous
...
buffer that we then won't use at all.
2010-02-01 16:24:39 -08:00
Michael Smith
4b28a46bc7
qtmux: handle muxing adpcm correctly.
2010-02-01 16:23:48 -08:00
Michael Smith
e1fe7f357f
qtmux: Set the mdia hdlr name field to what quicktime uses. Fix writing it
...
since it's not null-terminated. Improves compatibility with some hardware
players.
2010-02-01 16:23:47 -08:00
Michael Smith
5753f8a3aa
qtmux: endianness in gstreamer is an int, not boolean.
2010-02-01 16:23:47 -08:00
Michael Smith
c2b1bebc02
mpeg4videoparse: parse more forms of codec_data
2010-02-01 16:23:47 -08:00
Stefan Kost
f3122f2b30
jpegparse: provide a getcaps function for src pad and improve setcaps
...
Previously jpegparse was failing in decodebin as the caps we were setting where not
setting all caps fields. We need the own getcaps function to report what we actualy
accept.
2010-02-01 17:46:29 +02:00
Stefan Kost
ab7e974dab
jpegparse: extract comment and post as metadata
2010-02-01 17:16:16 +02:00
Stefan Kost
e1dd998bd0
jpegformat: code cleanups
...
Move the jpeg marker defines to a header (to be used for jifmux). Rewrite some
comments. Use gst_element_class_set_details_simple(). Add more logging.
2010-02-01 17:15:38 +02:00
Stefan Kost
8bd0f42017
jpegformat: move plugin part to speparate file, so that we can add the jifmux
2010-01-29 12:25:08 +02:00
Arnout Vandecappelle
bb5331e272
jpegparse: new jpeg parser element. FIxes #583098
...
Parse JPEG images, extracts its metadata, set caps and
packetize an image per buffer.
2010-01-29 11:41:15 +02:00
Stefan Kost
b0533bfdff
camerabin: don't log NULL caps, also downgrade to DEBUG as it is very verbose
...
This debug log entry was also not ment to be used in the failure case.
2010-01-28 14:57:50 +02:00
Tim-Philipp Müller
2cc409861c
dataurisrc: add start function so we can error out properly if no uri is set
...
Also save a set URI after it has been parsed successfully, so that _get_uri()
actually works.
2010-01-28 00:08:16 +00:00
Tim-Philipp Müller
766c52766e
dataurisrc: don't post error message when setting the URI failed
...
There's a gboolean return for that, and the messages don't really
add anything useful.
2010-01-28 00:08:16 +00:00
Tim-Philipp Müller
61c6c38bd0
dataurisrc: must release the object lock before using GST_ELEMENT_ERROR
2010-01-28 00:08:16 +00:00
Mark Nauwelaerts
a42e890470
qtmux: streamline moov data memory storage
...
In particular, use arrays rather than (double) linked lists.
2010-01-27 12:56:18 +01:00
Mark Nauwelaerts
87eb6333da
audioparsers: rename baseparse GType name to avoid possible conflicts
2010-01-27 12:45:57 +01:00
Mark Nauwelaerts
df4c4cc703
h264parse: use correct h264_parse prefix in function name
2010-01-27 12:41:57 +01:00
Thiago Santos
f815c46f5b
qtmux: g_free is NULL safe
2010-01-26 13:44:04 -03:00
Thiago Santos
2dded0fceb
rtpasfpay: Fix packet length semantics
...
Following the ed4d08189ea6e19a50e029e60da52d3583c39fbb
commit, this one fixes rtpasfpay to use packet length
as the payloaded data length, but also accepting it
as the full packet size for compatibility with
other implementations due to the lack of clarity of the
spec in this part.
2010-01-25 19:32:15 -03:00
Håkon Skjelten
0a90963fcf
asfmux: Compatibility with WMSP in WMP
...
Makes the asfmux content compatible with WMSP and does
some hacks to make it playable in WMP, it doesn't accept
data objects with 0 size indicating that we don't know
its size, though the spec says it should be possible.
Fixes #607555
2010-01-25 19:32:15 -03:00
Stefan Kost
be12317653
camerabin: ref element before removing from the bin to resurrect
...
This function is not supposed to dispose the element in the case of failure
as the caller is using the elements name in the error message. Also add
some more input parameter checks in the form of g_return_val_if_fail
2010-01-25 23:04:38 +02:00
Sebastian Dröge
c51c3ad21c
Revert "inputselector: Protect g_object_notify() with the object's mutex"
...
This reverts commit 7e067615ff
, it's causing
deadlocks with playbin2.
2010-01-25 12:21:34 +01:00
Sebastian Dröge
00e5076b3a
dataurisrc: Remove role attribute from links
2010-01-25 12:12:32 +01:00
Sebastian Dröge
828af08490
dataurisrc: Add docs and integrate into build system
...
Fixes again bug #596885 .
2010-01-25 11:56:33 +01:00
Sebastian Dröge
926decbecb
dataurisrc: Add data: URI source element
...
This is slightly based on the WebKit data: URI source
but supports more parts of RFC 2397.
Fixes bug #596885 .
2010-01-25 11:15:16 +01:00
Sebastian Dröge
b56436e793
dataurisrc: Add directory for data: URI source
2010-01-25 11:15:16 +01:00
Stefan Kost
b96d57b870
mxf: add a return to fix the build when turning assert off
2010-01-25 11:49:46 +02:00
Stefan Kost
76daceadca
Revert "mxf: add a return to fix the build when turning assert off"
...
This reverts commit 68ca62b369
.
2010-01-25 11:48:29 +02:00
Stefan Kost
68ca62b369
mxf: add a return to fix the build when turning assert off
2010-01-25 09:54:27 +02:00
Kipp Cannon
7e067615ff
inputselector: Protect g_object_notify() with the object's mutex
...
This works around the thread unsafety of g_object_notify()
Fixes bug #607513 .
2010-01-24 20:53:56 +01:00
Tim-Philipp Müller
e9732ef902
pnm: use same media type as other elements
...
gdkpixbuf and our new typefinder in -base use image/x-portable-*.
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
b2ce6fe6d5
pnm: make element details a bit more descriptive
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
4de86d4d12
pnm: add copyright notice
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
232a1dc6d0
pnm: move typefinding into -base
2010-01-22 02:25:44 +00:00
Sebastian Dröge
454b1931bc
mxf: Correctly initialize memory
2010-01-21 15:58:59 +01:00
Benjamin Otte
89d9aaee48
[cleanup] Various style and cleanups
...
Various fixes for gtk-doc warnings and making functions without
arguments take void as parameter.
2010-01-20 13:30:48 +01:00
Sebastian Dröge
b263ae123c
cdxaparse: Fix buffer leak
...
Fixes bug #607285 .
2010-01-18 10:58:39 +01:00
Sebastian Dröge
b95eda9c9a
frei0r: Make sure that property names always start with a letter
...
Otherwise GLib throws assertions
2010-01-16 17:02:52 +01:00
Sebastian Dröge
e476ff9883
shapewipe: Replace floating point arithmetic in the inner processing loops by integer arithmetic
2010-01-16 16:52:11 +01:00
Julien Moutte
f33344ab0c
mpeg4videoparse: don't set an invalid framerate.
...
When fixed_vop_rate is not set we can not set a framerate based on
vop_time_increment_resolution as it would most likely be wrong.
Don't set any framerate on the caps in that case.
2010-01-15 21:34:02 +01:00
Thiago Santos
774b7b33cc
qtmux: Actually use new caps info on renegotiation
...
Following the previous qtmux commit, this patch tries
to use the new info added to the caps to fill the 'trak'
atom's fields and children atoms. This way qtmux will
use the late added 'codec_data' when h264parse adds
it in the following pipeline:
videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
2010-01-14 19:09:44 -03:00
Thiago Santos
0b4c0890a5
qtmux: Do caps renegotiation when it only adds fields
...
Qtmux can accept caps renegotiation if the new caps is a
superset of the old one, meaning upstream added new info to
the caps. This patch still doesn't make qtmux update any
atoms info from the new info, but at least it doesn't
reject the new caps anymore.
A pipeline that reproduces this use case is:
videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
2010-01-14 19:09:44 -03:00
Mark Nauwelaerts
dbc1f9f2d6
qtmux: provide request pads under wider conditions
...
Fixes #606859 .
2010-01-13 19:30:45 +01:00
Thiago Santos
5a605b883b
qtmux: Only accept avc-sample h264
...
qtmux and mp4mux should only accept h264 in avc-sample
format
2010-01-13 10:35:57 -03:00
Thiago Santos
eba1357244
h264parse: Add stream-format to caps
...
Adds the new stream-format field to h264parse caps
Fixes #606662
2010-01-13 10:35:57 -03:00
Thiago Santos
ba06eddb40
h264parse: Correctly rewrite all nal prefixes
...
When converting to byte-stream do not forget to rewrite
all nal prefixes instead of only the first one.
2010-01-12 18:18:39 -03:00
Thiago Santos
6e1f2cf392
mpegtsmux: Fix mistake on previous commit
...
Use the correct variables and variable format in the warning
message
2010-01-12 15:21:29 -03:00
Edward Hervey
58b9479423
flacparse: Initialize variables.
...
Fixes build on $#@*( macosx
2010-01-12 18:55:53 +01:00
Thiago Santos
e6ab078785
h264parse: remove codec_data if output is bytestream
...
codec_data should be removed from the src pad caps if the
output is in bytestream format
Fixes #606657
2010-01-12 09:58:48 -03:00
Thiago Santos
ddeb6e17fd
mpegtsmux: Do not crash on misinterpreted h264
...
Avoid crashing when bytestream h264 is interpreted as avc format
h264
Fixes #606657
2010-01-12 09:37:34 -03:00
b3f0b029f3
win32: Include config.h before anything else. Fix mpegdemux LIBADD
...
Because config.h defines __MSVCRT_VERSION__, which should be defined
before inclusion of any system header.
Also fixes mpegdemux Makefile.am LIBADD typo.
Fixes #606665
2010-01-12 12:31:56 +01:00
Руслан Ижбулатов
d61abce8e4
librfb: port rfbsrc to MinGW
...
Fixes #606677
2010-01-12 00:29:57 +00:00
Thiago Santos
08d13fd191
aacparse: Also add stream-format to template caps
...
Do not forget to add stream-format to template caps
off aacparse
2010-01-11 13:42:49 -03: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
7cfe3643db
aacparse: Add stream-format to output caps
...
Adds stream-format field to output caps
2010-01-11 11:01:10 -03:00
Thiago Santos
5b8b363310
qtmux: Only accept stream-format='none' aac
...
Only accept raw aac streams (stream-format=none) to avoid
generating invalid files.
Fixes #604925
2010-01-11 11:01:10 -03:00
Tim-Philipp Müller
ee65cabbb3
vmnc: use existing macros to avoid alignment issues
2010-01-11 01:01:46 +00:00
Tim-Philipp Müller
904a4e0f48
rfbsrc: use existing macros to avoid alignment issues
2010-01-11 00:58:12 +00:00
Tim-Philipp Müller
64c6ee0b4e
asfmux: fix alignment and endianness issue
2010-01-11 00:24:59 +00:00
Linqiang Pu
d68c2d4ab9
mpegdemux: fix allignment issue
...
Use GST_READ_UINT32_BE instead of GUINT32_FROM_BE to
fix int allignment issues on ARM
Fixes #606371
2010-01-10 10:09:55 -03:00
Marc-André Lureau
67e5d76d08
mpegtsmux: only video can have non-delta-unit
2010-01-08 16:06:38 +00:00
Thomas Vander Stichele
5fab65aafb
mpegtsmux: mark delta-unit on outgoing buffers
...
Signed-off-by: Marc-André Lureau <mlureau@flumotion.com>
2010-01-08 13:07:53 +01:00
Mark Nauwelaerts
4067cd13c2
h264parse: optimize src caps updating
2010-01-07 19:00:14 +01:00
Mark Nauwelaerts
51aaa30fab
h264parse: fix framerate calculation
...
... and also remove a superfluous duplicate debug statement.
2010-01-07 19:00:00 +01:00
Mark Nauwelaerts
997ec65cdf
h264parse: fix regression in output buffer timestamping
...
Specifically, properly mark a buffer (NALU or AU) to start a frame or not.
2010-01-07 18:59:58 +01:00
Michael Smith
e2da34e6b6
mpeg4videoparse: avoid crash if vos < 5 bytes.
2010-01-06 11:20:41 -08:00
Tim-Philipp Müller
ec0c87486f
fpsdisplaysink: fix typo in property description
2010-01-06 01:57:13 +00:00
Tim-Philipp Müller
b32305d015
mpegtsdemux: fix language extraction
...
The descriptor contains ISO 639-2 language codes, but we want
two-letter ISO 639-1 codes in GST_TAG_LANGUAGE.
2010-01-06 01:57:01 +00:00
Mark Nauwelaerts
e63fc68628
audioparsers: documentation fixes
2010-01-05 17:50:40 +01:00
Mark Nauwelaerts
51a28ed325
ac3parse: add documentation
2010-01-05 17:50:36 +01:00
Mark Nauwelaerts
d517e1c034
flacparse: add documentation
2010-01-05 17:46:31 +01:00
Mark Nauwelaerts
59855f35a7
flacparse: perform additional frame checks when resyncing
2010-01-05 17:46:15 +01:00
Mark Nauwelaerts
9009899176
flacparse: fix (multiple channel) frame parsing
2010-01-05 17:46:01 +01:00
Mark Nauwelaerts
79acb0b4cc
flacparse: declare unparsed input and parsed output
2010-01-05 17:45:56 +01:00
Mark Nauwelaerts
660cdc4679
ac3parse: fix scanning for next syncword
2010-01-05 17:45:54 +01:00
Mark Nauwelaerts
3f5b4ee67f
baseparse: adjust seek handling and newsegment sending
...
Perform sanity check on type of seek, and only perform one that is
appropriately supported. Adjust downstream newsegment event
to first buffer timestamp that is sent downstream.
2010-01-05 17:45:48 +01:00
Mark Nauwelaerts
a885f80fd3
baseparse: minor refactor cleanup
...
Also add some debug logging.
2010-01-05 17:45:45 +01:00
Mark Nauwelaerts
ebe8c69cc2
flacparse: locate next sync code more efficiently
2010-01-05 17:45:42 +01:00
Mark Nauwelaerts
e6f840690d
flacparse: baseparse takes care of handling leftover pieces
2010-01-05 17:45:32 +01:00
Mark Nauwelaerts
90c86c600b
baseparse: implement leftover draining in pull mode
2010-01-05 17:45:29 +01:00
Mark Nauwelaerts
c4db8697d7
flacparse: set _OFFSET and _OFFSET_END on outgoing buffers
2010-01-05 17:40:07 +01:00
Mark Nauwelaerts
8c67702b84
audioparsers: move 'flacparse' into it
2010-01-05 17:40:02 +01:00
Mark Nauwelaerts
a3f7b8527e
baseparse: provide default conversion using bps if no fps available
...
Also store estimated duration as such, rather than pretending otherwise
(e.g. set by subclass).
2010-01-05 17:39:59 +01:00
Arnaud Patard
24965dc415
mpegtsdemux: Handle eac3 in PMT
...
When the stream type is set to private data, gst-mpegtsdemux is trying to find
audio descriptors in PMT and look for AC3 (tag 0x6a) but doesn't look for EAC3
(tag 0x7a). Handle this case too.
Fixes bug #605904 .
2010-01-04 10:15:29 +01:00
Alessandro Decina
52f5f42da0
h264parse: fix caps handling in _update_src_caps.
2009-12-30 21:50:32 +01:00
Stefan Kost
80aa8e70ec
qtmux: also add .h file changes to unbreak the build
2009-12-28 11:34:35 +02:00
Stefan Kost
48111e3f18
qtmux: use correct names from template for request pads
...
The pads where names pad0, pad1, ...
2009-12-27 23:51:50 +02:00
Stefan Kost
be0d7470cf
qtmux: move errors _new_pad to the end
2009-12-27 23:32:58 +02:00
Thiago Santos
f822f65f34
qtmux: Accept non-paired uint tags
...
Adds support for unpaired unsigned interger tags
2009-12-21 13:58:30 -03:00
Thiago Santos
80a192b825
qtmux: Adds new tags
...
Maps more tags that are already posted by qtdemux
Fixes #599759
2009-12-21 12:05:37 -03:00
Mark Nauwelaerts
a61183fe29
baseparse: check for remaining data when draining in push mode
2009-12-18 13:32:07 +01:00
Mark Nauwelaerts
d51d8ca35c
baseparse: fix pull mode cache size comparison
2009-12-18 13:32:00 +01:00
Edward Hervey
83c7b38a10
ac3parse: Fix unitialized variable.
2009-12-18 13:01:17 +01:00
Thiago Santos
87bfdef683
fpsdisplaysink: Internal sink improvements
...
Does some general improvements with the internal sink handling.
1) Do not remove and re-add the ghostpad when changing
internal sink
2) Only instantiate the default sink when changing from NULL
to READY if there is no other available
3) Avoid changing the internal sink if not on NULL state
Fixes #598682
2009-12-17 20:39:24 -03:00
Thiago Santos
a4f30d5f3d
fpsdisplaysink: Minor fixes
...
Downgrade a warning message to debug. Remove an
already fixed FIXME and add a note about (not-)using
fpsdisplaysink in autovideosink. Change the created
ghostpad to use the name "sink" as it is advertised in
the pad template.
2009-12-17 20:26:30 -03:00
Christian Schaller
86c2660d8d
Update spec file and fix ac3parser header listing in Makefile.am
2009-12-17 14:46:01 +00:00
Thiago Santos
d2dce72c60
fpsdisplaysink: fix setting sync on child bin
...
Use GST_IS_BIN instead of G_OBJECT_TYPE to check if the
internal sink is a bin. Using the later won't work when
the sink is not a bin directly (but inherits from one, like
autovideosink).
Fixes #604280
2009-12-16 18:36:15 -03:00
Philippe Normand
9c03149e7b
fpsdisplaysink: check the sync property exists on embedded sink(s)
...
Follow-up on 4111d6321f
, the video
sink(s) used by fpsdisplaysink might not have the sync property. So we
check its existence to avoid warning from g_object_set() at runtime.
Fixes #604280
2009-12-16 18:35:58 -03:00
Thiago Santos
1b2e0eae67
qtmux: support more of j2k
...
Reads the new caps added to qtdemux by commit
c917d65e6d
and adds its corresponding atoms.
Also adds support for image/x-jpc as it is the same
as image/x-jp2, except that the buffers need to be
boxed inside a jp2c isom box before muxing. To solve
this the QTPads now have a function that (if
not NULL) is called when a buffer is collected. This
function returns a replacement to the current collected
buffer.
Fixes #598916
2009-12-14 20:20:11 -03:00
Thiago Santos
c996ac4c53
qtmux: Maps 'classification' tag for 3gpp files
...
Adds the mapping of 'classification' tags to writing of
'clsf' atoms for gppmux.
Based on a patch by: Lasse Laukkanen <ext-lasse.2.laukkanen@nokia.com>
2009-12-14 08:41:48 -03:00
Philippe Normand
4111d6321f
fpsdisplaysink: expose video sink using a property
...
Exposes the internally used sink as video-sink property and
makes the default one to be autovideosink instead of
the hardcoded xvimagesink
Fixes #604280
2009-12-12 16:50:33 -03:00
Peter van Hardenberg
4aded03c5e
adpcmenc: add new adpcm encoder element.
2009-12-11 16:32:48 -08:00
Michael Smith
2dec1de420
audioparse: fix a format string as reported on irc.
2009-12-11 10:25:16 -08:00
Michael Smith
4232bbb4e1
adpcmdec: make power of 2 more accurate.
2009-12-10 10:12:24 -08:00
Mark Nauwelaerts
ed058d7542
h264parse: fix caps parameters setting
...
Also consider PPS when selecting SPS to pick parameters from.
Only update caps when settings actually changed, and when these are valid.
2009-12-10 12:58:03 +01:00
Sebastian Dröge
05e8934311
shapewipe: Don't do pointer dereferences in the processing loop
...
Lowers the time taken there in my testcase from 6.91% to 6.20%
as measured by callgrind.
2009-12-10 10:41:23 +01:00
unknown
397da35350
rtpmux: update the current_ssrc from the caps
...
Fixes #604101
2009-12-09 15:00:53 +01:00
Håvard Graff
97ef05cbac
rtpmux: release pads when disposing
...
Because of an allocated priv (GstRTPMuxPadPrivate), the element will
leak memory if not gst_rtp_mux_release_pad() is called. This would
previously only happen if release_request_pad() was called explicitly,
somthing that should not be neccesary.
Fixes #604099
2009-12-09 14:47:00 +01:00
Wim Taymans
b678101611
dtmfmux: method name cleanups
2009-12-09 14:47:00 +01:00
Michael Smith
830187fc0d
qtmux: remove c++ comments and add some more comments.
2009-12-08 17:59:04 -08:00
Michael Smith
dd8d704bb9
qtmux: add ima adpcm support
2009-12-08 17:56:24 -08:00
Mark Nauwelaerts
c5847abf30
ac3parse: ensure sufficient data available for parsing
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
f3dbcb668a
ac3parse: extract and use some more details for Enhanced Ac-3 streams
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
8f8f97dd2d
baseparse: custom bufferflag indicates not to count frame in stats
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
9eae24835e
ac3parse: perform additional frame checks when resyncing
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
bb8085a348
ac3parse: inform base parser of frame duration
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
8e91b3b3c5
ac3parse: improve src caps settings
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
eccffea369
ac3parse: initial version
...
MARGINAL rank for now; might take some time for some (useful)
framed=true/false to appear here and there.
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
15f1b7e97f
amrparse: use (default) time handling of baseparser class
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
502011501b
audioparsers: move 'amrparse' into it
2009-12-08 16:06:27 +01:00
Mark Nauwelaerts
186344c397
audioparsers: reference GstBaseParse now lives here
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
3441a41f83
audioparsers: rename 'aacparse' plugin to generic 'audioparsers' plugin
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
e3e4ba4f9e
aacparse: separate plugin registration and rename plugin
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
d80b3e2f3b
aacparse: ensure sufficient data available before accessing
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
64d6d5554e
aacparse: use (default) time handling of baseparser class
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
d4c89e2492
aacparse: fixup comments to C-style
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
48f7d4e0c9
baseparse: reset passthrough mode to default (disabled) on activation
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
ea0dd8151b
baseparse: ensure buffer metadata is writable
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
4b040d9a37
baseparse: fix/enhance DISCONT marking
...
In particular, consider DISCONT == !sync, and allow subclass to query
sync state, as it may want to perform additional checks depending
on whether sync was achieved earlier on.
Also arrange for subclass to query whether leftover data is being drained.
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
59614d02e7
baseparse: add timestamp handling, and default conversion
...
In particular, (optionally) provide baseparse with a notion of frames per second
(and therefore also frame duration) and have it track frame and byte counts.
This way, subclass can provide baseparse with fps and have it provide default
buffer time metadata and conversions, though subclass can still install
callbacks to handle such itself.
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
252cc9b36f
baseparse: documentation fixes
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
9cc33340d7
baseparse: use_fixed_caps for src pad
...
After all, stream is as-is, and there is little molding to downstream's
taste that can be done. If subclass can and wants to do so, it can
still override as such.
2009-12-08 16:05:25 +01:00
Teemu Katajisto
62ddc73623
camerabin: photography interface properties. Fixes #573370 (partially)
...
Added GObject properties to photography interface and implemented
them in camerabin. Changed zooming to check if video-source has
zoom property.
2009-11-27 15:10:57 +02:00
Teemu Katajisto
7dac3659c6
camerabin: add flags property. Fixes #573370 (partially)
...
Adds flags property to enable runtime configuration of
conversion and scaling elements. Also adds flag for disabling
audio completely.
2009-11-27 11:42:36 +02:00
Teemu Katajisto
7d65643656
camerabin: remove timeoverlay build-time definition
2009-11-27 11:41:59 +02:00
Thiago Santos
b343536de0
qtmux: replace _scale with _scale_round
...
Use the rounding version for improved sync between streams.
Small variations in the duration when muxing might lead to
cumullative wrong timestamping when demuxing.
Fixes #602936
2009-11-25 21:41:27 -03:00
Thiago Santos
379931cc6e
qtmux: use timestamps for muxing
...
Try to use timestamps even when the stream has out of order
timestamps, only fall back to durations when we detect an
out of order buffer. Improves sync between streams.
2009-11-25 21:37:17 -03:00
Xavier Queralt Mateu
b6b1658e97
Expose lang codes in pmt
2009-11-24 10:14:49 +00:00
Mark Nauwelaerts
b4d9b81b8a
h264parse: optional transforming from bytestream to sample format (or vice versa)
2009-11-23 14:44:46 +01:00
Mark Nauwelaerts
7f291456e7
h264parse: refactor a bit into a reset function
2009-11-23 14:44:46 +01:00
Mark Nauwelaerts
f3a153eecb
h264parse: provide w/h from stream in src caps if not in sink caps
2009-11-23 14:44:46 +01:00