This commit is contained in:
j 2011-02-06 18:20:21 +05:30
parent 0feeef6d7d
commit 61c867dec1
2 changed files with 9 additions and 9 deletions

View file

@ -92,13 +92,6 @@ def stream(video, target, profile, info):
audioquality = 1 audioquality = 1
audiobitrate = None audiobitrate = None
audiochannels = 1 audiochannels = 1
elif profile == '270p':
height = 270
audiorate = 44100
audioquality = 0
audiobitrate = None
audiochannels = 1
elif profile == '240p': elif profile == '240p':
height = 240 height = 240

View file

@ -138,7 +138,7 @@ INSTALLED_APPS = (
AUTH_PROFILE_MODULE = 'user.UserProfile' AUTH_PROFILE_MODULE = 'user.UserProfile'
#Video encoding settings #Video encoding settings
#available profiles: 96p, 270p, 360p, 480p, 720p, 1080p #available profiles: 96p, 240p, 360p, 480p, 720p, 1080p
SITE_CONFIG = join(PROJECT_ROOT, '0xdb.json') SITE_CONFIG = join(PROJECT_ROOT, '0xdb.json')
DEFAULT_SORT = [{"key": "director", "operator": ""}] DEFAULT_SORT = [{"key": "director", "operator": ""}]
@ -146,7 +146,14 @@ DEFAULT_THEME = "classic"
VIDEO_PROFILE = '96p.webm' VIDEO_PROFILE = '96p.webm'
VIDEO_DERIVATIVES = [] VIDEO_DERIVATIVES = []
VIDEO_H264 = False
#0xdb
'''
VIDEO_PROFILE = '96p.webm'
VIDEO_DERIVATIVES = [
'96p.mp4'
]
'''
#Pad.ma #Pad.ma
''' '''