Using the quick start settings from ReadTheDocs, executing a dry run on an MP4 or MKV file generates the following error:
pytranscoder -v --dry-run video.mp4
Traceback (most recent call last):
File "/home/sysadmin/.local/bin/pytranscoder", line 8, in <module>
sys.exit(main())
File "/home/sysadmin/.local/lib/python3.8/site-packages/pytranscoder/transcode.py", line 341, in main
start()
File "/home/sysadmin/.local/lib/python3.8/site-packages/pytranscoder/transcode.py", line 463, in start
host.enqueue_files(files)
File "/home/sysadmin/.local/lib/python3.8/site-packages/pytranscoder/transcode.py", line 274, in enqueue_files
print(str(media_info))
File "/home/sysadmin/.local/lib/python3.8/site-packages/pytranscoder/media.py", line 42, in __str__
subs = [s['stream'] + ':' + s['lang'] + ':' + s['default'] for s in self.subtitle]
File "/home/sysadmin/.local/lib/python3.8/site-packages/pytranscoder/media.py", line 42, in <listcomp>
subs = [s['stream'] + ':' + s['lang'] + ':' + s['default'] for s in self.subtitle]
KeyError: 'default'
pytranscoder-ffmpeg version:
python3 -m pip show pytranscoder-ffmpeg
Name: pytranscoder-ffmpeg
Version: 2.2.2
Summary: A ffmpeg workflow manager for transcoding
Home-page: https://github.com/mlsmithjr/transcoder
Author: Marshall L Smith Jr
Author-email: marshallsmithjr@gmail.com
License: UNKNOWN
Location: /home/sysadmin/.local/lib/python3.8/site-packages
Requires: pyyaml, crayons
Required-by:
Using the quick start settings from ReadTheDocs, executing a dry run on an MP4 or MKV file generates the following error:
pytranscoder-ffmpeg version:
Operating system is Ubuntu 20.04.2 LTS:
Running ffprobe generates the following output for video.mp4:
And ffmpeg version: