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
  #1  
Old 12-10-2012, 06:43 PM
WallyWorld WallyWorld is offline
Junior Member
 
Join Date: Dec 2012
Posts: 5
WallyWorld is on a distinguished road
Default

Cannot compile rtmpdump on Ubuntu 12.04


I been trying to compile rtmpdump on Ubuntu 12.04, but each time I get "Segmentation Fault"

I've tried on 2 separate systems and same result each time

The steps I use are:

Code:
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make VERSION="2.4.$(git log --pretty=format:'%h' -n 1)~git"
Then when I test it, I get the following segmentation fault
Code:
demon@ACCESS-DENIED:~/rtmpdump$ ./rtmpdump 
RTMPDump 2.4.19d3636~git
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Segmentation fault (core dumped)
What am I doing wrong?
Has anyone else compiled this on Ubuntu 12.04?

Code:
uname -a
Linux ACCESS-DENIED 3.2.0-34-generic-pae #53-Ubuntu SMP Thu Nov 15 11:11:12 UTC 2012 i686 i686 i386 GNU/Linux
Reply With Quote
  #2  
Old 12-12-2012, 02:34 AM
WallyWorld WallyWorld is offline
Junior Member
 
Join Date: Dec 2012
Posts: 5
WallyWorld is on a distinguished road
Default

Re: Cannot compile rtmpdump on Ubuntu 12.04


I found the problem,
I had to actually do 'make install', or checkinstall.

But even after doing that I was still getting 'Seg Fault'.

So I searched my drive for all occurrences of librtmp
I found one at "/usr/local/lib/librtmp.so.0" and another at "/usr/lib/i386-linux-gnu/librtmp.so.0"

"/usr/lib/i386-linux-gnu/librtmp.so.0" was an old copy from over a year ago
"/usr/local/lib/librtmp.so.0" was the newest

I deleted "/usr/lib/i386-linux-gnu/librtmp.so.0" then symlinked it to the one at "/usr/local/lib/librtmp.so.0"
Code:
"sudo ln -s /usr/local/lib/librtmp.so.0 /usr/lib/i386-linux-gnu/librtmp.so.0"
Now rtmpdump works properly
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 01:29 AM.


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