normalize outpoint too
This commit is contained in:
parent
98b94fade8
commit
73bb16c31d
3 changed files with 4 additions and 2 deletions
|
@ -65,7 +65,7 @@ def identify(fname):
|
|||
if fname.endswith('ogg') or fname.endswith('ogv'):
|
||||
return oggzinfo(fname)
|
||||
|
||||
cmd = 'midentify "%s"' % fname
|
||||
cmd = '/usr/local/bin/midentify "%s"' % fname
|
||||
f = os.popen(cmd.encode('utf-8'))
|
||||
data = f.read().strip()
|
||||
f.close()
|
||||
|
|
|
@ -452,6 +452,8 @@ class ArchiveFile(SQLObject):
|
|||
outpoint = s['stop']
|
||||
else:
|
||||
outpoint = shift_time(5000, inpoint)
|
||||
else:
|
||||
outpoint = outpoint.replace('.', ':')
|
||||
extract_flash(movie_file, flash_movie, inpoint, outpoint, width, height, offset = 0)
|
||||
#extract_flash_ng(self.absolutePath, flash_movie, inpoint, outpoint, width, height, offset)
|
||||
|
||||
|
|
Loading…
Reference in a new issue