Hey im trying to stream on Twitch and Youtube at the same time.
im using this command python -m pylivestream.glob /VidoFiles youtube twitch pylivestream.json -glob "*.mp4"'
but i keep getting the error
Automatic encoder selection failed for output stream #0:1. Default encoder for format tee (codec none) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:1
Automatic encoder selection failed for output stream #0:1. Default encoder for format tee (codec none) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:1
/usr/bin/ffmpeg -loglevel error -re -i /VidoFiles /1.mp4 -codec:v libx264 -pix_fmt yuv420p -preset veryfast -b:v 4500k -g 120.0 -maxrate 4500k -bufsize 2250k -strict experimental -flags:v +global_header -f tee -map 0:v -map 0:a:0 [f=flv]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxx|[f=flv]rtmp://mrs02.contribute.live-video.net/app/live_xxxxxxxxxxxxxxxxxxxxxxxxxx/live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/usr/bin/ffmpeg -loglevel error -re -i / /VidoFiles /2.mp4 -codec:v libx264 -pix_fmt yuv420p -preset veryfast -b:v 4500k -g 120.0 -maxrate 4500k -bufsize 2250k -strict experimental -flags:v +global_header -f tee -map 0:v -map 0:a:0 [f=flv]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxxxxxxxxx|[f=flv]rtmp://mrs02.contribute.live-video.net/app/live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/usr/bin/ffmpeg -loglevel error -re -i /VidoFiles /3.mp4 -codec:v libx264 -pix_fmt yuv420p -preset veryfast -b:v 3000k -g 60.0 -maxrate 3000k -bufsize 1500k -strict experimental -flags:v +global_header -f tee -map 0:v -map 0:a:0 [f=flv]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxxxxxxxxxxxxx|[f=flv]rtmp://mrs02.contribute.live-video.net/app/live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Automatic encoder selection failed for output stream #0:1. Default encoder for format tee (codec none) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:1
CompletedProcess(args='python -m pylivestream.glob /VidoFiles youtube twitch pylivestream.json -glob "*.mp4"', returncode=0)
Hey im trying to stream on Twitch and Youtube at the same time. im using this command
python -m pylivestream.glob /VidoFiles youtube twitch pylivestream.json -glob "*.mp4"'
but i keep getting the errorHere is the JSON file
What can i do?