Search found 491 matches

Go to advanced search

by sherington
05 Feb 2015 23:15
Forum: Development around libVLC
Topic: grabbing timecode or getTime question
Replies: 5
Views: 810

Re: grabbing timecode or getTime question

There is no API in LibVLC to extract any timecode data.
by sherington
27 Jan 2015 12:50
Forum: Development around libVLC
Topic: This is really annoying. Please help for equalizer
Replies: 18
Views: 1836

This is really annoying. Please help for equalizer

Your problems with LibVLC will probably be over when 2.2.0 final is released, right now you're working with a pre-release version. I can't provide you with any link, especially not for Windows, I build vlc from vlc-git and vlc-2.2-git on Linux regularly and I use that. I do know that [KU]buntu 14.10...
by sherington
24 Jan 2015 16:12
Forum: Development around libVLC
Topic: Volume handling in 2.1.0 onwards
Replies: 17
Views: 3643

Re: Volume handling in 2.1.0 onwards

I've been looking at this again with 2.2.0-git. What I observe happening now (Linux, using Pulse Audio, I can't speak for other platforms) is that it *is* now possible to get/set the volume on a media player *before* playback begins. But if you invoke libvlc_media_player_stop, then from that point o...
by sherington
20 Jan 2015 15:40
Forum: Development around libVLC
Topic: Video Adjust functions behaviour changed?
Replies: 4
Views: 934

Re: Video Adjust functions behaviour changed?

Yes, this was fixed in 2.2.0 and 3.0.0
It is fixed in 2.2.0, I tested at f966a0f.

It does not work in 3.0.0, I tested at 87ed7b3, but it's very early days for 3.0.0 of course.
by sherington
20 Jan 2015 09:46
Forum: Development around libVLC
Topic: This is really annoying. Please help for equalizer
Replies: 18
Views: 1836

Re: This is really annoying. Please help for equalizer

Yep, my mistake, I got it working with fontconfig too but that's neither here nor there!

So I got a working vlc-2.2-git build at:

vlc: 2.2.0-rc2 Weatherwax, changeset 2.2.0-rc2-131-gf966a0f

I tested it just now and the equalizer works just fine.
by sherington
19 Jan 2015 10:55
Forum: Development around libVLC
Topic: This is really annoying. Please help for equalizer
Replies: 18
Views: 1836

Re: This is really annoying. Please help for equalizer

I can no longer build vlc-2.2.0 git because of a fontconfig version conflict (0.19 vs 0.18) after I upgraded my OS, so I can't check the latest version. The version of VLC installed by my OS is: 2.2.0-pre2 Weatherwax, changeset 2.2.0-pre1-15-g5178b24 I tested that just now and the equalizer seems to...
by sherington
12 Jan 2015 20:54
Forum: VLC media player Feature Requests
Topic: VLC to ChromeCast
Replies: 7
Views: 26627

Re: VLC to ChromeCast

vlc-git (presumably a future 3.0.0 version) can now send media to Chromecast. It is not available in the vlc-2.2 branch, so if you want to try it you'll probably have to build VLC yourself. I tested with MP4 and MP3 and basic playback works. Pausing and seeking doesn't really work, trying either see...
by sherington
12 Jan 2015 18:19
Forum: Development around libVLC
Topic: This is really annoying. Please help for equalizer
Replies: 18
Views: 1836

Re: This is really annoying. Please help for equalizer

I wrote some test code when the equalizer in LibVLC was first implemented, I've copied it here: https://gist.github.com/caprica/1a6d0468675af33f7d36 The linked code contains test cases for setting equalizer before playback, during playback, having the equalizer settings persist when changing media a...
by sherington
09 Jan 2015 16:08
Forum: Development around libVLC
Topic: 2.2.0 Adjust and Equalizer Problems
Replies: 4
Views: 605

Re: 2.2.0 Adjust and Equalizer Problems

For video adjust there was a change made a while ago that meant you had to explicitly re-enable the adjustment controls whenever you changed a value, I thought that change had been reverted, but it still doesn't work for me either. https://trac.videolan.org/vlc/ticket/11750 The audio equalizer works...
by sherington
21 Aug 2014 19:07
Forum: Development around libVLC
Topic: input sdp information from file with VLCJ
Replies: 7
Views: 1943

Re: input sdp information from file with VLCJ

I can't answer your specific question, but something you can try with vlcj is to change your original code to something like this:

Code: Select all

String mrl = "C:\\folder\\ws.sdp"; p.setPlaySubItems(true) p.playMedia( mrl );
by sherington
26 Jul 2014 20:43
Forum: Development around libVLC
Topic: libvlc_media_new_path() possible bug in version 2.1.3
Replies: 4
Views: 755

Re: libvlc_media_new_path() possible bug in version 2.1.3

You don't need to ask the user, some simple pattern matching should be enough.

i.e. local files don't look like URLs like "protocol://...", so match that.

I do this, it works just fine for everything I play.
by sherington
24 Jul 2014 09:04
Forum: Development around libVLC
Topic: libvlc_media_new_path() possible bug in version 2.1.3
Replies: 4
Views: 755

Re: libvlc_media_new_path() possible bug in version 2.1.3

You're supposed to use libvlc_media_new_location for things that aren't actual file paths.
by sherington
23 Jul 2014 09:26
Forum: Development around libVLC
Topic: libvlc_media_player_set_rate doesn't work
Replies: 10
Views: 1730

Re: libvlc_media_player_set_rate doesn't work

What about Float vs Double in vb.net, is that a thing?

Code: Select all

Public Sub libvlc_media_player_set_rate(Byval player as Intptr, Byval Speed as Float) End Sub
by sherington
21 Jul 2014 16:52
Forum: Development around libVLC
Topic: libvlc_media_player_set_rate doesn't work
Replies: 10
Views: 1730

Re: libvlc_media_player_set_rate doesn't work

Hmm... that LibVLC API function still works just fine for me with latest VLC 2.2.0-git. thanks for reply. can you share function defining and usage code please? I want to check my code for differences. Best regards. Well, I don't know what language you're using so I don't think I can help you with ...
by sherington
21 Jul 2014 13:45
Forum: Development around libVLC
Topic: libvlc_media_player_set_rate doesn't work
Replies: 10
Views: 1730

Re: libvlc_media_player_set_rate doesn't work

Hmm... that LibVLC API function still works just fine for me with latest VLC 2.2.0-git.
by sherington
09 Jul 2014 15:09
Forum: Development around libVLC
Topic: Video Adjust functions behaviour changed?
Replies: 4
Views: 934

Re: Video Adjust functions behaviour changed?

It seems this was indeed intentional, at least according to the commit log in the referenced ticket:

https://trac.videolan.org/vlc/ticket/11750
by sherington
30 Jun 2014 23:31
Forum: Development around libVLC
Topic: Video Adjust functions behaviour changed?
Replies: 4
Views: 934

Video Adjust functions behaviour changed?

Hello, Something changed (I don't know when it changed but I tested latest git as of time of writing) that affected how the video adjustment (Hue, Saturation, Brightness, Contrast, Gamma) functions in LibVLC work. It used to be the case that if you enabled video adjustment via libvlc_video_set_adjus...
by sherington
30 Jun 2014 17:32
Forum: Development around libVLC
Topic: Processing through sample buffer with vlcj
Replies: 5
Views: 837

Re: Processing through sample buffer with vlcj

It's basically a Java wrapper around "amem", so it works how amem works... which I don't really know to be honest.

There is no other way, at least not with vlcj, to do what you want.
by sherington
30 Jun 2014 15:30
Forum: Development around libVLC
Topic: Processing through sample buffer with vlcj
Replies: 5
Views: 837

Re: Processing through sample buffer with vlcj

Yes, but I would just reiterate if you actually want to hear something then in your play() method, after you have processed the samples with your algorithm, you actually need to send those processed samples to an API (like JavaSound).
by sherington
30 Jun 2014 14:17
Forum: Development around libVLC
Topic: Processing through sample buffer with vlcj
Replies: 5
Views: 837

Re: Processing through sample buffer with vlcj

You can use vlcj for things like this - you need to look at the so-called "direct" media player components, there's an implementation that provides access to the audio samples via the native callback. You need to be aware that you can't process those samples and then have VLC play them - y...
by sherington
05 Jun 2014 23:21
Forum: Development around libVLC
Topic: libVLC & JNI issue, Subscribing to new event in EventHandler
Replies: 5
Views: 772

Re: libVLC & JNI issue, Subscribing to new event in EventHan

I don't know for sure, but maybe it's because the MediaMetaChanged event pertains to a libvlc_media_t, and not a libvlc_media_player_t - there are different event managers, i.e. libvlc_media_event_manager vs libvlc_media_player_event_manager.
by sherington
20 May 2014 16:57
Forum: Development around libVLC
Topic: getSnapshot() not working in VLCJ?
Replies: 4
Views: 1424

Re: getSnapshot() not working in VLCJ?

You are not getting the same error, it's a different error. There was a bug in an earlier version of vlcj with that particular snapshot method (it should be fixed in the current release version). This bug was because getting a snapshot is actually asynchronous - you request the snapshot, then you wa...
by sherington
19 May 2014 13:26
Forum: Development around libVLC
Topic: getSnapshot() not working in VLCJ?
Replies: 4
Views: 1424

Re: getSnapshot() not working in VLCJ?

In fact getSnapshot() works perfectly well in vlcj, the problem is in your own code. Did you actually try looking at the line number in the stacktrace to see where the null pointer might be? It will point directly to the cause of your problem. I can only guess because there are no line numbers that ...
by sherington
24 Apr 2014 15:26
Forum: Development around libVLC
Topic: 2.2.0 and equalizer
Replies: 13
Views: 1258

Re: 2.2.0 and equalizer

There is an example in the VLC test sources: http://git.videolan.org/?p=vlc.git;a=blob_plain;f=test/libvlc/equalizer.c;h=e7c5ad550b6083221ee3e8a4e7cf977a71336ef4;hb=HEAD This test code shows how to get presets, get/set individual frequency values, and enable/disable the equalizer on a media player. ...

Go to advanced search