GNOME Bugzilla – Bug 569924
Can not determine mimetype of data within DV stream
Last modified: 2010-08-04 23:10:36 UTC
Please describe the problem: I am working on an application that registers a callback function to decodebin's "new-decoded-pad" signal. The callback function looks at the stream's GstCaps to determine its rough mimetype (i.e., audio or video). This works for most audio and video types. However, it fails to work with a raw DV video that was captured from a video camera. Steps to reproduce: 1. Capture some raw DV video using "dvgrab --format raw foo-" 2. Confirm stream is not corrupt: play stream with "gst-launch playbin uri=file://foo-01.dv" 3. Execute code to determine mimetye. Actual results: Step 2 works. Step 3 fails. Expected results: Does this happen every time? Yes. Other information:
Created attachment 127595 [details] Code fragment that works on all supported / tested media types except for DV
I am no longer having this problem as of gstreamer-plugins-good-0.10.24. The Gstreamer DV plugin now identifies my stream as audio/x-raw-int and video/x-raw-rgb.
Thanks for the update. Marking as OBSOLETE though since we don't really know what fixed it exactly :) PS: For next time: it would've been nice to have had a small sample file to reproduce this with. PPS: these days, playbin2 and/or uridecodebin/decodebin2 are recommended over playbin/decodebin