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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 03-21-2012, 09:47 AM
Gontran Gontran is offline
Junior Member
 
Join Date: Mar 2012
Posts: 8
Gontran is on a distinguished road
Default

Re: librtmp and python


Quote:
Originally Posted by newtonelectron View Post
This script will fail misserably on linux in python 2 or 3.

I started work on something similar about a month ago and I'm surpirsed your script works.
I had to define custom ctype structure & union classes for my script, other wise it would complain about segmentation faults.
I am running linux though, so maybe windows doesn't care as much.
I didn't try at home on linux, but at work, I have no complains running my script on a linux vm (virtualbox, ubuntu) except a dns error returned by librtmp (no segmentation faults). Maybe a network error on my vm config. I will try tonight on my ubuntu laptop and will post my results.

Could you be more precise on the errors you got running my script? We can improve it alltogether.
Reply With Quote
  #12  
Old 03-21-2012, 09:49 AM
Gontran Gontran is offline
Junior Member
 
Join Date: Mar 2012
Posts: 8
Gontran is on a distinguished road
Default

Re: librtmp and python


Quote:
Originally Posted by reumb View Post
gontran,i see your ip on 1 post or not?
I'm ready to answer to you but I don't understand your question
Reply With Quote
  #13  
Old 04-27-2012, 10:11 AM
amishb amishb is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
amishb is on a distinguished road
Default

Re: librtmp and python


Quote:
Originally Posted by Gontran View Post
I didn't try at home on linux, but at work, I have no complains running my script on a linux vm (virtualbox, ubuntu) except a dns error returned by librtmp (no segmentation faults). Maybe a network error on my vm config. I will try tonight on my ubuntu laptop and will post my results.

Could you be more precise on the errors you got running my script? We can improve it alltogether.
Hey guys.

I too am also getting the DNS error. I'm running from windows too. Cant figure out what could be causing it. Any ideas? I did a bit of googleing and someone has the same problem when implementing librtmp with VB, and he forgot to initialise winsock. But I'm not really sure what the issue is here.

Thanks
Reply With Quote
  #14  
Old 04-27-2012, 12:11 PM
amishb amishb is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
amishb is on a distinguished road
Default

Re: librtmp and python


Fixed it by inserting

Code:
import socket
Reply With Quote
  #15  
Old 03-19-2014, 05:57 AM
filippo.rosa filippo.rosa is offline
Junior Member
 
Join Date: Mar 2014
Posts: 11
filippo.rosa is on a distinguished road
Default

Re: librtmp and python


This project was definitively abandoned?
I refer to the issue of segmentation fault ...
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 11:26 AM.


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