Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 01-22-2015, 11:17 PM
gaaara gaaara is offline
Member
 
Join Date: Nov 2013
Posts: 63
gaaara is on a distinguished road
Default

Question rtmpdump on python works on bash not works on python ...


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
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:16 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons