[gstreamer-bugs] [Bug 372797] Seek on DVD not performed relative to title

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 15 22:55:59 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=372797

  GStreamer | gst-plugins-ugly | Ver: 0.10.4





------- Comment #13 from Jason Gerard DeRose  2006-11-16 06:54 UTC -------
I've started writing from scratch a drop in replacement for dvdreadsrc.  I'm
making sure to write very extensive self-tests so that the assumptions I'm
making about how libdvdread works can be verified on many DVDs by many users
and developers.  Here is the output for a test that mostly checks for tmap to
title congruency.  It shows the structure of one of those said "multiple titles
in a title_set" DVDs.

DvdSrc Audit: performing rigorous self-test using current DVD
DVD is reporting 8 titles
Testing title 1:
  Title has duration 43:31
  Title is reporting 16 chapters
  Title looks like a feature title (has vts_tmapt)
  Checking that all chapter_pgc report same title duration
    Chapter 1 43:31 OKAY
    Chapter 2 43:31 OKAY
    Chapter 3 43:31 OKAY
    Chapter 4 43:31 OKAY
    Chapter 5 43:31 OKAY
    Chapter 6 43:31 OKAY
    Chapter 7 43:31 OKAY
    Chapter 8 43:31 OKAY
    Chapter 9 43:31 OKAY
    Chapter 10 43:31 OKAY
    Chapter 11 43:31 OKAY
    Chapter 12 43:31 OKAY
    Chapter 13 43:31 OKAY
    Chapter 14 43:31 OKAY
    Chapter 15 43:31 OKAY
    Chapter 16 43:31 OKAY
  Title 1 is in title_set 3
  From nr_of_tmaps, title_set appears to have 4 titles
  Title should be using tmap at index 0
  Title has a tmap, index in range: OKAY
  Tmap has 1305 entries at intervals of 2 seconds
  Checking time match between tmap and title...
    Title has duration 43:31
    Last tmap entry is at time 43:30
    Last_tmap_entry <= title_seconds: OKAY
    Last_tmap_entry + tmu >= title_seconds: OKAY
  Tmap and title match on time: OKAY
  Checking sector match between tmap and title...
    First sector in title is 0
    First sector in tmap is  123
    First_tmap_sector >= first_title_sector: OKAY
    Last sector in title is  968940
    Last sector in tmap is   968802
    Last_tmap_sector <= last_title_sector: OKAY
  Tmap and title match on sector: OKAY
Finished testing title 1: OKAY
Testing title 2:
  Title has duration 43:09
  Title is reporting 16 chapters
  Title looks like a feature title (has vts_tmapt)
  Checking that all chapter_pgc report same title duration
    Chapter 1 43:09 OKAY
    Chapter 2 43:09 OKAY
    Chapter 3 43:09 OKAY
    Chapter 4 43:09 OKAY
    Chapter 5 43:09 OKAY
    Chapter 6 43:09 OKAY
    Chapter 7 43:09 OKAY
    Chapter 8 43:09 OKAY
    Chapter 9 43:09 OKAY
    Chapter 10 43:09 OKAY
    Chapter 11 43:09 OKAY
    Chapter 12 43:09 OKAY
    Chapter 13 43:09 OKAY
    Chapter 14 43:09 OKAY
    Chapter 15 43:09 OKAY
    Chapter 16 43:09 OKAY
  Title 2 is in title_set 3
  From nr_of_tmaps, title_set appears to have 4 titles
  Title should be using tmap at index 1
  Title has a tmap, index in range: OKAY
  Tmap has 1294 entries at intervals of 2 seconds
  Checking time match between tmap and title...
    Title has duration 43:09
    Last tmap entry is at time 43:08
    Last_tmap_entry <= title_seconds: OKAY
    Last_tmap_entry + tmu >= title_seconds: OKAY
  Tmap and title match on time: OKAY
  Checking sector match between tmap and title...
    First sector in title is 968941
    First sector in tmap is  969312
    First_tmap_sector >= first_title_sector: OKAY
    Last sector in title is  1900575
    Last sector in tmap is   1900494
    Last_tmap_sector <= last_title_sector: OKAY
  Tmap and title match on sector: OKAY
Finished testing title 2: OKAY
Testing title 3:
  Title has duration 44:28
  Title is reporting 16 chapters
  Title looks like a feature title (has vts_tmapt)
  Checking that all chapter_pgc report same title duration
    Chapter 1 44:28 OKAY
    Chapter 2 44:28 OKAY
    Chapter 3 44:28 OKAY
    Chapter 4 44:28 OKAY
    Chapter 5 44:28 OKAY
    Chapter 6 44:28 OKAY
    Chapter 7 44:28 OKAY
    Chapter 8 44:28 OKAY
    Chapter 9 44:28 OKAY
    Chapter 10 44:28 OKAY
    Chapter 11 44:28 OKAY
    Chapter 12 44:28 OKAY
    Chapter 13 44:28 OKAY
    Chapter 14 44:28 OKAY
    Chapter 15 44:28 OKAY
    Chapter 16 44:28 OKAY
  Title 3 is in title_set 3
  From nr_of_tmaps, title_set appears to have 4 titles
  Title should be using tmap at index 2
  Title has a tmap, index in range: OKAY
  Tmap has 1334 entries at intervals of 2 seconds
  Checking time match between tmap and title...
    Title has duration 44:28
    Last tmap entry is at time 44:28
    Last_tmap_entry <= title_seconds: OKAY
    Last_tmap_entry + tmu >= title_seconds: OKAY
  Tmap and title match on time: OKAY
  Checking sector match between tmap and title...
    First sector in title is 1900576
    First sector in tmap is  1900643
    First_tmap_sector >= first_title_sector: OKAY
    Last sector in title is  2867463
    Last sector in tmap is   2867459
    Last_tmap_sector <= last_title_sector: OKAY
  Tmap and title match on sector: OKAY
Finished testing title 3: OKAY
Testing title 4:
  Title has duration 42:51
  Title is reporting 16 chapters
  Title looks like a feature title (has vts_tmapt)
  Checking that all chapter_pgc report same title duration
    Chapter 1 42:51 OKAY
    Chapter 2 42:51 OKAY
    Chapter 3 42:51 OKAY
    Chapter 4 42:51 OKAY
    Chapter 5 42:51 OKAY
    Chapter 6 42:51 OKAY
    Chapter 7 42:51 OKAY
    Chapter 8 42:51 OKAY
    Chapter 9 42:51 OKAY
    Chapter 10 42:51 OKAY
    Chapter 11 42:51 OKAY
    Chapter 12 42:51 OKAY
    Chapter 13 42:51 OKAY
    Chapter 14 42:51 OKAY
    Chapter 15 42:51 OKAY
    Chapter 16 42:51 OKAY
  Title 4 is in title_set 3
  From nr_of_tmaps, title_set appears to have 4 titles
  Title should be using tmap at index 3
  Title has a tmap, index in range: OKAY
  Tmap has 1285 entries at intervals of 2 seconds
  Checking time match between tmap and title...
    Title has duration 42:51
    Last tmap entry is at time 42:50
    Last_tmap_entry <= title_seconds: OKAY
    Last_tmap_entry + tmu >= title_seconds: OKAY
  Tmap and title match on time: OKAY
  Checking sector match between tmap and title...
    First sector in title is 2867464
    First sector in tmap is  2867525
    First_tmap_sector >= first_title_sector: OKAY
    Last sector in title is  3819706
    Last sector in tmap is   3819597
    Last_tmap_sector <= last_title_sector: OKAY
  Tmap and title match on sector: OKAY
Finished testing title 4: OKAY
Testing title 5:
  Title has duration 42:51
  Title is reporting 2 chapters
  Title does not looks like a feature title (no vts_tmapt)
  No usefull tests to do on this title...
Testing title 6:
  Title has duration 42:51
  Title is reporting 3 chapters
  Title does not looks like a feature title (no vts_tmapt)
  No usefull tests to do on this title...
Testing title 7:
  Title has duration 42:51
  Title is reporting 2 chapters
  Title does not looks like a feature title (no vts_tmapt)
  No usefull tests to do on this title...
Testing title 8:
  Title has duration 0:00
  Title is reporting 1 chapters
  Title looks like a feature title (has vts_tmapt)
  Checking that all chapter_pgc report same title duration
    Chapter 1 0:00 OKAY
  Title 8 is in title_set 1
  From nr_of_tmaps, title_set appears to have 1 titles
  Title should be using tmap at index 0
  Title has a tmap, index in range: OKAY
  Tmap has 1 entries at intervals of 1 seconds
  Title_seconds <= 0, not checking match between tmap and title
DvdSrc Audit: OKAY


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list