Closed upanitag closed 3 years ago
Do you have more than one version of shaka-streamer? Say, one from source and another installed through pip?
@upanitag I believe you most probably have downloaded the latest version of shaka-streamer
script and placed it in your working directory, while still having the old version of the project installed through pip. The script alone won't do, you need to pull the latest version of the whole project either through pip or GitHub.
Running this should fix your error:
pip3 install --upgrade shaka-streamer
And you should not move the shaka-streamer
script anywhere, you should be able to run the command like this:
shaka-streamer -i input.yaml -p pipeline.yaml -o output/
Notice shaka-streamer
not ./shaka-streamer
, this will invoke the script's latest version pulled through pip.
Thanks @joeyparrish & @meryacine. It worked!
% ./shaka-streamer -i input.yaml -p pipeline.yaml -o output/ Traceback (most recent call last): File "./shaka-streamer", line 125, in
sys.exit(main())
File "./shaka-streamer", line 107, in main
not args.use_system_binaries):
TypeError: start() takes from 4 to 7 positional arguments but 8 were given
input.yaml inputs:
extra_input_args: -s 1920x1080
width: 1920
height: 1080
media_type: video
pipeline.yaml
video_codecs:
vp9
manifest_format:
dash
segment_size: 4
segment_per_file: True