Пример #1
0
 def setUp(self):
     self.index = 'tests/data/test.txt'
     videopath, slidepath = st.parse_index(self.index)
     self.slideo = st.SlideoTracker(videopath, slidepath, frame_rate=25,
                                    debug=True)
Пример #2
0
 def test_parse_index(self):
     video, slides = st.parse_index(self.index)        
     print len(slides), 'nb slide'
     print video 
     self.assertTrue(video.endswith('svideo.avi') and 
                     len(slides) == 4)