Hello
i test rtmpdump on shell script it works no probleme an i try to intégrate this on python and i test = not works
i need help to get and solve the probleme
bash shell line =works
Code:
rtmpdump -v -T 'token' -r "$link1" -a "vod" -f "WIN 13,0,0,182" -W "http://website.com/components/com_vodvideo/mediaplayer/player-licensed.swf" -p "http://website.com" -y "mp4:$link2" -o "$namevid.mp4"
python line = not works (freezing)
Code:
# /!\ note: need to use os.chdir first to get to the folder with rtmpdump!
command = './module/rtmpdump -v -T "token" -r "' + vodlinks + '" -a "vod" -f "WIN 13,0,0,182" -W "http://website.com/components/com_vodvideo/mediaplayer/player-licensed.swf" -p "http://website.com" -y "mp4:' + url + '" -o "test.mp4"'
split_command = shlex.split(command)
subprocess.call(split_command)
ty in advence