Index: transcode.py
===================================================================
--- transcode.py	(revision 166)
+++ transcode.py	(working copy)
@@ -123,13 +126,19 @@
     output = ffmpeg.stderr.read()
     durre = re.compile(r'.*Duration: (.{2}):(.{2}):(.{2})\.(.)')
     d = durre.search(output)
+    if not d:
+        return None, None, None, None, None
     rezre = re.compile(r'.*Video: (.+), (\d+)x(\d+), (.+) fps.*')
     m = rezre.search(output)
     if m:
         millisecs = ((int(d.group(1))*3600) + (int(d.group(2))*60) + int(d.group(3)))*1000 + (int(d.group(4))*100)
         return m.group(1), int(m.group(2)), int(m.group(3)), m.group(4), millisecs
-    else:
-        return None, None, None, None, None
+    rezre = re.compile(r'.*, (.+) fps\(r\): Video: (.+), (\d+)x(\d+).*')
+    m = rezre.search(output)
+    if m:
+        millisecs = ((int(d.group(1))*3600) + (int(d.group(2))*60) + int(d.group(3)))*1000 + (int(d.group(4))*100)
+        return m.group(2), int(m.group(3)), int(m.group(4)), m.group(1), millisecs
+    return None, None, None, None, None
        
 def suported_format(inFile):
     if video_info(inFile)[0]:
