diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-01 00:23:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-01 00:23:32 +0100 |
| commit | 2ae897f092cedf6d061f17962ca19efad4858fdf (patch) | |
| tree | 5c3136e161dbf751808ccd877c867d0078f89454 /hacks/make_dummy_files | |
| parent | af98c4c415eb8093a85d60c4ce38c806ab188fe9 (diff) | |
Make dummy files with at least a slightly more accurate video frame rate.master
Diffstat (limited to 'hacks/make_dummy_files')
| -rwxr-xr-x | hacks/make_dummy_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacks/make_dummy_files b/hacks/make_dummy_files index 21cb1fd58..4d19c846c 100755 --- a/hacks/make_dummy_files +++ b/hacks/make_dummy_files @@ -98,7 +98,7 @@ for c in root.find('Playlist').findall('Content'): if c.find('VideoFrameRate') is not None: video_frame_rate = float(c.find('VideoFrameRate').text) video_length = int(c.find('VideoLength').text) - video_cmd = '-s qcif -f rawvideo -pix_fmt rgb24 -r %d -i /dev/zero' % video_frame_rate + video_cmd = '-s qcif -f rawvideo -pix_fmt rgb24 -r %f -i /dev/zero' % video_frame_rate if c.find('AudioStream') is not None: audio_channels = int(c.find('AudioStream').find('Mapping').find('InputChannels').text) audio_frame_rate = int(c.find('AudioStream').find('FrameRate').text) |
