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)

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 07:02 AM.