[gstreamer-bugs] [Bug 578160] New: ffenc_h263 doesn't list the resolutions it actually supports

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 6 10:26:48 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=578160

  GStreamer | gst-ffmpeg | Ver: git
           Summary: ffenc_h263 doesn't list the resolutions it actually
                    supports
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: le.businessman at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


Please describe the problem:
When listing the caps of ffenc_h263, it doesn't state which resolutions it can
accept on its src, while gstffmpegcodecmap.c indicates the following:

        /* 128x96, 176x144, 352x288, 704x576, and 1408x1152. slightly reordered
         * because we want automatic negotiation to go as close to 320x240 as
         * possible. */
        const static gint widths[] = { 352, 704, 176, 1408, 128 };
        const static gint heights[] = { 288, 576, 144, 1152, 96 };


Steps to reproduce:
gst-inspect ffenc_h263

or run

gst-launch videotestsrc ! video/x-raw-yuv, width=640, height=480 ! ffenc_h263 !
ffdec_h263 ! xvimagesink


Actual results:
in the first case, there's no mention of the finite resolutions supported by
ffenc_h263.
in the second case, the pipeline fails with:
WARNING: erroneous pipeline: could not link videotestsrc0 to ffenc_h2630


Expected results:
in the first case, I'd expect the resolutions to be listed in some way.

in the second case, I'd expect an error message or warning about the resolution
being unacceptable.



Does this happen every time?
yes

Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=578160.




More information about the Gstreamer-bugs mailing list