[Bug 644890] [mpegtsmux] add indexing capabilities to generate a SPN/PTS map on the fly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 21 02:21:42 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=644890
  GStreamer | gst-plugins-bad | git

--- Comment #15 from Andreas Frisch <fraxinas at opendreambox.org> 2012-06-21 09:21:37 UTC ---
the table is simply the output of the index spn count and the pts value

static void entry_added (GstIndex * index, GstIndexEntry * entry, App * app) {
...
  if (entry->id == 1 && GST_INDEX_NASSOCS (entry) == 2) {
    g_fprintf (app->f_epmap, "entrypoint: %" G_GINT64_FORMAT " ",
      GST_INDEX_ASSOC_VALUE (entry, 0));
    g_fprintf (app->f_epmap, "%" G_GINT64_FORMAT "\n", GST_INDEX_ASSOC_VALUE
      (entry, 1));
    fflush(app->f_epmap);

i have not investigated, how the pts value can become -1. i had of course used
the same exact input .ts file (a dvb-s recording) for both maps

here's the code of the bdremux tool (which prints the ep-map)
http://git.opendreambox.org/?p=bdremux.git;a=blob;f=src/bdremux.c

i'm uploading the sample ts too

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