jvlc and overlay problems

*nix specific usage questions
agussi
New Cone
New Cone
Posts: 9
Joined: 11 Jun 2008 11:51

jvlc and overlay problems

Postby agussi » 23 Jun 2008 11:12

Hi Filippo,

I am using jvlc for my project capturing a webcam stream, and transcoding to a file in linux.
I am able to display it in my own frame.
My problem is when I change the parameters in vlc in order to add time overlay on the video, I am getting a jvm crash :

Code: Select all

# # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xb7dfc9bc, pid=9618, tid=2870418320 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing) # Problematic frame: # C [libc.so.6+0x739bc] memcpy+0x1c #
Here is my java code :

Code: Select all

JVLC jvlc = new JVLC(args); String videoMedia = "/dev/video0"; String audioMedia = "/dev/audio1"; MediaDescriptor mediaDescriptor = new MediaDescriptor(jvlc, "v4l://"+videoMedia); mediaDescriptor.addOption(":v4l-adev="+audioMedia); mediaDescriptor.addOption(":v4l-norm=3"); mediaDescriptor.addOption(":v4l-frequency=-1"); mediaDescriptor.addOption(":sout=#transcode{vcodec=mp4v,vb=768,scale=1,acodec=mp3,ab=128,channels=2,soverlay}:duplicate{dst=display,dst=std{access=file,mux=ts,dst=\"/home/agussi/vlc.mpeg\"}}");
Thanks for your help.

cordeo
New Cone
New Cone
Posts: 1
Joined: 20 Oct 2008 10:07

Re: jvlc and overlay problems

Postby cordeo » 20 Oct 2008 10:28

I experience this very bug regularly when I'm working from NetBeans. The bug is actually an error in the zip-reading code and is triggered by class-loading (jar-files are in fact zip-files).

Can the error be reproduced consistently? If so, adding a comment on the bug report would probably be useful:
https://bugs.launchpad.net/ubuntu/+sour ... bug/227217


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests