Search found 22 matches

Go to advanced search

by Hanley
17 Oct 2023 22:24
Forum: Development around libVLC
Topic: Releasing and creating media player causes freeze
Replies: 3
Views: 1112

Re: Releasing and creating media player causes freeze

Solution turned out to be simple: call libvlc_media_player_stop before detaching the events and releasing the player and instance.
by Hanley
10 Oct 2023 18:35
Forum: Development around libVLC
Topic: Releasing and creating media player causes freeze
Replies: 3
Views: 1112

Releasing and creating media player causes freeze

I've added a feature to my video player that lets users choose the y position of the subtitle, achieved with --sub-margin. Since this argument has to be passed in when creating an instance of libvlc, when the user changes the position, I have to release both the instance and the video player, and th...
by Hanley
09 Jan 2023 20:07
Forum: Development around libVLC
Topic: Crash in vout_display_PlacePicture
Replies: 6
Views: 1499

Re: Crash in vout_display_PlacePicture

Also, is it possible your previous commit might prevent such a crash: https://github.com/videolan/vlc/commit/ ... 09426fc87e
by Hanley
09 Jan 2023 19:04
Forum: Development around libVLC
Topic: Crash in vout_display_PlacePicture
Replies: 6
Views: 1499

Re: Crash in vout_display_PlacePicture

Actually, a better question for clarification: If it's an invalid SAR, does that simply mean I'm supplying it with a 0 aspect ratio?
by Hanley
09 Jan 2023 19:02
Forum: Development around libVLC
Topic: Crash in vout_display_PlacePicture
Replies: 6
Views: 1499

Re: Crash in vout_display_PlacePicture

Yeah, sorry, I was being a bit lazy wasn't I. It's a floating point exception so yes, probably division by zero. Looking at the function it appears there could be a few culprits making the 0. The only one I'm not sure of is source->i_sar_den. The documentation on that variable offers no description....
by Hanley
06 Jan 2023 17:21
Forum: Development around libVLC
Topic: Crash in vout_display_PlacePicture
Replies: 6
Views: 1499

Crash in vout_display_PlacePicture

I've implemented libvlc in my Mac app and am encountering a very annoying bug that only affects some of my users some of the time, and I can't recreate it on my end. Basically, when they load a video and hit play, the app crashes. The only breadcrumb I have to go on is that their crash reports all p...
by Hanley
24 Jun 2022 17:42
Forum: Development around libVLC
Topic: Prevent player from ignoring display color profile
Replies: 2
Views: 443

Re: Prevent player from ignoring display color profile

Oddly enough, removing libcaopengllayer_plugin did the trick [he said to no one in particular]

Thanks for your help Hanley!

You're welcome Hanley!
by Hanley
24 Jun 2022 17:18
Forum: Development around libVLC
Topic: Prevent player from ignoring display color profile
Replies: 2
Views: 443

Re: Prevent player from ignoring display color profile

Ok, so in VLC this can be fixed in Preferences -> Video -> Output Modules -> set Video Output Module to "Mac OS X OpenGL video output".

Now how do I do this in libvlc? The only thing I've come across is a suggestion to use -vout, but that only seems to be a Windows option.
by Hanley
23 Jun 2022 23:50
Forum: Development around libVLC
Topic: Prevent player from ignoring display color profile
Replies: 2
Views: 443

Prevent player from ignoring display color profile

When I change the color profile of my iMac display, the color of everything on my screen changes, as expected. However, a moment later, VLC changes the video's color back to what it was. This is happening with both the libvlc player I've implemented in my app, as well as the VLC app. The videos I'm ...
by Hanley
13 Jul 2013 21:13
Forum: Development around libVLC
Topic: Setting audio output device
Replies: 5
Views: 1876

Re: Setting audio output device

Same problem with the latest 2.1. I did notice that VLC takes the name of the device and does the following: 1. If it's longer than 32 characters, it chops off the 33rd+ characaters. 2. It adds "($1,$64)" on the end. So "Speakers (Realtek High Definition)" becomes "Speakers ...
by Hanley
13 Jul 2013 16:00
Forum: Development around libVLC
Topic: Setting audio output device
Replies: 5
Views: 1876

Re: Setting audio output device

Thanks for the quick reply. I tried the latest nightly (2.2) and am still getting no devices. Maybe I'm doing something wrong: This is the codeI'm using to print out the available device names. (DBG is a JUCE macro that outputs the string to Visual's output, and String is a JUCE class) libvlc_audio_...
by Hanley
13 Jul 2013 13:46
Forum: Development around libVLC
Topic: Enabling WASAPI
Replies: 12
Views: 17554

Re: Enabling WASAPI

Thnx.
by Hanley
13 Jul 2013 08:10
Forum: Development around libVLC
Topic: Setting audio output device
Replies: 5
Views: 1876

Setting audio output device

Using 2.1 on Windows 8. I want my app to display the available audio output devices and let the user choose which one vlc's audio goes out of, like VLC Media Player 2.1. But... libvlc_audio_output_device_id and libvlc_audio_output_device_count are deprecated and just return 0 anyway. And the newer l...
by Hanley
12 Jul 2013 18:03
Forum: Development around libVLC
Topic: Enabling WASAPI
Replies: 12
Views: 17554

Enabling WASAPI

How do I enable WASAPI? I used libvlc_audio_output_list_get to see all the available audio outputs and it showed:

waveout
aout_file
aout_directx
amem
adummy

I'm using vlc 2.1 on Windows 8
by Hanley
02 Jul 2013 22:13
Forum: Development around libVLC
Topic: Turning off OSD without command line args
Replies: 3
Views: 500

Re: Turning off OSD without command line args

I don't think I've got the chops to figure that one out. :) Am I asking for trouble sending it in through libvlc_new?
by Hanley
01 Jul 2013 22:18
Forum: Development around libVLC
Topic: Turning off OSD without command line args
Replies: 3
Views: 500

Turning off OSD without command line args

The only solutions I'm finding for turning of osd is to send the "--no-osd" through the libvlc_new() method, BUT the libvlc documentation says not to do it that way anymore. I've searched the documentation, examples and forum and i can't find another way to do it. So, what is the alternati...
by Hanley
30 May 2013 18:32
Forum: VLC media player for macOS Troubleshooting
Topic: OSX Compile Errors
Replies: 3
Views: 702

Re: OSX Compile Errors

OK, I made it past the ranlib problem. Now it's making the prebuilt no problem, BUT I'm now encountering a different error: CCLD libvlccore.la Undefined symbols for architecture x86_64: "_iconv", referenced from: __nl_find_msg in libintl.a(dcigettext.o) (maybe you meant: _vlc_iconv_open, _...
by Hanley
30 May 2013 18:24
Forum: Development around libVLC
Topic: Linker error in libvlccore.la
Replies: 3
Views: 770

Re: Linker error in libvlccore.la

Hey scottlin. Did you ever fix this error? I'm running into the same exact thing and I can't figure it out. Thanks.
by Hanley
30 May 2013 15:48
Forum: VLC media player for macOS Troubleshooting
Topic: OSX Compile Errors
Replies: 3
Views: 702

Re: OSX Compile Errors

Well, looking at it closer, it also can't find libtool. I looked in Developer/usr/bin and neither ranlib or libtool are there. However, I did find them in usr/bin as well as in Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin. How do I get the build to look there...
by Hanley
30 May 2013 05:04
Forum: VLC media player for macOS Troubleshooting
Topic: OSX Compile Errors
Replies: 3
Views: 702

OSX Compile Errors

I'm following the OS X compile instructions from http://wiki.videolan.org/OSXCompile. I've tried this every which way and I keep getting the same error when I try to build vlc: AR libtar.a ar: can't find or exec: /Developer/usr/bin/ranlib (No such file or directory) ar: internal ranlib command faile...

Go to advanced search