Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streaming

(http://stream-recorder.com/forum/showthread.php?t=5000)

Stream Recorder 11-16-2009 06:35 AM

How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streaming


 
TubeMaster++ is a GUI application for Linux/Windows/Mac OS that allows to download RTMP and HTTP streams. Requires Java.

First of all download TubeMaster++ for Linux (Red Hat, Debian, Mandrake)
- Tested on Ubuntu 9.04, 9.10 (Debian).
- Tested on Fedora 11 (Red Hat).
- Tested on Mandriva 2009 (Mandrake).
Filename : tm++.linux.tar.gz (MD5 Checksum : 633ad3e372ff8d6504ad05547b094115).
Version : 1.5

How to install TubeMaster++ in Linux:
  • Download & Install Java SE Runtime Environment (JRE). (32Bits, NOT x64!) I used Ubuntu Software Center to install JRE.
  • Download & Install Java SE Development Kit (JDK). (32Bits, NOT x64!). I used Ubuntu Software Center to install Open JDK.
  • Download & Install LibPcap (Installed by Default). I used Synaptic packet manager to make sure LibPcap is installed in my Ubuntu 9.10 (Synaptic allows you to install and remove package)
  • Download & Install JPcap Library. I download the .deb package, opened it in the default package manager and installed it.
  • Make sure that "libjpcap.so" is in the "/usr/lib" directory
  • Download & Install FFMpeg with FFPlay. I typed the following in Terminal to install them in Ubuntu 9.10:
    Code:

    sudo apt-get install ffmpeg
    sudo apt-get install libavcodec-unstripped-52

  • Unpack tm++.linux.tar.gz (you can use tar -xvf tm++.linux.tar.gz in the Terminal)
  • Set the execute-flag for tm++.sh:
    Code:

    chmod +X tm++.sh
    Otherwise you will get the" tm++.sh: command not found" error.

How to use TubeMaster in Linux:
  • Run tm++.sh (you must have root rights):
    Code:

    sudo ./tm++.sh
  • Open your browser and navigate to a web-page you would like to record from. Play an online audio/video stream.

MIJ-VI 12-03-2010 10:43 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Hi.

I am unsure as to how to do this portion of the above instructions:

Quote:

[*]Unpack tm++.linux.tar.gz (you can use tar -xvf tm++.linux.tar.gz in the Terminal)[*]Set the execute-flag for tm++.sh:
Code:

chmod +X tm++.sh
Otherwise you will get the" tm++.sh: command not found" error.[/list]
How to use TubeMaster in Linux:
  • Run tm++.sh (you must have root rights):
    Code:

    sudo ./tm++.sh
  • Open your browser and navigate to a web-page you would like to record from. Play an online audio/video stream.

BTW. I'm using 32 bit Ubuntu 10.10.

Thank you.

Stream Recorder 12-03-2010 10:52 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Open the terminal and go to the directory where you have saved "tm++.tar.gz". Then try to unpack using tar. Then go to the directory with tm++.sh and run "chmod +X tm++.sh". Then you can run TubeMaster using "sudo ./tm++.sh".

MIJ-VI 12-03-2010 10:59 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Quote:

Originally Posted by Stream Recorder (Post 23384)
Open the terminal and go to the directory where you have saved "tm++.tar.gz". Then try to unpack using tar. Then go to the directory with tm++.sh and run "chmod +X tm++.sh". Then you can run TubeMaster using "sudo ./tm++.sh".

Thank you for your prompt reply.

How do I use Terminal go to the directory which holds tm++.sh?

Can I just drag said directory into the Terminal window to enter the required path?

Thanks again.

--------

EDIT:

How to change dir in terminal
http://ubuntuforums.org/showthread.php?t=458268

MIJ-VI 12-03-2010 11:34 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Quote:

Originally Posted by Stream Recorder (Post 23384)
Open the terminal and go to the directory where you have saved "tm++.tar.gz". Then try to unpack using tar. Then go to the directory with tm++.sh and run "chmod +X tm++.sh". Then you can run TubeMaster using "sudo ./tm++.sh".

I unpacked tm++.linux.tar.gz. Doing so resulted in a folder named TubeMaster++.

In said folder were the following items:

- a folder named lang
- a document named Install *HowTo.txt
- and a .jar archive named tm++.jar

These wasn't anything named tm++.sh

I then ran and got the following results in Terminal:

Code:

p4@ubuntu:~$ cd TubeMaster++
p4@ubuntu:~/TubeMaster++$ chmod +X tm++.sh
chmod: cannot access `tm++.sh': No such file or directory
p4@ubuntu:~/TubeMaster++$

What am I doing wrong?

EDIT:

*The last part of the instructions in this document are:

"=----- (2) -> Once all System Requirements are installed go to TubeMaster++ folder.
=----- (3) -> Run tm++.jar (You must be ROOT !).
=----- (4) -> If you have any questions, suggestions, or if you find some bugs, please contact me at : ggsofts[at]gmail.com"

How would one run Run tm++.jar and do so as root?

I've e-mailed this ^ question to ggsofts[at]gmail.com as well.

Stream Recorder 12-03-2010 03:38 PM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
You're right. There is no tm++.sh in the latest version and you don't need to use chmod.

Just run tm++.sh as an admin, for example:
Code:

sudo ./tm++.sh

Stream Recorder 12-03-2010 03:49 PM

How to install and use TubeMaster++ in Linux (like Ubuntu 10.04) to record streami


 
First of all download TubeMaster++ for Linux (Red Hat, Debian, Mandrake)
- Tested on Ubuntu 10.04 (Debian).
- Tested on Fedora 11 (Red Hat).
- Tested on Mandriva 2009 (Mandrake)
Filename : tm++.linux.tar.gz
Version : 2.0

How to install TubeMaster++ in Linux:
  • Download & Install Java SE Runtime Environment (JRE). (32Bits, NOT x64!) I used Ubuntu Software Center to install JRE.
  • Download & Install Java SE Development Kit (JDK). (32Bits, NOT x64!). I used Ubuntu Software Center to install Open JDK.
  • Download & Install LibPcap (Installed by Default). LibPcap was already installed in my Ubuntu 10.04 (but you can use Synaptic package manager to install and remove packages)/
  • Download & Install JPcap Library. I download the .deb package, opened it in the default package manager and installed it.
  • Download & Install FFMpeg with FFPlay. I typed the following in Terminal to install them in Ubuntu 10.04:
    Code:

    sudo apt-get install ffmpeg
    sudo apt-get install libavcodec-unstripped-52

  • Unpack tm++.linux.tar.gz (you can use tar -xvf tm++.linux.tar.gz in the Terminal)

How to use TubeMaster in Linux:
  • Open terminal and navigate to the directory where tm++.jar is, for example:
    Code:

    cd ~/TubeMaster++
  • Run tm++.jar (you must have root rights):
    Code:

    sudo ./tm++.jar
  • Open your browser and navigate to a web-page you would like to record from. Play an online audio/video stream.
  • TubeMaster will capture HTTP and RTMP streams from your web-browser.

MIJ-VI 12-03-2010 03:51 PM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Here's the e-mail I sent...

Hi.

I'm attempting to install and run TubeMaster++ under 32 bit Ubuntu 10.10 but I've hit a snag.

The last part of your instructions are:

"=----- (2) -> Once all System Requirements are installed go to TubeMaster++ folder.
=----- (3) -> Run tm++.jar (You must be ROOT !).
=----- (4) -> If you have any questions, suggestions, or if you find some bugs, please contact me at : ggsofts[at]gmail.com"

Via a step-by-step explanation, how would one run Run tm++.jar and do so as root?

BTW. I'll post your reply in this thread:

How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streaming
http://stream-recorder.com/forum/ins...html#post23384

Thank you.

--------

...And the reply I've just received:

"Hello,

The .sh script was replaced by the JAR archive.
So you can try to run it with "./tm++.jar" or "java -jar tm++.jar" (AS ROOT).

Regards,

GgSofts."

--------

So using the root Terminal I tried this...

Code:

root@ubuntu:/home/p4# cd TubeMaster++
root@ubuntu:/home/p4/TubeMaster++# ./tm++.jar
TubeMaster++ detected operating system : Linux
java.io.FileNotFoundException: null/Errors.log (No such file or directory)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
        at Main.Commun.logError(Commun.java:45)
        at Main.MainForm.main(MainForm.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
root@ubuntu:/home/p4/TubeMaster++# java -jar tm++.jar
TubeMaster++ detected operating system : Linux
java.io.FileNotFoundException: null/Errors.log (No such file or directory)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
        at Main.Commun.logError(Commun.java:45)
        at Main.MainForm.main(MainForm.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
root@ubuntu:/home/p4/TubeMaster++#

...and It still doesn't work. :(

EDIT: I just tried to put the following in a new post but this forum won't let me do so. :confused:

Code:

p4@ubuntu:~$ sudo ./tm++.jar
sudo: ./tm++.jar: command not found
p4@ubuntu:~$


Stream Recorder 12-03-2010 04:07 PM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 10.04) to record stream


 
Quote:

Originally Posted by MIJ-VI (Post 23397)
EDIT: I just tried to put the following in a new post but this forum won't let me do so. :confused:

Some posts will appear after moderation. Our antispam filter works automatically.

Quote:

Originally Posted by MIJ-VI (Post 23397)
Code:

p4@ubuntu:~$ sudo ./tm++.jar
sudo: ./tm++.jar: command not found
p4@ubuntu:~$


You need to navigate to the directory where tm++.jar is first.

Try to ask the developer about the other errors.

MIJ-VI 12-03-2010 04:18 PM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
I've e-mailed GgSofts a link to this thread.

MIJ-VI 12-03-2010 05:40 PM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
I've received the following reply...

"Hello,

hmm it seems you have a permission problem. The "null" value youe see is the system doesn't want to give the current directory for some obscure permission reason.
I joined a new JAR file to this email, can you replace your tm++.jar by this one and tell me what happen ?"

...and I tried the new tm++.jar file which GgSofts just sent me as an e-mail attachment after first checking for its executable bit and seeing this...



...and then getting this Terminal output:

Code:

p4@ubuntu:~$ cd TubeMaster++
p4@ubuntu:~/TubeMaster++$ sudo ./tm++.jar
sudo: ./tm++.jar: command not found
p4@ubuntu:~/TubeMaster++$ sudo java -jar tm++.jar
TubeMaster++ detected operating system : Linux
java.io.FileNotFoundException: null/Errors.log (No such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
at Main.Commun.logError(Commun.java:45)
at Main.MainForm.main(MainForm.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
p4@ubuntu:~/TubeMaster++$

So I tried this...



...and then got this:

Code:

p4@ubuntu:~$ cd TubeMaster++
p4@ubuntu:~/TubeMaster++$ sudo ./tm++.jar
TubeMaster++ detected operating system : Linux
java.io.FileNotFoundException: null/Errors.log (No such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
at Main.Commun.logError(Commun.java:45)
at Main.MainForm.main(MainForm.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
p4@ubuntu:~/TubeMaster++$ sudo java -jar tm++.jar
TubeMaster++ detected operating system : Linux
java.io.FileNotFoundException: null/Errors.log (No such file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
at Main.Commun.logError(Commun.java:45)
at Main.MainForm.main(MainForm.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
p4@ubuntu:~/TubeMaster++$


MIJ-VI 12-04-2010 09:33 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
OK then. I've just read another e-mail from GgSofts...

"Hello,

Ok i understand what is happening, an exception is thrown just before we can write the error log. I need you to test
this new joined JAR archive and run it. Tell me what is displayed in your console. Thanks."

...and I downloaded the latest tm++.jar file he included as an e-mail attachment, put it into its TubeMaster++ folder, and after discovering that its executable bit was set like this...



...I ran/got this in Terminal:

Code:

p4@ubuntu:~$ cd TubeMaster++
p4@ubuntu:~/TubeMaster++$ sudo ./tm++.jar
sudo: ./tm++.jar: command not found
p4@ubuntu:~/TubeMaster++$ sudo java -jar tm++.jar
TubeMaster++ detected operating system : Linux
----- Begin Debug -----
java.awt.HeadlessException
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
        at java.awt.Window.<init>(Window.java:437)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at javax.swing.JFrame.<init>(JFrame.java:174)
        at Main.MainForm.<init>(MainForm.java:79)
        at Main.MainForm.main(MainForm.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)

----- End Debug -----
p4@ubuntu:~/TubeMaster++$

--------

Next, I repeated the above sequence with this variation:



Code:

p4@ubuntu:~$ cd TubeMaster++
p4@ubuntu:~/TubeMaster++$ sudo ./tm++.jar
TubeMaster++ detected operating system : Linux
----- Begin Debug -----
java.awt.HeadlessException
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
        at java.awt.Window.<init>(Window.java:437)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at javax.swing.JFrame.<init>(JFrame.java:174)
        at Main.MainForm.<init>(MainForm.java:79)
        at Main.MainForm.main(MainForm.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)

----- End Debug -----
p4@ubuntu:~/TubeMaster++$ sudo java -jar tm++.jar
TubeMaster++ detected operating system : Linux
----- Begin Debug -----
java.awt.HeadlessException
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
        at java.awt.Window.<init>(Window.java:437)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at javax.swing.JFrame.<init>(JFrame.java:174)
        at Main.MainForm.<init>(MainForm.java:79)
        at Main.MainForm.main(MainForm.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)

----- End Debug -----
p4@ubuntu:~/TubeMaster++$

--------

EDIT:

I've just tried to capture what I believe to be an RTMP video stream (from cam4) via Firefox 3.6.12 but I don't know what I should click on in Firefox to initiate said capture.

As well, said RTMP video stream is not being automatically and temporarily cached in /tmp like regular streamed .flv files usually are.

Stream Recorder 12-04-2010 10:35 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Quote:

Originally Posted by MIJ-VI (Post 23415)
I've just tried to capture what I believe to be an RTMP video stream (from cam4) via Firefox 3.6.12 but I don't know what I should click on in Firefox to initiate said capture.

As well, said RTMP video stream is not being automatically and temporarily cached in /tmp like regular streamed .flv files usually are.

RTMP streams are not cached.

Note that you can use rtmpsuck and rtmpsrv in Linux. See rtmpdump for more.

MIJ-VI 12-05-2010 09:53 AM

Re: How to install and use TubeMaster++ in Linux (like Ubuntu 9.10) to record streami


 
Quote:

Originally Posted by Stream Recorder (Post 23416)
RTMP streams are not cached.

Note that you can use rtmpsuck and rtmpsrv in Linux. See rtmpdump for more.

rtmpdump can be installed via Ubuntu's Synaptic Package Manager.

Unfortunately these instructions...

Ubuntu Manuals - How to use rtmpdump
http://manpages.ubuntu.com/manpages/...tmpdump.1.html

...are replete with the hieroglyphic-Water-Buffalo-Lodge-secret-handshake-some-assembly-required-and-good-luck-with-that-Jack-command-line-convolutions which characterize the use of GNU/Linux at seemingly every other turn. :(

rtmpdump needs a GUI.


All times are GMT -6. The time now is 10:15 AM.