Search found 68 matches

Go to advanced search

by davidhoyt
31 Oct 2008 23:51
Forum: General VLC media player Troubleshooting
Topic: LibVlc Repeat Count
Replies: 0
Views: 496

LibVlc Repeat Count

Using the libvlc_media_player methods, is there a way to set the repeat count for a video? e.g. if I want to repeat the video twice: libvlc_media_player_play(2) or forever: libvlc_media_player_play(-1) This may change depending on the video being played so it's not something I can pass in to libvlc_...
by davidhoyt
28 Oct 2008 00:09
Forum: General VLC media player Troubleshooting
Topic: Windows Crash
Replies: 3
Views: 433

Re: Windows Crash

It works fine on the latest build I download from the nightlies, but not when I compile and run it myself. It's version 7.0.2600.5512.
by davidhoyt
27 Oct 2008 22:34
Forum: General VLC media player Troubleshooting
Topic: libvlc hangs
Replies: 12
Views: 4102

Re: libvlc hangs

When I'm getting ready to play something, I stop any previous media player object I have lying around, call libvlc_event_detach(), and then release it.

I then create a new media player object and then essentially call libvlc_event_attach() and then call play().
by davidhoyt
24 Oct 2008 21:32
Forum: General VLC media player Troubleshooting
Topic: Windows Crash
Replies: 3
Views: 433

Windows Crash

I'm attempting to cross-compile the absolute latest source (as of 20 min. ago) using Ubuntu 8.04 (hardy heron). I can get things to compile fine. When I run the linux compile, it works just fine. But under Windows it crashes every time in a call from libvlccore.dll to msvcrt.dll. I don't have much m...
by davidhoyt
22 Oct 2008 21:35
Forum: General VLC media player Troubleshooting
Topic: libvlc hangs
Replies: 12
Views: 4102

Re: libvlc hangs

Try creating an app that has at least 12 videos playing simultaneously. If you stop and then play, it'll lock up after about 4-5 videos.
by davidhoyt
20 Oct 2008 18:06
Forum: General VLC media player Troubleshooting
Topic: libvlc hangs
Replies: 12
Views: 4102

Re: libvlc hangs

I mentioned this problem in another thread as well (I didn't realize they were related): viewtopic.php?f=2&t=51184
by davidhoyt
20 Oct 2008 18:04
Forum: General VLC media player Troubleshooting
Topic: libvlc hangs
Replies: 12
Views: 4102

Re: libvlc hangs

That sounds very much like my problem. I tried to call it on a separate thread as well but it still locks up. I'm running it in Java. This is a major show stopper for us. I've gone as far as rewriting the entire Java binding as a result. To get around it, I suppose you could comment out where it acq...
by davidhoyt
17 Oct 2008 19:16
Forum: General VLC media player Troubleshooting
Topic: libvlc hangs
Replies: 12
Views: 4102

libvlc hangs

Try doing the following:
  • Subscribe to receive the end reached media player event.
  • Try calling libvlc_media_player_stop() from the callback.
It freezes on you.

I would think that it should do nothing and just return if it's already stopped. :?
by davidhoyt
17 Oct 2008 18:35
Forum: General VLC media player Troubleshooting
Topic: JVLC dead?
Replies: 19
Views: 10763

Re: JVLC dead?

I'm still waiting to hear back. If it's just a line of code or two, it's usually pretty quick. But this was much more than a line or two and it takes much longer for review and release... :roll:
by davidhoyt
10 Oct 2008 19:13
Forum: General VLC media player Troubleshooting
Topic: JVLC Hang
Replies: 2
Views: 1626

Re: JVLC Hang

Nevermind that. It still hangs...anyone have a clue what's going on? I think it's attempting to get a lock on something that's never released it.
by davidhoyt
10 Oct 2008 18:19
Forum: General VLC media player Troubleshooting
Topic: JVLC Hang
Replies: 2
Views: 1626

Re: JVLC Hang

Can someone confirm that you have to start playing from a different thread than the one used to stop/pause/etc.? I noticed it doesn't hang when I call play from another thread.
by davidhoyt
10 Oct 2008 00:09
Forum: General VLC media player Troubleshooting
Topic: JVLC Hang
Replies: 2
Views: 1626

JVLC Hang

So I allllmost have a working implementation... But libvlc_media_player_stop() hangs sometimes. I double-checked and where it's hanging is in the JNA call to it (Function.invokeVoid()). Is there any special threading issue with JNA calls that we should be aware of? Or anything with the libvlc_media_...
by davidhoyt
10 Oct 2008 00:02
Forum: General VLC media player Troubleshooting
Topic: Take Snapshot
Replies: 5
Views: 4904

Re: Take Snapshot

Awesome! Thanks so much! This is a good starting point.
by davidhoyt
08 Oct 2008 20:01
Forum: General VLC media player Troubleshooting
Topic: JVLC Crash
Replies: 20
Views: 3043

Re: JVLC Crash

I'm doing mine with the latest stable windows/linux releases. :)
by davidhoyt
06 Oct 2008 19:23
Forum: General VLC media player Troubleshooting
Topic: Take Snapshot
Replies: 5
Views: 4904

Take Snapshot

Is there a way to take a snapshot using libvlc that doesn't require saving it to disk first? IOW, can I retrieve an in-memory snapshot?
by davidhoyt
06 Oct 2008 18:47
Forum: General VLC media player Troubleshooting
Topic: JVLC dead?
Replies: 19
Views: 10763

Re: JVLC dead?

I'm attempting to get approval from my employer to release my code for a more reliable JVLC implementation. I'm hopeful they'll allow it. :P
by davidhoyt
06 Oct 2008 18:36
Forum: General VLC media player Troubleshooting
Topic: JVLC Crash
Replies: 20
Views: 3043

Re: JVLC Crash

If I can, I'll try to get permission to release my code. But I haven't done any work with the MediaListPlayer object. But I did create a custom JVLC, MediaPlayer, and MediaDescriptor class.

I think I got my freeze problem solved. We shall see. :D
by davidhoyt
03 Oct 2008 21:04
Forum: General VLC media player Troubleshooting
Topic: JVLC Crash
Replies: 20
Views: 3043

Re: JVLC Crash

Sorry - you're right, it was the MediaPlayer object. I'm having yet another problem with hosting multiple jvlc panels in a single dialog. They seem to lock up on me. They start playing, get to the end of the video (it's just a 3 second clip), and then it freezes. Sometimes it gets through just fine....
by davidhoyt
02 Oct 2008 21:56
Forum: General VLC media player Troubleshooting
Topic: JVLC Crash
Replies: 20
Views: 3043

Re: JVLC Crash

I'm not sure what the exact cause was, but since I've done lots of JNI layers in the past, I figured something wasn't being cleaned up right causing an invalid reference or something of the sort. So in my rewrite I essentially used the JVLC source as a reference and then rewrote it all. I also have ...
by davidhoyt
02 Oct 2008 21:49
Forum: General VLC media player Troubleshooting
Topic: JVLC Crash
Replies: 20
Views: 3043

Re: JVLC Crash

I managed to get it working - but you're not gonna like the solution! I basically rewrote the entire JVLC MediaDescriptor and MediaPlayer classes. It's rather ugly, quite complicated, and involved. But no more crashes! :D (At least not so far). If I can get approval to release my changes, I would be...
by davidhoyt
02 Oct 2008 19:30
Forum: General VLC media player Troubleshooting
Topic: JVLC dead?
Replies: 19
Views: 10763

Re: JVLC dead?

Just a note -- I'm not trying to sound ungrateful b/c I really do appreciate all of your hard work, blood, sweat, and tears that have gone into vlc. I just want to know one way or another if there's going to be active development on JVLC. Because that will determine if we do an in-house version and ...
by davidhoyt
02 Oct 2008 19:25
Forum: VLC media player Feature Requests
Topic: Packaging Feature
Replies: 1
Views: 351

Packaging Feature

This is from another post of mine: Actually, it would be immensely helpful if you guys (JVLC team or VLC team) could provide the plugins and vlc-control, etc., libraries for both win32 and linux distributions. Right now I get on the nightlies section of the site, download the intrepid build, and use...
by davidhoyt
02 Oct 2008 19:22
Forum: General VLC media player Troubleshooting
Topic: JVLC dead?
Replies: 19
Views: 10763

Re: JVLC dead?

I've been able to compile everything from scratch in the past, but it's been a beast to get it right. I prefer to just download the binaries and use them. Actually, it would be immensely helpful if you guys (JVLC team or VLC team) could provide the plugins and vlc-control, etc., libraries for both w...
by davidhoyt
02 Oct 2008 18:59
Forum: General VLC media player Troubleshooting
Topic: JVLC Crash
Replies: 20
Views: 3043

Re: JVLC Crash

My experience so far has been that the JVLC developers don't monitor these forums all that much or if they do, they don't post responses very often. On their trac site, they're 2 years late on reaching their milestone ( http://trac.videolan.org/jvlc/roadmap ). Hence this post: http://forum.videolan....

Go to advanced search