ahmethmo / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

Webcamstudio Video Source is not working Ubuntustudio 12.04 #112

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Webcamstudio is not playing video source 

error on terminal :

[code]Welcome to WebcamStudio ...
Name: HD-Lovely-Light-Waves-Loop_40111.mov
SourceMovie registered.
Start Movie/DVB Audio.
HD-Lovely-Light-Waves-Loop_40111.mov Video Cleared ...
Exception in thread "Thread-9" java.lang.NullPointerException
    at webcamstudio.media.renderer.Capturer$1.run(Capturer.java:83)
    at java.lang.Thread.run(Thread.java:701)
HD-Lovely-Light-Waves-Loop_40111.mov Audio Cleared ...
HD-Lovely-Light-Waves-Loop_40111.mov unregistered.
[code/]

The Operating system you are using (Linux, Windows etc)?
ubuntu studio 12.04.4 

What version of WebcamStudio are you using?
0.64(511)

What version of Java are you using?
[code]java version "1.6.0_31"
OpenJDK Runtime Environment (IcedTea6 1.13.3) (6b31-1.13.3-1ubuntu1~0.12.04.2)
OpenJDK Client VM (build 23.25-b01, mixed mode, sharing)
[code/]

What is your Webcamera vendor, model and version?
Sony PSEye

For *nix users please enter the output from "sudo lsusb"?
[code]Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 
Wireless Adapter
Bus 003 Device 002: ID 09da:000a A4 Tech Co., Ltd Optical Mouse Opto 510D
Bus 002 Device 002: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision 
Technologies, Inc. Sony Playstation Eye
Bus 004 Device 002: ID 045e:0707 Microsoft Corp. Wireless Laser Mouse 8000
Bus 004 Device 003: ID 1934:0702 Feature Integration Technology Inc. (Fintek) 
Integrated Consumer Infrared Receiver/Transceiver
Bus 004 Device 004: ID 045e:0717 Microsoft Corp. 
Bus 004 Device 005: ID 045e:0714 Microsoft Corp. 
[code/]

Original issue reported on code.google.com by Gilad.x on 23 May 2014 at 3:31

GoogleCodeExporter commented 8 years ago
Hi Gilad.x,
 I didn't make the package for Ubuntu 12.04 because the code was refactored to Java 1.7 and in 12.04 the default Java is 1.6.
Try to install oracle jre 1.7 and switch the default Java JVM to it.
Be also sure to have all avconv and gstreamer0.10 / 1.0 libs installed.
The dependences are:

  openjdk-7-jre,
  java-wrappers,
  libappframework-java,
  libcommons-cli-java,
  libcommons-codec-java,
  libcommons-httpclient-java,
  libcommons-lang3-java,
  libjsr305-java,
  liblog4j1.2-java,
  libnb-absolutelayout-java,
  libnetty-java,
  libslf4j-java,
  libswingworker-java,
  libav-tools | ffmpeg,
  libavformat-extra-53 | libavformat-extra-54,
  gstreamer-tools,
  gstreamer0.10-plugins-good,
  gstreamer0.10-plugins-bad,
  gstreamer0.10-plugins-bad-multiverse,
  gstreamer0.10-plugins-ugly,
  gstreamer0.10-pulseaudio,
  gstreamer0.10-gnonlin,
  gstreamer1.0-tools,
  gstreamer1.0-alsa,
  gksu,
  pavucontrol,
  pulseaudio-utils,
  zenity,
  wmctrl,

karl

Original comment by soylent...@gmail.com on 23 May 2014 at 4:45

GoogleCodeExporter commented 8 years ago
Sorry, i just see now the version you are using. The build 511 was Java 1.6 
compatible.
Maybe some missing dependence?
karl.

Original comment by soylent...@gmail.com on 23 May 2014 at 4:52

GoogleCodeExporter commented 8 years ago
Hey karl thanks for the fast response 

I installed oracle jre 1.7 and switched the default Java JVM
I checked all dependencies wmctrl was missing the rest was good 
all other sources are working and sending to v4l2loopback ... 
still got the same error 

Welcome to WebcamStudio ...
Name: VJ Owns OnE! - Loop 7.avi
SourceMovie registered.
Start Movie/DVB Audio.
VJ Owns OnE! - Loop 7.avi Video Cleared ...
Exception in thread "Thread-8" java.lang.NullPointerException
    at webcamstudio.media.renderer.Capturer$1.run(Capturer.java:83)
    at java.lang.Thread.run(Thread.java:745)
VJ Owns OnE! - Loop 7.avi Audio Cleared ...

thanks Gilad

Original comment by Gilad.x on 23 May 2014 at 7:43

GoogleCodeExporter commented 8 years ago
Hi Gilad,
 from build 511 to now many changes has been made, so can you please try downloading this more recent jar:

https://drive.google.com/file/d/0BxkZ_wh6t7jbQWNJVnRQc2NaSTA/edit?usp=sharing

Unzip file, open a terminal, navigate too that directory and type:

java -jar WebcamStudio.jar

If you have all dependencies correctly installed WS should runs.
In this jar there must be more debugging infos.
Thanks for the feedback.
karl. 

Original comment by soylent...@gmail.com on 24 May 2014 at 6:21

GoogleCodeExporter commented 8 years ago
Karl Thanks 

I had the same error with the new version so

I reinstalled ubuntu studio I installed (fresh) oracle jre 1.7 and all 
dependencies 

and it works on ubuntu studio 12.04 WS 0.65 build 542 

I guess it was some configuration problem that I wasn't able to find in the 
last installed OS

The new build have a very nice new features. 

I hope that you have future plans for making Timeline editor and add the 
capability to send each source to a different output (I/O patchbay could be 
cool too)

It can open a lot of new options for VJ's to edit multi projection live shows 
and multi layer projection mapping. 

Jack support could be very handy too

Thank you for your great work 

Gilad

Original comment by Gilad.x on 24 May 2014 at 6:33

GoogleCodeExporter commented 8 years ago
Hi Gilad,
 i'm happy to ear that it works :)
Currently the 542 version has some bugs but, as i commit the new build, it will 
be available to download.
Thanks for the interesting suggestions, i will surely try to take a look. :)
This is the GDrive where I store all compiled dists:

https://drive.google.com/folderview?id=0BxkZ_wh6t7jbRFZzalVpNG93YW8&usp=sharing

Have a good day.
karl.

Original comment by soylent...@gmail.com on 24 May 2014 at 7:03

GoogleCodeExporter commented 8 years ago

Original comment by soylent...@gmail.com on 24 May 2014 at 7:08