After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 331917 - [pngdec] does not support files with png streams
[pngdec] does not support files with png streams
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-20 17:53 UTC by j^
Modified: 2006-04-11 09:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j^ 2006-02-20 17:53:23 UTC
i.e. quicktime files with png frames
<http://naboo.homelinux.org/~tmattern/samples/mov/aqt_480p/aqt_480p_png.mov>

pngdec will only decode the first frame, while ffdec_png decodes all frames.

gst-launch filesrc location=aqt_480p_png.mov ! qtdemux ! ffdec_png ! ffmpegcolorspace ! xvimagesink
works.

gst-launch filesrc location=aqt_480p_png.mov ! qtdemux ! pngdec ! ffmpegcolorspace ! xvimagesink
only decodes first frame.
Comment 1 Edward Hervey 2006-02-22 09:50:59 UTC
pngdec can only decode one single frame right now as it says in the element description :

  Long name:    PNG decoder
  Class:        Codec/Decoder/Image
  Description:  Decode a png video frame to a raw image
Comment 2 Tim-Philipp Müller 2006-04-11 09:37:20 UTC
 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/libpng/gstpngdec.c: (gst_pngdec_init),
        (user_endrow_callback), (user_end_callback),
        (gst_pngdec_caps_create_and_set), (gst_pngdec_chain),
        (gst_pngdec_sink_setcaps), (gst_pngdec_sink_event),
        (gst_pngdec_libpng_clear), (gst_pngdec_change_state):
        * ext/libpng/gstpngdec.h:
          Handle more than one frame if the content is framed,
          like with png-in-quicktime (#331917).