Wim Taymans
14b65031bc
avi: port to 0.11 API
2011-04-04 19:17:43 +02:00
Mark Nauwelaerts
940417edc3
avidemux: ensure sane parameters when parsing superindex
2011-02-22 14:03:25 +01:00
Mark Nauwelaerts
d680842a7f
avidemux: check for NULL audio stream format header when parsing stream
2011-02-22 14:03:23 +01:00
Stefan Kost
367adf2b69
avidemux: stream->current_total is accumulated byte size and not time
...
Use timestamp for the stream index as well.
2011-02-18 10:14:32 +02:00
Stefan Kost
d8f29266e9
avidemux: also add the frame-type for the stream index
2011-02-17 17:57:42 +02:00
Stefan Kost
80d820ff29
avidemux: get the index writer id when the pad has a parent
...
Otherwise the index writer has a weired name, as the pad has no parent yet.
2011-02-17 17:56:29 +02:00
Stefan Kost
99e4bdd8f2
avidemux, flvdemux: formatting cleanup
...
Trim trailing whitespaces and fix the formatting of double negation.
2011-02-17 14:13:36 +02:00
Stefan Kost
ade128a002
avidemux, flvdemux: mark delta-units in the index
...
We need to use the 'delta' flag for delta units and not the 'none' flag.
2011-02-17 14:13:36 +02:00
Mark Nauwelaerts
8d90dba55e
avidemux: initialize local variable to please mingw32 compiler
2011-01-27 16:02:46 +01:00
Edward Hervey
c6b9f5b25a
avidemux: Don't consider 0 fcc_handler as uncompressed.
...
Just avoids a warning
2011-01-24 18:30:57 +01:00
Mark Nauwelaerts
e09e80eb2f
avidemux: add workaround for buggy list size
...
Fixes truncated extra-data in hdrl/strl/strf due to buggy containing
list size not accounting for padding in contained chunks.
2010-12-03 15:50:30 +01:00
Edward Hervey
13ef2ccc97
avidemux: Parse more variants of numerical IDIT tag
2010-12-03 15:38:00 +01:00
Edward Hervey
86933b40e9
avidemux: Also extract IDIT tags present too early
...
https://bugzilla.gnome.org/show_bug.cgi?id=636143
2010-12-03 12:13:34 +01:00
Edward Hervey
0cff917a51
avidemux: Also emit DateTime tag
...
https://bugzilla.gnome.org/show_bug.cgi?id=636143
2010-12-03 12:13:34 +01:00
Mark Nauwelaerts
8d69663026
avidemux: reverse playback; prevent overlap of subsequent fragments
2010-09-29 11:00:08 +02:00
Sebastian Dröge
1ce0b2dfc7
avidemux: Don't use GST_FLOW_IS_FATAL()
...
And document why wrong-state doesn't need an error message.
2010-09-04 14:52:09 +02:00
Sebastian Dröge
44a5cb4313
avidemux: Send close newsegment event from the streaming thread
2010-09-04 14:52:06 +02:00
Mark Nauwelaerts
99dd8fb921
avidemux: push mode; use proper movi offset for movi based index
...
Fixes #623357 .
2010-07-29 17:19:22 +02:00
Mark Nauwelaerts
f62c6ce5c8
avidemux: push mode; handle 0-size data chunks
...
Fixes #618535 .
2010-07-22 11:46:51 +02:00
Mark Nauwelaerts
7955c01f19
avidemux: additional verification heuristics for VBR audio stream
...
Check for and override some header field(s) for reasonable values, according
to later expected use in calculations.
2010-07-16 13:58:12 +02:00
Michael Grzeschik
b26785d9f9
reset the have_index flag at transition PAUSED_TO_READY
...
If we restart the Stream in the case of doing a transition from
PAUSED_TO_READY and back with READY_TO_PAUSED aso. the duration of the video
will get calculated even if we have a avi header with that information.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
2010-06-23 21:40:50 +02:00
Mark Nauwelaerts
a69e419c8e
avidemux: improve audio vbr detection
...
Subsequent entry time calculations use blockalign value to determine
number of frames per chunk, and blockalign == 1 is then most unlikely to result
in reasonable values (which also aligns with "spec").
2010-06-16 15:53:47 +02:00
Sebastian Dröge
e49d8a286b
avidemux: Assign variables before printing them
2010-06-15 20:04:35 +02:00
Stefan Kost
e7a5ff40bd
docs: trim sections file more
...
Rename some defines and move some itesm to *.c files. Add more items to internal
subsection.
2010-04-08 12:14:07 +03:00
Mark Nauwelaerts
d654eeb6de
avidemux: fix typo in header validation check
2010-03-25 11:40:20 +01:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Mark Nauwelaerts
abd9c0c657
avidemux: fix typo in header validation check
2010-03-18 11:37:12 +01:00
Edward Hervey
c4d55cf782
avidemux: Fix unitialized variable.
2010-03-11 17:04:41 +01:00
Mark Nauwelaerts
c007d8535c
avidemux: ignore stream with invalid header time metadata
2010-03-11 15:04:19 +01:00
Mark Nauwelaerts
1a60c7b040
avidemux: push mode; also report seekable without an element index
...
... since recent code also seeks around to obtain required data
from avi index.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
3a1a140e2d
avidemux: add some check and standardized seek event handling in push mode
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
d90aed1857
avidemux: fix offset handling in push mode seeking
...
Push mode seeking uses same index data as pull mode, and stores
offset to data in chunk, whereas push mode operates in chunks,
and as such needs offset consistently corresponding to chunk headers.
Also fix determining best matching stream for incoming newsegment event,
as well as setting some stream state accordingly.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
172c0c6a6a
avidemux: reset some more stream state after seek
...
In particular, fixes non-flushing seek.
2010-02-16 15:03:59 +01:00
Robert Swain
dd23397b4f
avidemux: Drop video frames up to the desired keyframe after a seek
...
The audio packets in AVI are generally muxed ~0.5s before the
corresponding video packet. This changes causes downstream to only
receive packets with roughly corresponding timestamps.
2010-02-12 15:56:18 +01:00
Wim Taymans
1175d0698c
avidemux: more DISCONT handling
...
Add some debug in the DISCONT handling code.
When we receive a DISCONT in push mode, mark all streams as DISCONT.
2010-02-12 15:56:18 +01:00
Robert Swain
0011c9b0da
avidemux: Fix _handle_seek_push () and new segement behaviour
2010-02-12 15:56:18 +01:00
Wim Taymans
2ce79998a1
avidemux: cleanups
...
Make sure we reset the demuxer correctly wrt parsing the index.
Don't leak pending seek events.
Rename some methods to reflect what they do and to avoid confusion with similar
method names.
Try to make the seeking threadsafe by protecting the setup code with a lock.
Make sure we post errors when a seek fails.
2010-02-12 15:56:18 +01:00
Wim Taymans
e6cc145352
avidemux: rename some variables
...
seek_event -> seg_event
event_seek -> seek_event
2010-02-12 15:56:18 +01:00
Wim Taymans
784d888cb2
avidemux: take fallback duration from avih
...
When we have not parsed any indexes yet, we don't know the length of the streams
and we must take the length given in the avih as a fallback.
Avoid some typechecking.
2010-02-12 15:56:18 +01:00
Robert Swain
3e1ed0c727
avidemux: Push mode seeking support
2010-02-12 15:56:18 +01:00
Stefan Kost
ef343d8ad9
avi,wav: also handle JUNQ chunk in addition to JUNK
2010-02-12 15:35:30 +02:00
Wim Taymans
01f0a5ce32
avidemux: ignore streams that finished
...
When we receive an UNEXPECTED from a stream, move to the next stream and only go
EOS when all streams are EOS. When selecting a stream to push, ignore streams
that went EOS.
Fixes #607949
2010-01-26 11:22:56 +01:00
Wim Taymans
7d39f8e5bb
avidemux: don't parse NULL indexes
...
for some streams we might fail to fetch the index offsets. Don't try to parse
NULL indexes in those cases.
2010-01-21 17:59:25 +01:00
Wim Taymans
afc3c674c0
avidemux: skip RIFF and index in push mode
...
When we are in push mode, we can encounter RIFF and idx tags in the data chunk
when we are dealing with ODML files. In these cases, simply skip the chunks and
continue streaming instead of going EOS.
2010-01-20 11:47:04 +01:00
Wim Taymans
570319822a
avidemux: more DISCONT handling
...
Add some debug in the DISCONT handling code.
When we receive a DISCONT in push mode, mark all streams as DISCONT.
2010-01-20 11:47:04 +01:00
Wim Taymans
40e3b0189a
avidemux: reset on flush events
...
When we receive a flush event on the sinkpad, reset the EOS state and the
flowreturn of all streams. Also mark the streams with a DISCONT.
2010-01-20 11:47:03 +01:00
Wim Taymans
183d450113
avidemux: rename some variable
...
Rename the seek_event variable to seg_event because it really contains the
newsegment event that needs to be pushed.
2010-01-20 11:47:03 +01:00
Wim Taymans
fb716a6250
avidemux: avoid some typecasting
2010-01-15 18:15:14 +01:00
Wim Taymans
592b440911
avidemux: avoid some type checks
2010-01-15 18:13:24 +01:00
Wim Taymans
d4301d900f
avidemux: fallback to avih duration
...
when we have not yet parsed the indexes (in push mode, for example) use
the duration as given in the avih header instead of -1.
2010-01-15 18:09:15 +01:00
Stefan Kost
7e3783cbac
avi: add missing include for sscanf
2010-01-13 16:44:58 +02:00
Thiago Santos
8e84d457b2
avidemux: Use more glib and be safer
...
Be safer on sscanf by limiting string format sizes.
Remove useless parameter and use g_strndup.
2010-01-08 11:33:02 -03:00
Thiago Santos
c0e184641a
avidemux: Simplifying code
...
Greatly simplify the IDIT chunk handling by using sscanf
instead of 'manually' parsing. Also replaces strncasecmp and
is_alpha/is_digit with glib versions.
2010-01-08 10:51:17 -03:00
Thiago Santos
7024ce14cf
avidemux: it's feb for february
...
Fix typo in last commit.
2010-01-08 10:18:30 -03:00
Thiago Santos
a5197a94ee
avidemux: Parse and post IDIT dates
...
Parses and post date tags contained in IDIT chunks.
Fixes #503582
2010-01-08 09:17:22 -03:00
Tim-Philipp Müller
1b786258c2
avidemux: minor debug message changes
...
Fix up a few debug messages so that it's clearer what they mean.
2009-12-13 12:51:13 +00:00
Wim Taymans
ee6d7fd2db
avidemux: init current_entry in push mode
...
Set the current_entry to 0 (instead of -1) in push mode so that we correctly
calculate the current frame number and timestamp.
Add some more debug info and fic the duration debug.
2009-12-04 13:52:49 +01:00
Wim Taymans
0c12f585e3
avidemux: use segment_full when we can
...
Use segment_full so that we can pass the applied rate to the segment values. We
will change the applied rate when we implement skip mode.
2009-10-27 18:07:18 +01:00
Tim-Philipp Müller
457ac565ba
avidemux: fix compilation with debugging disabled
...
total_idx is always evaluated.
2009-10-22 02:09:08 +01:00
Edward Hervey
683f2a02fb
avidemux: Stop scanning at the last entry... and not the one before :)
...
This ensures we actually push out everything
2009-10-20 18:23:28 +02:00
Edward Hervey
024f1bae0c
avidemux: MEMDUMP the junk blobs
...
It will only actually pull the junk blobs from upstream if the memdump
level is activated
2009-10-18 16:16:43 +02:00
Edward Hervey
1f5ace4de1
avidemux: Some avi files have INFO lists in the headers.
2009-10-18 16:16:43 +02:00
Edward Hervey
6e849f84fc
avidemux: Don't seek on empty streams
2009-10-18 16:16:43 +02:00
Edward Hervey
a6ed612f42
avidemux: Ensure _calculate_durations_from_index only uses valid streams
2009-10-18 16:15:08 +02:00
Edward Hervey
1936d6ed26
avidemux: Only call convert function if we have strf.auds
2009-10-18 16:15:08 +02:00
Edward Hervey
af99a4a1de
avidemux: Use first indexed stream for seeking.
...
In the future, main_stream can be adjusted to contain the optimal stream
as mentionned in the FIXME line 3440
2009-10-18 16:15:05 +02:00
Edward Hervey
2110cbe556
avidemux: Only expose streams that actually have something in it.
...
This guarantees that in pull-mode, all streams have a valid index to
work with.
2009-10-18 16:14:40 +02:00
Edward Hervey
546aa4c4dd
avidemux: Properly mark presence of index.
...
Instead of blindly saying we have an index, only do so if we have a
non-empty index.
2009-10-18 15:40:37 +02:00
Mark Nauwelaerts
7ceeb14834
avidemux: adjust flow return aggregation to updated loop_data
...
In particular, each stream is now treated separately, and one stream's
EOS should not lead to overall EOS.
2009-10-15 21:32:08 +02:00
Mark Nauwelaerts
f071ff6993
avidemux: add missing argument in debug message
2009-10-15 11:26:09 +02:00
Mark Nauwelaerts
0141934eec
avidemux: use GstIndex for (limited) seeking in push mode
...
... but disable this for now. Although it basically works fine,
user experience might be shaky (depending on taste), since there
is no keyframe info in push mode.
2009-10-14 13:15:09 +02:00
Mark Nauwelaerts
35dc28d69a
avidemux: add GstIndex support
2009-10-14 13:15:06 +02:00
Mark Nauwelaerts
92dd51e511
avidemux: also determine duration in push mode
2009-10-14 13:15:04 +02:00
Wim Taymans
daa6d8f206
avidemux: demote some warnings to debug
2009-10-13 18:19:32 +02:00
Wim Taymans
aea78a75ac
avidemux: add debug for the superindex offsets
2009-10-13 17:48:50 +02:00
Josep Torra
28ccc40bab
avidemux: fix warning in macosx making the format portable
2009-10-09 11:43:44 +02:00
Jan Schmidt
cdb0b68e21
avi/wav: Fix some compiler warnings about incompatible pointers.
2009-10-08 10:20:09 +01:00
Robert Swain
c45c304a7e
Fix printf formats to avoid warnings in avidemux. Fixes #597214
...
https://bugzilla.gnome.org/show_bug.cgi?id=597214
2009-10-03 17:25:19 +02:00
Stefan Kost
458cd4dcdc
avi: don't misues perf-category and remove unused ext category
...
The performance category is meant to be used to audit codepaths that lead to bad
performance (e.g. copies, conversion that can be avoided).
Remove the event category which is not used.
2009-10-01 10:57:42 +03:00
Wim Taymans
3f263edbbf
avi: small cleanups
2009-09-28 22:18:25 +02:00
Wim Taymans
217315c20b
avi: fix timestamping in some audio streams
...
For vbr audio streams we need to use the number of blocks to calculate the
timestamps.
When the allocation of additional index memory fails, don't throw away what
we had before.
Various cleanups.
2009-09-28 22:17:02 +02:00
Wim Taymans
7b9b8343ba
avi: add support for ODML indexes again
2009-09-28 22:17:00 +02:00
Wim Taymans
ceb7d66e25
avi: implement index scanning
...
Implement scanning of the file when we can parse the index.
Some refactoring of common code.
Cleanups and comments.
Remove some reimplemented code.
Remove index massage code and put a FIXME where we should do something
equivalent later.
2009-09-28 22:16:57 +02:00
Wim Taymans
8aa3830852
avi: fix reverse playback
2009-09-28 22:16:55 +02:00
Wim Taymans
3338f91cfe
avi: fix prev keyframe search and cleanups
2009-09-28 22:16:53 +02:00
Wim Taymans
1b325945e5
avi: remove code that got converted
2009-09-28 22:16:50 +02:00
Wim Taymans
c199b1d039
avi: more cleanups
...
Remove some duplicate counters.
Be smarter when updateing the current the timestamp and offset in the stream
because we can reuse previously calculated values when simply go forward one
step.
Correctly set metadata on outgoing buffers.
2009-09-28 22:16:48 +02:00
Wim Taymans
0d70fe30a8
avidemux: small cleanups
2009-09-28 22:16:46 +02:00
Wim Taymans
b4a490655a
avi: fix read offset and cleanups
2009-09-28 22:16:43 +02:00
Wim Taymans
9c37611dfa
avi: rewrite index playback
...
disable code, start on reimplementing loop based operation.
Rewrite the index handling so that all streams use their own index for decoding
media.
2009-09-28 22:16:41 +02:00
Wim Taymans
89bcbbbe7c
avidemux: add new index parsing code
...
Add a new function and datastructure to parse and hold the index entries on a
per stream base. Also avoid doing too much work trying to figure out the
timestamps and durations as we can trivially do that later.
Less information in the entries makes them 2 times smaller and not doing too
much work makes this code about 12 times faster than the regular case.
Hook in the new function alongside the existing function for comparison until
the rest of the code is updated to handle the new index datastructure.
2009-09-28 22:16:38 +02:00
Alessandro Decina
195883b30a
Fix compile warnings with gcc 4.0.1.
2009-09-22 15:04:36 +02:00
Wim Taymans
10eb1a0ff4
avi: fix timestamps in push mode
2009-09-21 18:10:12 +02:00
Wim Taymans
2f26ee4285
avi: add some performance measurements
...
Measure the performance of various index and header parsing steps to the
PERFORMANCE debug category.
2009-09-21 12:32:51 +02:00
Stefan Kost
0868ddf30f
avidemux: some logging cleanup to help understanding the index parsing overhead
2009-09-18 14:27:45 +03:00
David Schleef
55d2754098
Remove Ronald Bultje from Authors field
...
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
2009-09-05 20:53:10 -07:00
Mark Nauwelaerts
bb2b02c5b7
avidemux: push mode; cater for unusual chunk sizes
2009-08-31 16:50:00 +02:00
Mark Nauwelaerts
96e72522fc
avidemux: push mode; cater for chunk padding
2009-08-10 14:41:52 +02:00
Mark Nauwelaerts
f67db2a089
avidemux: only use stream's pad after having checked it exists
2009-08-10 14:41:34 +02:00
Mark Nauwelaerts
4249f52c6c
avidemux: sprinkle some more GST_DEBUG_FUNCPTR
2009-08-10 14:41:29 +02:00
Mark Nauwelaerts
6d26594eef
avidemux: post error message if no pads to push EOS event on
2009-08-10 14:41:27 +02:00
Mark Nauwelaerts
b0a0c06155
avidemux: fix typo in warning message
2009-08-10 14:41:23 +02:00
Mark Nauwelaerts
7750173244
avidemux: fix some buffer ref handling
2009-08-10 14:41:19 +02:00
Mark Nauwelaerts
5b0f7f04e7
avidemux: do not exceed maximum number of supported streams
2009-08-10 14:41:16 +02:00
Mark Nauwelaerts
effa7b4660
avidemux: prevent double unref; gst_avi_demux_parse_avih already unrefs
2009-08-10 14:41:14 +02:00
Mark Nauwelaerts
42bc085d95
avidemux: verify size of INFO LIST to satisfy subsequent expectations
2009-08-10 14:41:12 +02:00
Mark Nauwelaerts
f4f8e8532c
avidemux: check video stream framerate against avi header frame duration
...
The former might be bogus in silly cases, and the latter seems to
carry more weight.
2009-08-10 14:41:09 +02:00
Mark Nauwelaerts
3863871100
avidemux: streamline stream duration calculation
2009-08-10 14:41:07 +02:00
Sebastian Dröge
22d712786c
avidemux: Fix last commit and improve readability
2009-07-29 14:31:48 +02:00
Руслан Ижбулатов
3702fcdb80
Fixed the fix for TIME->DEFAULT conversion.
...
Fixes bug #578052 again.
2009-07-29 13:58:33 +02:00
Sebastian Dröge
63115fe72c
avi: Don't forward NEWSEGMENT events from upstream
...
New ones are generated later and simply forwarding them can
result in NEWSEGMENT events of different format going downstream.
Fixes bug #587983 .
2009-07-09 07:14:23 +02:00
Philip Jgenstedt
0ebff2d14c
avidemux: Replace deprecated GST_DISABLE_DEBUG with correct macro. Fixes #587826
2009-07-06 10:40:31 +02:00
Edward Hervey
ff3730fb7b
avidemux: Removed unused variable
2009-06-25 08:09:57 +02:00
Tim-Philipp Müller
632bb7818a
avidemux: short-circuit gst_avi_demux_src_convert() when parsing the index
...
Don't call gst_avi_demux_src_convert() for each single index entry. Not
only do we already have the pointer to the stream context, we also know
the formats we want to convert from and to already, so we may just as
well use optimised conversion routines that bypass some of the checks
and lookups made in gst_avi_demux_src_convert().
2009-06-24 13:04:01 +01:00
Edward Hervey
4e6808bc52
avidemux: Sprinkle branch likeliness macros over the code.
2009-06-24 12:37:39 +02:00
Tim-Philipp Müller
4fe23fbe4b
avidemux: post container-format tag
2009-06-22 10:49:01 +01:00
Mark Nauwelaerts
3d8f31843c
avidemux: streaming; adjust sizes to cater for padding in chunks
2009-06-18 16:59:26 +02:00
Mark Nauwelaerts
08c9019566
avidemux: streaming mode; handle data chunks grouped in rec lists.
...
Fixes #567983 .
2009-06-17 12:31:42 +02:00
Edward Hervey
5e0a2296e0
avidemux: debug_memdump() unknown tags. Refactor junk parsing code.
...
This makes life slightly easier when debugging avi files.
2009-06-09 10:41:49 +02:00
Tim-Philipp Müller
4d07c78f0b
avidemux: skip JUNK chunks in data section in streaming mode
...
Skip JUNK tags in streaming mode as well instead of EOSing
prematurely. Fixes #564100 .
2009-06-01 00:42:55 +01:00
Sebastian Dröge
e93f784ee1
avidemux: Fix pointer arithmetic
...
This fixes a seeking regression, bug #134522 .
2009-05-13 10:16:54 +02:00
Tristan Matthews
39da7e523d
avidemux: initialize variable to 0
...
Fixes #582218 .
2009-05-11 21:02:27 +02:00
Sebastian Dröge
a62ed3b153
avidemux: Use the first entry for a given stream if the first entry is after the seek position
2009-05-11 18:15:22 +02:00
Sebastian Dröge
97fa58f397
avidemux: Use binary search for finding the requested index entry when seeking
2009-05-11 16:50:48 +02:00
Edward Hervey
1086c63827
avidemux: Move 'res' to where it's actually being used.
...
res was never used outside of that block except for a dead assignment.
2009-04-18 18:51:28 +02:00
Wim Taymans
cb344828a4
avidemux: don't push EOS in streaming mode
...
In streaming mode, avidemux is not supposed to send an EOS event downstream but
it is supposed to return UNEXPECTED from the chain function instead so that
upstream can do the right EOS handling.
2009-04-14 17:27:05 +02:00
LRN
3e7aede3ea
avidemux: add convert query, fix duration query
...
Fix the duration query so that it also works with formats other than
TIME, such as DEFAULT to get the number of frames.
Add a convert function.
Fixes #578052 .
2009-04-10 00:26:44 +02:00
Alessandro Decina
b0c5c7f19b
avidemux: don't post an error if EOS can't be pushed downstream.
...
This aligns avidemux with other demuxers and fixes a bug using avidemux
with a recent gnonlin.
2009-03-24 12:42:13 +01:00
Julien Moutte
ec5229d75f
avidemux: fix SEEK event handling in push mode
...
When in push mode we should not try to handle the SEEK event as there's
no code to handle it properly. Propagate upstream.
2009-02-26 19:10:41 +01:00
Wim Taymans
1fec709792
avidemux: avoid crashing on subtitles
...
Avoid a crash in avi with subtitles by only dereferencing the video description
when we actually are dealing with video in the _invert function.
2009-02-25 12:05:22 +01:00
Sebastian Dröge
6756475fd3
avidemux: Fix alignment issues by using GST_READ_*
...
Reading integers from random memory addresses will result
in SIGBUS on some architectures if the memory address
is not correctly aligned. This can happen at two
places in avidemux so we should use GST_READ_UINT32_LE
and friends here. Fixes bug #572256 .
2009-02-22 18:32:02 +01:00
Edward Hervey
35848f66d8
Remove useless processing for non-raw formats
2009-01-30 17:01:30 +01:00
Stefan Kost
a99d3f8769
Update and add documentation for plugins with no deps (gst).
...
Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.
2009-01-28 12:32:59 +02:00
Stefan Kost
40a14e528e
gst/avi/gstavidemux.c: More logging.
...
Original commit message from CVS:
* gst/avi/gstavidemux.c:
More logging.
* gst/avi/gstavimux.c:
Handle more metadata fields. Better estimate of metadata size. Don't
merge received tags, if application has specified tags using
GST_TAG_MERGE_REPLACE_ALL. Fixes #563221 for avi.
2008-12-09 17:55:22 +00:00
Nick Haddad
66c804b41c
gst/avi/gstavidemux.c: Invert other uncompressed RGB formats. Fixes #558554 .
...
Original commit message from CVS:
Patch by: Nick Haddad <nick at haddads dot net>
* gst/avi/gstavidemux.c: (gst_avi_demux_is_uncompressed),
(gst_avi_demux_invert), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data):
Invert other uncompressed RGB formats. Fixes #558554 .
2008-10-31 10:00:18 +00:00
Edward Hervey
1297b556c7
gst/avi/gstavidemux.c: Skip entries for streams that don't have a output pad yet, thereby avoiding calling pad functi...
...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_scan):
Skip entries for streams that don't have a output pad yet, thereby
avoiding calling pad functions with a NULL pad.
Fixes #556424
2008-10-15 15:42:29 +00:00
Wim Taymans
52e9c2a32b
gst/avi/gstavidemux.c: Reset header state. Fixes #555321 .
...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index):
Reset header state. Fixes #555321 .
2008-10-08 14:47:14 +00:00
Wim Taymans
b9a1894e5c
gst/avi/gstavidemux.*: For timestamping audio packets we need to take into account the amount of blocks in one entry ...
...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex),
(gst_avi_demux_parse_stream), (gst_avi_demux_parse_index):
* gst/avi/gstavidemux.h:
For timestamping audio packets we need to take into account the
amount of blocks in one entry using the blockalign. Fixes some sync
issues with zero-padded audio blocks in the beginning of avi files.
2008-10-08 13:31:44 +00:00
Tim-Philipp Müller
5c4b6ce079
Make stuff compile with GST_DISABLE_GST_DEBUG.
...
Original commit message from CVS:
* ext/raw1394/gsthdv1394src.c: (gst_hdv1394src_create):
* gst/alpha/gstalpha.c: (gst_alpha_get_unit_size):
* gst/audiofx/audiocheblimit.c: (generate_coefficients):
* gst/avi/gstavidemux.c: (gst_avi_demux_src_convert):
* gst/matroska/ebml-read.c: (gst_ebml_read_element_id),
(gst_ebml_read_element_length):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_check_subtitle_buffer):
Make stuff compile with GST_DISABLE_GST_DEBUG.
2008-08-30 14:15:03 +00:00
Edward Hervey
25665a0df3
gst/avi/gstavidemux.c: Some AVI 2.0 (ODML) files don't respect the 'specifications' completely and instead of using t...
...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),
(gst_avi_demux_read_subindexes_push):
Some AVI 2.0 (ODML) files don't respect the 'specifications' completely
and instead of using the 'ix##' nomenclature, use '##ix'.
They're still valid though, this fixes the duration and indexes for
virtually all the ODML files I have.
2008-08-16 14:54:56 +00:00
Alessandro Decina
365186956d
gst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.
...
Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp):
Fix build of avidemux on big endian architectures.
2008-07-14 13:02:48 +00:00
Mark Nauwelaerts
ae82126a56
gst/avi/avi-ids.h: Add vprp chunk related structures.
...
Original commit message from CVS:
* gst/avi/avi-ids.h:
Add vprp chunk related structures.
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp),
(gst_avi_demux_parse_stream):
Parse optional vprp chunk and add calculated pixel-aspect-ratio
to caps. Fixes #539482 .
* gst/avi/gstavimux.h:
* gst/avi/gstavimux.c: (gst_avi_mux_pad_reset),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_riff_get_avi_header):
Add a vprp chunk if non-trival pixel-aspect-ratio provided in caps.
2008-06-29 19:52:51 +00:00
Wim Taymans
b28a5162af
gst/avi/gstavidemux.c: Try to ignore unparsable/unknown streams and give a warning instead of erroring out. Fixes #53...
...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_parse_index), (gst_avi_demux_massage_index),
(gst_avi_demux_calculate_durations_from_index),
(gst_avi_demux_stream_header_push),
(gst_avi_demux_stream_header_pull):
Try to ignore unparsable/unknown streams and give a warning instead of
erroring out. Fixes #537377 .
2008-06-10 11:05:30 +00:00
Thijs Vermeir
61a15f8c5f
gst/avi/gstavidemux.c: Catch UNEXPECTED when downstream has reached end of segment in reverse mode.
...
Original commit message from CVS:
* gst/avi/gstavidemux.c:
Catch UNEXPECTED when downstream has reached end of
segment in reverse mode.
2008-06-05 09:45:00 +00:00
Thijs Vermeir
8057839bdd
gst/avi/gstavidemux.c: Fix typo in comment
...
Original commit message from CVS:
* gst/avi/gstavidemux.c:
Fix typo in comment
2008-06-04 18:08:35 +00:00
Thijs Vermeir
b950285ac7
gst/avi/gstavidemux.c: Because we don't know the frame order we need to push till the next keyframe
...
Original commit message from CVS:
* gst/avi/gstavidemux.c:
Because we don't know the frame order we need to push till
the next keyframe
2008-06-04 18:03:24 +00:00
Thijs Vermeir
f1c5dc21b4
gst/avi/gstavidemux.c: Set EOS when going out of the segment in reverse playback
...
Original commit message from CVS:
* gst/avi/gstavidemux.c:
Set EOS when going out of the segment in reverse playback
2008-06-04 16:49:26 +00:00
Thijs Vermeir
2c6e50598e
gst/avi/gstavidemux.*: Implement reverse playback. Fixes #535300 .
...
Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst/avi/gstavidemux.c: (gst_avi_demux_index_next),
(gst_avi_demux_index_prev), (gst_avi_demux_index_entry_for_time),
(gst_avi_demux_do_seek), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry):
* gst/avi/gstavidemux.h:
Implement reverse playback. Fixes #535300 .
Small cleanups.
2008-06-02 16:10:00 +00:00
Wim Taymans
bd8c40c014
gst/avi/gstavidemux.c: Fix typo in comments.
...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_combine_flows):
Fix typo in comments.
* tests/examples/rtp/client-H263p-PCMA.sdp:
* tests/examples/rtp/client-H263p-PCMA.sh:
* tests/examples/rtp/client-H264-PCMA.sdp:
* tests/examples/rtp/client-H264-PCMA.sh:
* tests/examples/rtp/client-H264.sdp:
* tests/examples/rtp/client-H264.sh:
* tests/examples/rtp/client-PCMA.sdp:
* tests/examples/rtp/client-PCMA.sh:
* tests/examples/rtp/server-alsasrc-PCMA.sh:
* tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Add some more docs and fix examples.
2008-04-25 07:56:12 +00:00
Stefan Kost
fbb779216c
gst/avi/gstavidemux.c: Erm, the buffer-size is just guint, no need for the special format specifier.
...
Original commit message from CVS:
* gst/avi/gstavidemux.c:
Erm, the buffer-size is just guint, no need for the special format
specifier.
2008-03-16 15:01:07 +00:00