[gstreamer-bugs] [Bug 565777] [riff] unrecognised video fourcc 0x10000002 for mpeg2 in avi

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 27 07:41:00 PST 2008


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=565777

  GStreamer | gst-plugins-base | Ver: 0.10.21

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
            Summary|gstreamer cannot play .avi  |[riff] unrecognised video
                   |file generated by mencoder  |fourcc 0x10000002 for mpeg2
                   |                            |in avi




------- Comment #1 from Tim-Philipp Müller  2008-12-27 15:40 UTC -------
This seems to make it work:

Index: gst-libs/gst/riff/riff-media.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/riff/riff-media.c,v
retrieving revision 1.112
diff -u -r1.112 riff-media.c
--- gst-libs/gst/riff/riff-media.c      12 Dec 2008 07:15:22 -0000      1.112
+++ gst-libs/gst/riff/riff-media.c      27 Dec 2008 15:29:36 -0000
@@ -172,6 +172,7 @@
       break;
     case GST_MAKE_FOURCC ('M', 'P', 'G', '2'):
     case GST_MAKE_FOURCC ('m', 'p', 'g', '2'):
+    case GST_MAKE_FOURCC (0x02, 0x00, 0x00, 0x10):
       caps = gst_caps_new_simple ("video/mpeg",
           "systemstream", G_TYPE_BOOLEAN, FALSE,
           "mpegversion", G_TYPE_INT, 2, NULL);

.. but I wonder if there's a reason the usual fourcc isn't used here (bug?),
and if there are other players which recognise this video stream (e.g. Windows
media player, VLC, etc.)?


-- 
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=565777.




More information about the gstreamer-bugs mailing list