diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 73a420ad..02c55367 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -65,7 +65,6 @@ def supported_formats(): 'h264': 'libx264' in stdout and 'DEA.L. aac' in stdout, } - def stream(video, target, profile, info, audio_track=0, flags={}): if not os.path.exists(target): ox.makedirs(os.path.dirname(target)) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 00d705e5..9b7c5e6e 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -138,6 +138,8 @@ class File(models.Model): else: self.is_video = False self.display_aspect_ratio = "4:3" + self.framerate = '' + self.video_codec = '' self.width = 0 self.height = 0 if 'audio' in self.info and self.info['audio'] and self.duration > 0: