Search found 21 matches

Go to advanced search

by solud
04 Jan 2012 21:32
Forum: Development around libVLC
Topic: Creating a new overlay filter using metadata from RTSP
Replies: 2
Views: 1079

Re: Creating a new overlay filter using metadata from RTSP

Console output from Live555's openRTSP tool shows that there are two tracks for this stream: video/H264 and control/X-HREF. The second track isn't setup by openRTSP as it outputs "Unable to create receiver for "control/X-HREF" subsession: RTP payload format unknown or not supported.&q...
by solud
03 Jan 2012 19:19
Forum: Development around libVLC
Topic: Creating a new overlay filter using metadata from RTSP
Replies: 2
Views: 1079

Creating a new overlay filter using metadata from RTSP

I've started a new project that involves a video device that streams using RTSP along with a standards-compliant metadata stream; it is standards-compliant in the sense that RTSP players like VLC/live555 will just drop the data unless they understand what to do with it. I have integrated libVLC into...
by solud
18 Apr 2011 22:49
Forum: Development around libVLC
Topic: Status on libvlcnet or any other C# binding
Replies: 16
Views: 3972

Re: Status on libvlcnet or any other C# binding

I have a working C# project using the latest version of VLC -- I find VLC works great for what I do with it: RTSP stream playback from Live555's OnDemandRTSPServer hosted on a separate machine. I came across a problem with releasing objects on a form hosting a couple VLC displays and found the fix (...
by solud
30 Mar 2011 22:59
Forum: Development around libVLC
Topic: playlist.stop() wont work... 1.1.7
Replies: 9
Views: 1465

Re: playlist.stop() wont work... 1.1.7

I have essentially no experience with the ActiveX control -- I tried it once and found it didn't work for what I wanted. LibVLC is easy to use -- follow the link to the thread I linked to you, and look for my post about a Sample Project I posted to illustrate the problem I was having. It doesn't con...
by solud
30 Mar 2011 18:04
Forum: Development around libVLC
Topic: playlist.stop() wont work... 1.1.7
Replies: 9
Views: 1465

Re: playlist.stop() wont work... 1.1.7

I have no great experience with C#. But in my case i start a thread call a function like you (set_vlc_stop) and then after i started the thread i call WaitForSingleObject(threadhandle, timeout) Rumpel, from what understand of how you implemented the thread, it's possible your call to WaitForSingleO...
by solud
30 Mar 2011 17:51
Forum: Development around libVLC
Topic: playlist.stop() wont work... 1.1.7
Replies: 9
Views: 1465

Re: playlist.stop() wont work... 1.1.7

You say you're using LibVLC 1.1.7, but you reference .playlist, which from what I can see is deprecated. Your object name is called vlcplugin -- are you using the ActiveX control? If you're using LibVLC, you should be using LibVLC Media, LibVLC Media Player, LibVLC Media List Player. Are you using a...
by solud
29 Mar 2011 23:03
Forum: Development around libVLC
Topic: playlist.stop() wont work... 1.1.7
Replies: 9
Views: 1465

Re: playlist.stop() wont work... 1.1.7

There is a big thread on this problem already, which has a solution at the end: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed] The problem you're having with playlist.stop is caused by a call to libvlc_media_player stop from within the main program thread. Just create a new thread to ca...
by solud
16 Mar 2011 18:24
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: LibVLC Deadlock on libvlc_media_player stop (win32) [Fix

private void StopVideo() { VlcMediaPlayer p1 = player1MediaPlayer; VlcMediaPlayer p2 = player2MediaPlayer; if (p1 != null) p1.Stop(); if (p2 != null) p2.Stop(); } private void VideoForm_FormClosing(object sender, FormClosingEventArgs e) { Thread t = new Thread(new ThreadStart(StopVideo)); t.Start()...
by solud
15 Mar 2011 18:54
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: LibVLC Deadlock on libvlc_media_player stop (win32)

I have fixed this "bug" in my software! I no longer believe this is a bug in LibVLC, per se -- more like the way the library is used. I'll try to explain what I've found, though since my experience in this type of thing is limited I may still be wrong (but currently deadlock-free)! The pro...
by solud
08 Mar 2011 19:15
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

I don't use the marquee features -- I turn off all OSD aspects with "--no-osd", "--no-video-title-show". I also use "--vout=directx" now, since I find it exasperates the deadlock bug on Windows 7 -- not sure why either. I agree with Rumpel in that I don't think it matte...
by solud
08 Mar 2011 01:07
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

More info regarding the deadlock:

The event libvlc_MediaPlayerStopped is fired before the deadlock occurs and FWIW libvlc_MediaPlayerEncounteredError does not fire.

Has anyone been able to reproduce this error, with or without the sample application I provided above?
by solud
04 Mar 2011 19:45
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

I don't think this is related to this thread. Your last call to release the LibVLC instance is not performed in my test app until the app is closed, while the bug I refer to occurs during the normal running of the application. I don't release the LibVLC instance when a form containing players is clo...
by solud
02 Mar 2011 21:15
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

Has anyone been able to confirm that they also experience the above issues using the sample project? I'd really love to know if I'm not the only one this happens with.
by solud
01 Mar 2011 01:04
Forum: Development around libVLC
Topic: libvlcnet - .NET library based on libvlc
Replies: 112
Views: 139689

Re: libvlcnet - .NET library based on libvlc

I'm sure VLC can do this too, but FWIW I use FFMPEG in my C# app ("ffmpeg.exe -ss 5 -vframes 1 -i video.mpg -f image2 img.jpg") to grab snapshots 5 seconds into a clip and dump out a JPG.
by solud
01 Mar 2011 00:50
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

If there is someone who would like to / can help out in finding this bug, I've put up a project file that displays two streams (from included Live555 RTSP server) on to a form. I've tested this project on XP, fully updated, and got it to deadlock twice within 5 loads of the form. On Windows 7 it tak...
by solud
24 Feb 2011 20:32
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

I've just tried the DirectX plugin instead of D3D (using "--vout=directx") -- no luck.
by solud
24 Feb 2011 01:31
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

I've been able to find more information on this problem: The deadlock is definitely caused by calls to libvlc_media_player_stop() / libvlc_media_list_player_stop() -- both end up with the same deadlock, but media_list_player just calls stop on its associated media_player so I'm guessing it's somethi...
by solud
22 Feb 2011 22:45
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

Re: Deadlock when closing a form with 2 players (win32)

I don't use any of the LibVLC callbacks, at least not yet. The video portion of the form is extremely simple. I don't like claiming there's a bug in someone else's code unless I can show some evidence, however without the use of LibVLC this form has been working for three years -- seems there's no w...
by solud
22 Feb 2011 20:37
Forum: Development around libVLC
Topic: LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]
Replies: 39
Views: 13538

LibVLC Deadlock on libvlc_media_player stop (win32) [Fixed]

I've been experiencing a deadlock on a form in my application that uses two media_list_players to play video on to two panels. The players connect to two different RTSP sources when the form is loaded, and the form accepts feedback on the video displayed before closing. When the form is closing, it ...
by solud
15 Mar 2008 22:08
Forum: Web and scripting
Topic: C# - First VLC control stops painting after second begins
Replies: 1
Views: 1606

Re: C# - First VLC control stops painting after second begins

After doing some more digging on the forums, it seems that disabling video overlaying in the actual VLC Player has solved the problem in my C# program. If I discover otherwise I will post here, but it's working now and I can continue wasting my weekend in front of Visual Studio. Thank you VideoLAN f...
by solud
15 Mar 2008 21:15
Forum: Web and scripting
Topic: C# - First VLC control stops painting after second begins
Replies: 1
Views: 1606

C# - First VLC control stops painting after second begins

Hi there VLC gurus! I'm hoping some skilled coder can clear up a snag I've run into with using C# and more than one VLC ActiveX control on the same form. I'd also like to mention that this happens with libvlc.dll using VlcUserControl which is found on the C# wiki, and what I'm building with now inst...

Go to advanced search