Search found 130 matches

Go to advanced search

by mangokm40
09 Jan 2018 20:44
Forum: Development around libVLC
Topic: libvlc: how to get CoverArt from file?
Replies: 1
Views: 269

Re: libvlc: how to get CoverArt from file?

I'm using libvlc_media_get_meta() to get it from mp3 files. Did you try that already?
by mangokm40
14 Feb 2017 16:29
Forum: Development around libVLC
Topic: setting gain value has no effect
Replies: 4
Views: 3807

Re: setting gain value has no effect

...also...

I couldn't find the details for "audio-filter=gain". Are you sure this is a media option and not an instance option?
by mangokm40
14 Feb 2017 16:24
Forum: Development around libVLC
Topic: setting gain value has no effect
Replies: 4
Views: 3807

Re: setting gain value has no effect

According to this link: http://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__media.html#gae1d3baee3f4610c6fe5818defcad3e6f ..."We recommend using libvlc_media_new_path() instead when dealing with local files." I don't know if that will make any difference for your problem...
by mangokm40
06 Jan 2017 16:47
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

You are not answering the question; I can't help you.

Hmmm...The answer is yes. I am using the defaults for both.
I was trying to be more specific, in case I missed something. That's why I mentioned HOW I believe I'm using defaults.

Thanks for time.
by mangokm40
04 Jan 2017 16:37
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

Repeating myself but did you use default settings in both tests? Sorry about the lack of clarity. I downloaded the VLC 2.2.4 again and used it without changing (or even seeing) any settings. I am not using any arguments in the call to libvlc_new() and I'm not using any calls to libvlc_media_add_opt...
by mangokm40
04 Jan 2017 15:24
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

I downloaded VLC 2.2.4 (not the install version). I ran it as is and the x.265 video played fine. This time, I checked CPU usage. It was between 45%-52% for the 10 seconds I let the video play. When running the libvlc program, the video stutters and blocks right away and CPU usage is only 22%-28%. I...
by mangokm40
03 Jan 2017 15:07
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

Well then, are you sure you did not change the VLC preferences? LibVLC should play pretty much like VLC with default settings.

Well, I'm pretty sure. :)

I will download VLC again tonight and try with a fresh version.

Thanks.
by mangokm40
30 Dec 2016 22:50
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

Try to comment out the set_hwnd() call and see if it fixes performance problems then. Maybe your window handle is incompatible with some optimizations. I commented out the set_hwnd call. A new window is created but the playback chokes exactly as before. Is there anything in the VLC default preferen...
by mangokm40
30 Dec 2016 21:29
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

Try to comment out the set_hwnd() call and see if it fixes performance problems then. Maybe your window handle is incompatible with some optimizations.

Thanks again. I will try this tonight and post back.
by mangokm40
30 Dec 2016 17:06
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

Re: x.265 VLC vs libvlc

Are you configuring the video output in any way, or do you let LibVLC create its own independent video window?
I use "libvlc_media_player_set_hwnd()" to direct the output to "my window".
I don't 'process' the output in any way.


Thanks for your time.
by mangokm40
30 Dec 2016 15:52
Forum: Development around libVLC
Topic: x.265 VLC vs libvlc
Replies: 12
Views: 3576

x.265 VLC vs libvlc

I'm wondering if anyone has had this problem with x.265 video:

The file plays fine with VLC (2.2.4) with default preferences. However, I get stuttering and gray blocks with libvlc (2.2.4).
I'm not using any arguments when creating the instance.

Has anyone else experienced this?

Thanks.
by mangokm40
13 Jul 2015 15:08
Forum: Development around libVLC
Topic: where is ssize_t defined?
Replies: 3
Views: 2256

Re: where is ssize_t defined?

Thank you. I thought size_t was a C standard. However, I'd never used ssize_t. Is it also a C (or C++) standard? Do you know where it is defined? I changed the function to return int, for now. I'm just wondering if I'm missing a definition file or if the nightly for 3.0.0 is missing something. Maybe...
by mangokm40
10 Jul 2015 21:49
Forum: Development around libVLC
Topic: where is ssize_t defined?
Replies: 3
Views: 2256

where is ssize_t defined?

I downloaded the latest source for 3.0.0 and the file "libvlc_media.h" has a type "ssize_t" being used on line 306. I can't find where this type is defined. I thought it might be a typo for "size_t", but the comments say "...strictly positive number...". Maybe...
by mangokm40
15 Jun 2015 20:59
Forum: Development around libVLC
Topic: libvlc_media_subitems() not returning NULL
Replies: 1
Views: 291

libvlc_media_subitems() not returning NULL

According to this page: https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__media.html the function libvlc_media_subitems(): "Returns list of media descriptor subitems or NULL " Up to version 2.2.2, this is working as expected. However, in version 3.0.0, this function a...
by mangokm40
12 Jan 2015 21:46
Forum: Development around libVLC
Topic: is there a function play on window ?
Replies: 1
Views: 313

Re: is there a function play on window ?

Check out the docs for "libvlc_media_player_set_hwnd"
by mangokm40
12 Jan 2015 21:43
Forum: Development around libVLC
Topic: This is really annoying. Please help for equalizer
Replies: 18
Views: 1725

Re: This is really annoying. Please help for equalizer

"All my code below...."

Don't you need a call to libvlc_media_player_set_equalizer()? I thought THAT's when the change happened.
by mangokm40
08 Jan 2015 14:47
Forum: Development around libVLC
Topic: 2.2.0 Adjust and Equalizer Problems
Replies: 4
Views: 573

Re: 2.2.0 Adjust and Equalizer Problems

"2) libvlc_media_player_set_equalizer(handle, equalizer.handle) doesn't work." That may be a little too broad. It works, since I'm using it. libvlc_equalizer_t *eq = libvlc_audio_equalizer_new_from_preset(eqIndex); ....I check return value and do some other things here.... libvlc_media_pla...
by mangokm40
01 Dec 2014 14:56
Forum: Development around libVLC
Topic: libvlc 2.2 volume
Replies: 1
Views: 252

libvlc 2.2 volume

Is there any way to avoid changing my computer's volume when I use "libvlc_audio_set_volume()".
The audio changes for 2.2 seem to have included this effect. The volume is not changed 'just in my application'.

Thanks
by mangokm40
21 Jul 2014 18:04
Forum: Development around libVLC
Topic: How do I use the function "libvlc_event_attach"?
Replies: 4
Views: 1061

Re: How do I use the function "libvlc_event_attach"?

// This is the callback function
void OnEventCallBack(const libvlc_event_t eventName, void *userDataPointer) {
yourDataType *yourData = (yourDataType*) userDataPointer; // A cheesy way to transfer information into the callback function
}
by mangokm40
18 Jul 2014 17:40
Forum: Development around libVLC
Topic: How do I use the function "libvlc_event_attach"?
Replies: 4
Views: 1061

Re: How do I use the function "libvlc_event_attach"?

Here is my understanding. Hopefully, someone will correct my mistakes: libvlc_media_player_t *vlcPlayer; // your media player libvlc_event_manager_t *vlcEventManager = libvlc_media_player_event_manager(vlcPlayer); // get the event manager for your player //Listen for MediaPlayerEndReached event and ...
by mangokm40
19 Jun 2014 18:30
Forum: Development around libVLC
Topic: Changing backgroud color
Replies: 4
Views: 2145

Re: Changing backgroud color

"...can I draw semi-transparent window/widget (in Qt, for example) over the player?..."

I don't use "widgets" or Qt. However, the controls are "semi-transparent" and appear over the playing video just fine.
by mangokm40
15 May 2014 19:13
Forum: Development around libVLC
Topic: How to set marquee font in libvlc 2.1.0?
Replies: 2
Views: 1366

Re: How to set marquee font in libvlc 2.1.0?

Have you checked 'libvlc_media_player_set_video_title_display()'?
by mangokm40
15 May 2014 15:06
Forum: Development around libVLC
Topic: libvlc bluray subtitles
Replies: 3
Views: 675

Re: libvlc bluray subtitles

Just trying to understand...
You're saying that VLC shows multiple subtitles.
However, the linked-list returned by 'libvlc_video_get_spu_description()' has only one item whose 'psz_name' is 'Disabled' and whose
'p_next' is null ?

Go to advanced search