This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 29th, 2012  |  syntax: None  |  size: 1.90 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. you need to update your rtmp.
  2.  
  3. I stole this code from LAGMonkey
  4.  
  5. I highly recomend that you login via SSH.
  6.  
  7. first remove any previous packages
  8.  
  9. Code:
  10. sudo apt-get purge rtmpdump
  11.  
  12. Then install your dependancies
  13. Code:
  14. sudo apt-get install build-essential git-core checkinstall libssl-dev
  15.  
  16. then copy and paste this
  17.  
  18. Code:
  19. cd ~/ && \
  20. git clone git://git.ffmpeg.org/rtmpdump && \
  21. cd rtmpdump && \
  22. version="$(git log -1 --abbrev-commit | grep commit | cut -d' ' -f2)" && \
  23. make VERSION="v2.4\ $version~git" && \
  24. sudo checkinstall --pakdir "$HOME/Desktop" --pkgname rtmpdump \
  25. --pkgversion "2.4-$version~git" --backup=no --default && sudo ldconfig
  26.  
  27. This will download, build and then install the latest git version of rtmpdump on your system. Once complete you can type "rtmpdump" and it should give you somthing like the following below (notice the version number)
  28.  
  29. Code:
  30. rxbmc@xbmc:~$ rtmpdump
  31. RTMPDump v2.4 5d03a4f~git
  32. (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
  33. original code is not my work but i have used it personally, this was taken from "ron999" over at http://ubuntuforums.org/showthread.php?t=1816737 credit should go to him and the rtmpdump team
  34. __________________________________________________ _________________________________________
  35. Updating RTMPDump
  36.  
  37. once you have installed RTMPDump from the code above, to update it you will have to do the following. Copy and paste as one SINGLE command.
  38.  
  39. Code:
  40. cd ~/rtmpdump && \
  41. git pull && \
  42. version="$(git log -1 --abbrev-commit | grep commit | cut -d' ' -f2)" && \
  43. make VERSION="v2.4\ $version~git" && \
  44. sudo checkinstall --pakdir "$HOME/Desktop" --pkgname rtmpdump \
  45. --pkgversion "2.4-$version~git" --backup=no --default && sudo ldconfig
  46.  
  47. This code takes you to your rtmpdump code folder (git clone), updates it to the latest git version, makes the new version and then installs it for you.
  48.  
  49. Once again thanks LagMonkey your a star and gets a thumbs up from me.
clone this paste RAW Paste Data