summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-18ffdec: reset timestamp queue after flushWim Taymans1-0/+1
2009-08-14Lower minimum sample rate in generic template caps from 8000 to 4000Tim-Philipp Müller1-1/+1
Fixes playback of ADPCM clip (#591809).
2009-08-13ffmpegdec: Fix strict aliasing warningsSebastian Dröge1-3/+3
2009-08-12ffmpegdec: Don't use guintptr as it's new in GLib 2.18Sebastian Dröge1-5/+5
Fixes bug #591469.
2009-08-10gstffmpeg: Lower debugging levels from WARNING to DEBUGEdward Hervey4-8/+14
These statements aren't critical per se... and just clutter debug logs.
2009-08-09ffmpegenc: Return all supported caps instead of only the firstSebastian Dröge1-1/+1
2009-08-08ffmpegenc: If an encoder lists the supported pixfmts use them to create the capsSebastian Dröge3-4/+12
...instead of creating standard caps with all pixfmts. Fixes bug #591038.
2009-08-08ffmpegdec: Fix duration calculation when ticks_per_frame isn't 1Sjoerd Simons1-1/+1
Fixes bug #591163.
2009-08-06ffmpegdec: Fix compiler warning and indentionSebastian Dröge1-23/+31
2009-08-06ffmpegdec: Assign offsets to outgoing buffers more accurateРуслан Ижбулатов1-44/+96
This now uses ffmpeg functionality to keep random metadata next to the buffers and to get the correct offset for a frame, similar to how timestamps are handled. Fixes bug #578278.
2009-08-04Update ffmpeg revision to 19580 of the 0.5 branchSebastian Dröge1-1/+1
This cleans up licensing and makes it possible to build with LGPL code only again. Apart from that an opencore-amr encoder/decoder exists now but this is not enabled as we don't want to use external libraries through ffmpeg and have our own plugins for this already.
2009-07-31gstffmpegenc: Try getting the caps for the declared pixfmt without a context.Edward Hervey1-2/+28
PixFmt that are declared in AVCodec.pix_fmts are ones which are 'officially' declared as being supported. We should therefore not have to create a AVCodecContext and open an encoder to know if it's supported or not. Also, doing it this way allows us to better pickup configuration overrides we have in gstffmpegcodecmap for some codecs (like restrictions on width, height, framerate like it's the case for dnxhd). Fixes #575545
2009-07-29ffmpegdec: Disable theora decoderOlivier Crête1-0/+2
The wrapper does not give the decoder the extradata correctly. Just use theoradec. Fixes bug #590172
2009-07-29Codec frame delay fix and trailing zero-length frame fixРуслан Ижбулатов1-6/+46
Takes codec frame delay into account (roughly the same way it does for timestamps for reordered frames) to produce frames with correct offsets. A special hack to allow trailing frame with timestamp=segment.stop to be displayed. Fixes bug #578278.
2009-07-28check: remove unused variable from unit testTim-Philipp Müller1-3/+1
2009-07-28ffmpegdemux: use gst_element_found_tags() for global tagsTim-Philipp Müller1-2/+1
So we get a message on the bus *and* tag events pushed downstream.
2009-07-28ffmpegdemux: cache events from upstream and re-send them laterTim-Philipp Müller8-21/+277
Cache any events we get from upstream before we're open, especially tag events we may be getting from apedemux/id3demux or the like, and push them downstream later when we've added our pads instead of just dropping them silently. Fixes transcoding tags for Monkey's Audio Files with preceding APE or ID3v2 tags (#586957). Add minimal unit test for this. Also push stream tags later after the global tags and the newsegment event rather than right after creating the pad.
2009-07-24Automatic update of common submoduleStefan Kost1-0/+0
From fedaaee to 94f95e3
2009-07-20ffmpegmux: Add proper audio mapping for DVD muxer. Fixes #588546Jordi Mas1-1/+3
2009-07-13Automatic update of common submoduleOlivier Crête1-0/+0
From 5845b63 to fedaaee
2009-07-01configure: pass --disable-vhook to ffmpeg's configureTim-Philipp Müller1-1/+1
So we don't build stuff we don't use, with the added benefit that the GStreamer registry won't complain about not being able to load these 'plugins' when running GStreamer uninstalled.
2009-07-01ffmpegmux: don't leak caps if type already existsTim-Philipp Müller1-6/+7
We don't know if gst_element_register() will replace the known type or reject it, so we really need to free the caps before.
2009-07-01ffmpegdemux: post tags after the initial newsegment eventTim-Philipp Müller1-7/+7
2009-07-01autogen.sh: Use printf instead of 'echo -n'. Check for automake-1.1[01]Jan Schmidt1-2/+2
Check for more automake command variants. Use printf instead of 'echo -n' for portability
2009-07-01Back to development - 0.10.8.1Jan Schmidt1-1/+1
2009-07-01ffdec: don't wait for keyframe after discontWim Taymans1-1/+1
After a DISCONT, mark the next frame with DISCONT but don't wait for a new keyframe. This greatly improves performance on lossy networks or currupted frames as the decoder can usually continue and conceil errors up to the next keyframe.
2009-07-01Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-ffmpegWim Taymans7-14/+538
2009-06-29release 0.10.8Jan Schmidt5-13/+536
2009-06-29gstffmpegdec: Fix debug arguments. Fixes #587297Edward Hervey1-1/+2
2009-06-26Automatic update of common submoduleJan Schmidt1-0/+0
From f810030 to 5845b63
2009-06-250.10.7.3 pre-releaseJan Schmidt1-1/+1
2009-06-25ffmpegdec: don't drop buffers when caps change.Arnout Vandecappelle1-0/+7
Fixes #585257
2009-06-24docs: Fix a comment in the plugin docs MakefileJan Schmidt1-1/+1
2009-06-24ffmpeg: Don't enter infinite loops in the timestamp trackingJan Schmidt1-4/+21
Avoid an infinite loop consuming buffer timestamp info when the video frames contain only GST_CLOCK_TIME_NONE timestamps. Add some debug logging in the timestamp tracking paths. Fixes: #585845
2009-06-24Automatic update of common submoduleJan Schmidt1-0/+0
From c572721 to f810030
2009-06-17debug: fix unused variable when building with debug disabledStefan Kost1-2/+1
2009-06-06build: Fix the dist - libswscale isn't an external on the 0.5 branchJan Schmidt3-8/+21
The 0.5 ffmpeg branch includes libswscale directly, not as an external, breaking the dist (and warning in autogen.sh) about not being able to update its revision. Add some code to not update the svn external if the FFMPEG_EXTERNALS_REVISION variable is empty. Also, in autogen.sh check that the current FFmpeg checkout is from the right branch according to ffmpegrev, and check it out again if it's not.
2009-06-050.10.7.2 pre-releaseJan Schmidt1-1/+1
2009-06-05ffmpegdec: don't do QoS on invalid timestampsWim Taymans1-1/+5
When we convert the timestamp to running_time, don't try to do QoS on invalid times. Fixes #580810
2009-06-05ffmpeg: make elements reusable after registry rescanJordi Mas3-56/+46
If the same instance of the plugin is asked to be initialised more that once, instances after the first one do not register the elements properly and the elements become not usable. For example, if you call gst_update_registry (), is not possible to create elements after the call since the plugin is asked to be initialised again and does not register the elements. Fixes #584291
2009-06-05check: add registry rescan testWim Taymans1-0/+46
2009-06-05ffmpeg: properly integrate timestamp handlingWim Taymans1-18/+16
The patch from Bug #580796 hacked around existing infrastructure to handle timestamps as DTS (as in all AVI files) causing the logic to be disabled. Properly hook the timestamp handling into the existing infrastructure to handle these cases too, partially reverting a26b94d92c2e9e9f6dac0cdb5fb44ba06ee089c8 and moving some stuff around. Refixes #580796.
2009-06-01ffmpeg: change library inclusion orderLRN1-3/+3
Fixes #584399
2009-05-29Switch back to the ffmpeg 0.5 branch to allow us to release in the next weeksSebastian Dröge1-3/+3
2009-05-26Automatic update of common submoduleJan Schmidt1-0/+0
From 888e0a2 to c572721
2009-05-25enc: use standard multipass-cache-fileWim Taymans1-1/+6
Deprecate the old statsfile property and add a the new standard mulitpass-cache-file property to match other encoders. Fixes #583627
2009-05-22Automatic update of common submoduleJan Schmidt1-0/+0
From 6ab11d1 to 888e0a2
2009-05-20ffmpeg: Don't add sink pad template to the muxers when not needed.Jan Schmidt1-0/+4
If the set of caps for either audio or video is completely empty, skip adding that pad template to the class. Some muxers only support audio-only or video-only and otherwise end up with EMPTY caps in the pad template.
2009-05-13ffenc: avoid malloc more for audio encodersWim Taymans1-20/+19
Use _adapter_peek() to retrieve data so that we can reuse previously allocated memory.
2009-05-13gstffmpegdec: demote mpeg2 video decoding back to MARGINAL. Fixes #574461Edward Hervey1-6/+0