File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -420,15 +420,15 @@ class FFMpegBase(object):
420
420
421
421
@property
422
422
def output_args (self ):
423
- # The %dk adds 'k' as a suffix so that ffmpeg treats our bitrate as in
424
- # kbps
425
423
args = ['-vcodec' , self .codec ]
426
424
# For h264, the default format is yuv444p, which is not compatible
427
425
# with quicktime (and others). Specifying yuv420p fixes playback on
428
426
# iOS,as well as HTML5 video in firefox and safari (on both Win and
429
427
# OSX). Also fixes internet explorer. This is as of 2015/10/29.
430
428
if self .codec == 'h264' and '-pix_fmt' not in self .extra_args :
431
429
args .extend (['-pix_fmt' , 'yuv420p' ])
430
+ # The %dk adds 'k' as a suffix so that ffmpeg treats our bitrate as in
431
+ # kbps
432
432
if self .bitrate > 0 :
433
433
args .extend (['-b' , '%dk' % self .bitrate ])
434
434
if self .extra_args :
You can’t perform that action at this time.
0 commit comments