[gstreamer-bugs] [Bug 349107] New: gst.BaseSrc can't negotiate with ffmpegcolorspace

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jul 28 09:53:35 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=349107
 GStreamer | gst-python | Ver: 0.10.4

           Summary: gst.BaseSrc can't negotiate with ffmpegcolorspace
           Product: GStreamer
           Version: 0.10.4
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: frepe at bredband.net
         QAContact: johan at gnome.org
     GNOME version: 2.13/2.14
   GNOME milestone: Unspecified


Please describe the problem:
If you write a home made src element extending gst.BaseSrc, it will not be able
to negotiate properly with a ffmpegcolorspace element even if the buffer pushed
from the src element clearly has caps that that ffmpegcolorspace can handle.

Steps to reproduce:
Download the attached .tar.gz, extract both files to the same directory. Make
sure there's a playbin-playable video file called /tmp/movie.avi and run:
"GST_DEBUG=2 python playbin_test2.py". On the GUI that is displayed, click the
"snapshot" button. 

Actual results:
Lots of debug printout, ending with:
WARN  (0x86bb3a0 - 0:00:06.888466000)        basetransform(19244)
gstbasetransform.c(1395):gst_base_transform_handle_buffer:<csp1> error: not
negotiated
WARN  (0x86bb3a0 - 0:00:06.888592000)        basetransform(19244)
gstbasetransform.c(1395):gst_base_transform_handle_buffer:<csp1> error: not
negotiated
WARN  (0x86bb3a0 - 0:00:06.888758000)              basesrc(19244)
gstbasesrc.c(1510):gst_base_src_loop:<injector_src> error: Internal data flow
error.
WARN  (0x86bb3a0 - 0:00:06.888905000)              basesrc(19244)
gstbasesrc.c(1510):gst_base_src_loop:<injector_src> error: streaming task
paused, reason not-negotiated

Expected results:
I excpected to get a frame encoded as a .png file in /tmp/snapshot.png

Does this happen every time?
Yes

Other information:
It is not certain that this is a python binding bug, but wtay in the irc
channel suggested that.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list