Allow format to be specified by -f flag

This commit is contained in:
Anand Tamariya 2018-12-20 14:47:07 +05:30
parent 835e45abab
commit a79580dc9a

View File

@ -294,7 +294,7 @@ class FFmpegFD(ExternalFD):
if live: if live:
args += ['-rtmp_live', 'live'] args += ['-rtmp_live', 'live']
args += ['-i', url, '-c', 'copy'] args += ['-i', url]
if self.params.get('test', False): if self.params.get('test', False):
args += ['-fs', compat_str(self._TEST_FILE_SIZE)] args += ['-fs', compat_str(self._TEST_FILE_SIZE)]