Search found 189 matches

Go to advanced search

by XilasZ
19 Nov 2010 13:16
Forum: Development around libVLC
Topic: Changing canvas while Playing video
Replies: 14
Views: 1260

Re: Changing canvas while Playing video

use libvlc_video_set_track and libvlc_video_get_track.

get_track will give you the track id, set_track(-1) will disable the video track, and then set_track(id) to renable it.
by XilasZ
19 Nov 2010 06:50
Forum: Development around libVLC
Topic: audio visual effect issue
Replies: 11
Views: 2297

Re: audio visual effect issue

i got "1.1.5 The Lugagge" on windows from libvlc_get_version. But it's true that the version in the properties of libvlccore.dll file is still "1.1.0". About goom, there was no crash when i had an nvidia. but since i got an ati, it happens. So i think it's related to some release...
by XilasZ
18 Nov 2010 21:25
Forum: Development around libVLC
Topic: audio visual effect issue
Replies: 11
Views: 2297

Re: audio visual effect issue

Arf, i feel stupid, i forgot, i already tried "audio-visual=visual" on audio files, and "effect-list=none" on videos, but of course "effect-list=none" alone does nothing, as it's just a subsetting of the "visual" module. Thanks for the tip. Working perfectly f...
by XilasZ
18 Nov 2010 20:51
Forum: Development around libVLC
Topic: Changing canvas while Playing video
Replies: 14
Views: 1260

Re: Changing canvas while Playing video

try to disable the video track, assign the surface to canvas2, and renable the video track, in theory this should work.
by XilasZ
18 Nov 2010 09:10
Forum: Development around libVLC
Topic: Capturing mouse clicks
Replies: 12
Views: 5854

Re: Capturing mouse clicks

it's normal, libvlc_video_set_mouse_input(true) will tell libvlc that it can capture mouse and react to it, but it won't interact with your program. The issue is that libvlc capture the mouse and keep it for itself, so your app won't see any mouse activity. try to use libvlc_video_set_mouse_input(fa...
by XilasZ
17 Nov 2010 21:02
Forum: Development around libVLC
Topic: audio visual effect issue
Replies: 11
Views: 2297

Re: audio visual effect issue

nice try, but the "effect-list=none" fix doesn't always work. For instance, if the first media is a video with "effect-list=none", visual effects won't work for another media, even with "audio-visual=visualizer". But yes, if the first media is an audio one with "au...
by XilasZ
17 Nov 2010 20:47
Forum: Development around libVLC
Topic: VlcJ Check Video-Audio
Replies: 3
Views: 581

Re: VlcJ Check Video-Audio

Don't know about vlcj, but in libvlc, there is libvlc_media_player_has_vout which return the number of video outputs (usually 0 or 1), and you can check if the media contains video tracks by calling libvlc_video_get_track_count.
by XilasZ
17 Nov 2010 20:44
Forum: Development around libVLC
Topic: stopping streaming without stopping playing
Replies: 10
Views: 1105

Re: stopping streaming without stopping playing

As far as i know, you can't do that with libvlc (or even vlc), correct me if i'm wrong, i would learn something :lol:
by XilasZ
17 Nov 2010 20:38
Forum: Development around libVLC
Topic: Capturing mouse clicks
Replies: 12
Views: 5854

Re: Capturing mouse clicks

There is libvlc_video_set_mouse_input (new in v1.1), to enable/disable mouse handling by vlc.

But i think the best way to handle mouse/key input is to handle them yourself in your app. Embed the video frame in your GUI and handle mouse events from the GUI, not vlc.
by XilasZ
15 Nov 2010 09:26
Forum: General VLC media player Troubleshooting
Topic: VLC 1.1.5
Replies: 18
Views: 6952

Re: VLC 1.1.5

Working fine for me on XP Pro SP3.
by XilasZ
14 Nov 2010 20:07
Forum: Development around libVLC
Topic: audio visual effect issue
Replies: 11
Views: 2297

Re: audio visual effect issue

It may be related to the video card. i had an nvidia before and it was working fine, but now i got an ati, and it crashes, as if something is not initialized/released correctly. It only affects the goom effect of vlc, all games and 3d related programs works fine, so i assume there is a bug inside go...
by XilasZ
14 Nov 2010 15:10
Forum: Development around libVLC
Topic: audio visual effect issue
Replies: 11
Views: 2297

audio visual effect issue

Hi, I've just noticed that in the latest version of libvlc, the audio visual effect can be set only once. With the same vlc instance, i use libvlc_media_new_location and libvlc_media_player_set_media to change media. I also add a few options on the media (audio_track_id, audio-visual, deinterlace, ....
by XilasZ
14 Nov 2010 14:22
Forum: Development around libVLC
Topic: Multiple video tracks issue
Replies: 0
Views: 456

Multiple video tracks issue

hi, I just did a few tests with a media file containing multiples tracks (video, audio, subtitles). Audio and subtitles works great, VLC/libvlc is able to switch tracks or disable them. But the video does not. VLC displays all video tracks at the same time, and it seems vlc doesn't switch between vi...
by XilasZ
14 Nov 2010 13:30
Forum: Development around libVLC
Topic: C# Wrapper declaration libvlc_media_player_set_hwnd
Replies: 4
Views: 1020

Re: C# Wrapper declaration libvlc_media_player_set_hwnd

Even if it's far from a simple example, you can take a look at my sources here : http://fritivi.git.sourceforge.net/git/gitweb.cgi?p=fritivi/fritivi;a=tree Upload your project somewhere, i'll take a look. libvlc.dll doesn't need to be added directly in the project as a reference or anything else, ju...
by XilasZ
13 Nov 2010 01:49
Forum: Development around libVLC
Topic: C# Wrapper declaration libvlc_media_player_set_hwnd
Replies: 4
Views: 1020

Re: C# Wrapper declaration libvlc_media_player_set_hwnd

it should work, i use this in my wrapper (fully updated to v1.1.4) :

Code: Select all

[DllImport("libvlc")] internal static extern void libvlc_media_player_set_hwnd(IntPtr p_mi, IntPtr drawable);
by XilasZ
03 Nov 2010 11:30
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 85189

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

So what was the issue ?
by XilasZ
02 Nov 2010 13:52
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 85189

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

I can't take a look at your project right now, but did you manage to play a stream or any media with your project ? (see if libvlc and the plugins load or not). And which version of libvlc do you use ? Because wrapper 0.9 works with libvlc 0.9, wrapper 1.0 works with libvlc 1.0, and both doesn't wor...
by XilasZ
02 Nov 2010 13:43
Forum: Development around libVLC
Topic: vlc 1.1.3 compile with VC 2005(2008) and cover.dll source
Replies: 30
Views: 8641

Re: vlc 1.1.3 compile with VC 2005(2008) and cover.dll sourc

i don't remember exactly how i did it, but i compiled it when i tried, just had to tweak some includes.

But i don't know if the compiled vlc runs, i was just interested by the modules.
by XilasZ
02 Nov 2010 13:38
Forum: Development around libVLC
Topic: How can I get the DAR of a video?
Replies: 1
Views: 365

Re: How can I get the DAR of a video?

I don't think you are doing anything wrong, libvlc_video_get_aspect_ratio returns nothing when the aspect ratio has not been set.
Maybe libvlc_video_get_aspect_ratio doesn't returns the DAR defined in the input file, even if vlc handle it correctly, i don't know.
by XilasZ
26 Oct 2010 17:25
Forum: Development around libVLC
Topic: How to develop a plugin for vlc player
Replies: 8
Views: 16006

Re: How to develop a plugin for vlc player

The easiest way is to get vlc source code, compile it, and add anything you want. But it's also possible to build a stand alone plugin. You'll have to add vlc's includes and fix issues on your environment. JoungEunKim did it on windows with visual studio 2005/8 (see here, he uploaded an example base...
by XilasZ
11 Oct 2010 17:29
Forum: Development around libVLC
Topic: Problem : setup VS2008 to work with VLC
Replies: 2
Views: 606

Re: Problem : setup VS2008 to work with VLC

you are missing standard int types from C99, which are not included in visual studio. take a look here (http://forum.videolan.org/viewtopic.php?f=32&t=81793#p274912), and especially the util folder. just include "types.h" (from the util folder) in your code, that should solve the ssize...
by XilasZ
11 Oct 2010 17:23
Forum: Development around libVLC
Topic: vlc 1.1.3 compile with VC 2005(2008) and cover.dll source
Replies: 30
Views: 8641

Re: vlc 1.1.3 compile with VC 2005(2008) and cover.dll sourc

Oups, sorry :oops:

By the way, i successfully compiled my module without MFC, i tracked down the missing includes (tchar.h, wchar.h and another one, included inside MFC), now i can work, thanks again :)
by XilasZ
09 Oct 2010 12:06
Forum: Development around libVLC
Topic: Question about audio streams inside vlc's core
Replies: 5
Views: 783

Re: Question about audio streams inside vlc's core

Hi, after reading your answers, i though it was possible to force channels number and sampling rate in an audio filter, and that the output module would just adapt to the news settings. But instead it's locked, and if vlc decided it was stereo, even if an audio filter upmix it to 5.1, vlc just inser...
by XilasZ
09 Oct 2010 10:05
Forum: Development around libVLC
Topic: vlc 1.1.3 compile with VC 2005(2008) and cover.dll source
Replies: 30
Views: 8641

Re: vlc 1.1.3 compile with VC 2005(2008) and cover.dll sourc

Send a private message, he'll receive a notification by email.

Go to advanced search