[gstreamer-bugs] [Bug 606307] New: mastroska muxer bad in case of 1fps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 7 04:15:49 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=606307
  GStreamer | gst-plugins-good | 0.10.17

           Summary: mastroska muxer bad in case of 1fps
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.17
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lfarkas at lfarkas.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


we try to put a h264 stream into a matroska stream with gstreamer. the
strange thing everything seems to working if it's at least 2fps, but
if it's only 1fps then the resulting file is corrupted.
we try many ways:
- generate the raw h264 stream file directly from capture card with (1
or 2 fps):
gst-launch lannersrc channel=0 ! capsfilter
caps="video/x-h264,framerate=2/1" ! filesink location=2fps_raw.h264
these are working (but of course seek is not possible which is normal).

- put the h264 stream into a matroska file (1 or 2 fps):
gst-launch filesrc location=1fps_raw.h264 ! h264parse ! matroskamux
! filesink location=1fps_file2matroska.mkv
it can be played but not able to seek. why?

- generate matroska file directly from capture card (1 or 2 fps):
gst-launch lannersrc channel=0 ! capsfilter
caps="video/x-h264,framerate=1/1" ! matroskamux ! filesink
location=1fps_lanner2matroska.mkv
in case of 1 fps it's not playable with gstreamer (mplayer play it but
with errors)
in case of 2 fps it's playable but not seekable.

- but if we use mkvtoolnix anything is perfect, so it seems to be that
mkvmerge can do it better the gstreamer's matroska. in this case both
1 and 2 fps works, can be played with gstreamer and be able to seek.
so is it a bug in gstreamer's matroska or just we don't know
something?
mkvmerge -o 1fps.mkv  --forced-track 0:no --default-duration 0:1fps -d
0 -A -S -T --no-global-tags --no-chapters /tmp/1fps.h264 --track-order
0:0

the usual error messages from gstreamer:
- number of reference frames exceeds max (probably corrupt input),
discarding one
- non-existing PPS referenced
- sps_id out of range
- Missing reference picture
- decode_slice_header error
- mmco: unref short failure

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




More information about the Gstreamer-bugs mailing list