Search found 491 matches

Go to advanced search

by sherington
17 Apr 2019 18:31
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 7906

Re: Using libVLC ignores disabled hardware acceleration

Honestly I don't really do anything special. My test app is basically the bare minimum OpenGL demo app and the new video callbacks, that's it. The video callback code is deeply integrated into my Java library so I can't really post a useful isolated code fragment, sorry. Maybe different platforms? ...
by sherington
16 Apr 2019 20:58
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 7906

Re: Using libVLC ignores disabled hardware acceleration

No, I don't pass any options when getting my LibVLC instance. I don't really do anything other than creating the OpenGL application and setting the video callbacks. All I can suggest is that you make sure your VLC 4.x build is definitely the one you're using, maybe explicitly set the VLC_PLUGIN_PATH...
by sherington
16 Apr 2019 18:36
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 7906

Re: Using libVLC ignores disabled hardware acceleration

Those new OpenGL callbacks did work for me last time I tried, maybe a month ago or so. I've had video playing in an LWJGL application (I use Java).
by sherington
28 Mar 2019 10:54
Forum: Development around libVLC
Topic: Replay "ended" media
Replies: 4
Views: 764

Re: Replay "ended" media

Call libvlc_media_player_stop before you call libvlc_media_player_play.
by sherington
27 Mar 2019 16:23
Forum: Development around libVLC
Topic: Is there an event to catch lyrics cues?
Replies: 11
Views: 758

Re: Is there an event to catch lyrics cues?

It would be great but I'm not sure how this should be handled. Maybe for this use case, a tagged timecode track would be a better fit, which is basically MIDI. My own use-case for this is to extract GPS data which is encoded as a subtitle track, so I can plot a location on a map while the video pla...
by sherington
27 Mar 2019 12:56
Forum: Development around libVLC
Topic: Is there an event to catch lyrics cues?
Replies: 11
Views: 758

Re: Is there an event to catch lyrics cues?

I don't know if this is splitting hairs or not, but I think it's more like the audio and video callbacks rather than being event-based. Maybe that's what unidan is getting at. For example the video callback says, essentially, "render this frame now", so similarly you'd want an SPU callback...
by sherington
20 Mar 2019 10:06
Forum: Development around libVLC
Topic: AudioBarGraph in VLCKit
Replies: 11
Views: 952

Re: AudioBarGraph in VLCKit

I don't know VLCKit, but for your "unknown or missing mandatory argument --audiobargraph_a-bargraph=1" error, you could try passing "--audiobargraph_a-bargraph" and "1" as separate options. However... I was just testing this In my own bindings and I can get an empty aud...
by sherington
09 Mar 2019 08:50
Forum: Development around libVLC
Topic: Video output callbacks and sample aspect ratio
Replies: 1
Views: 580

Video output callbacks and sample aspect ratio

I've been doing some work with video output callbacks, and everything was fine until I started playing DVDs (well, DVD ISO actually). The video appeared squashed horizontally which I eventually realised was due to the sample aspect ratio for the DVDs being something other than 1:1 - prior to this ev...
by sherington
26 Feb 2019 09:05
Forum: Development around libVLC
Topic: Video format callbacks
Replies: 13
Views: 1977

Re: Video format callbacks

It's clear now, thanks a lot.
by sherington
25 Feb 2019 12:35
Forum: Development around libVLC
Topic: libvlc_audio_set_channel and libvlc_audio_output_channel_t values
Replies: 5
Views: 356

Re: libvlc_audio_set_channel and libvlc_audio_output_channel_t values

It's the headphones one I was most interested in. It seems to me it should be OK to use those values.

This is not a big problem really, I just like to be thorough when I implement the API.

Thank you for your replies.
by sherington
25 Feb 2019 10:03
Forum: Development around libVLC
Topic: Python Binding Media Discoverer
Replies: 5
Views: 826

Re: Python Binding Media Discoverer

I don't know Python well, but for that API function you pass in a value that can hold a pointer. The API uses that to return a pointer to the first item in the list, i.e. it stores the list pointer inside the value that you passed in, which your code can than extract and use. The VLC API allocates t...
by sherington
25 Feb 2019 09:51
Forum: Development around libVLC
Topic: libvlc_audio_set_channel and libvlc_audio_output_channel_t values
Replies: 5
Views: 356

Re: libvlc_audio_set_channel and libvlc_audio_output_channel_t values

No, there is an existing API function, libvlc_audio_set_channel, that lets you set the stereo mode using the values in libvlc_audio_output_channel_t. This is not the same API that uses the libvlc_audio_output_device_types_t you mention - that API is libvlc_audio_output_device_enum or libvlc_audio_ou...
by sherington
24 Feb 2019 22:19
Forum: Development around libVLC
Topic: Video format callbacks
Replies: 13
Views: 1977

Re: Video format callbacks

Thank you for replying. What I don't get is that in the first callback VLC probes VAOP and I return RV32, why does it then keep going and probing the other two formats? Why doesn't it accept the RV32 I returned the first time? I'm just trying to determine if my implementation/understanding of this c...
by sherington
24 Feb 2019 09:29
Forum: Development around libVLC
Topic: Video format callbacks
Replies: 13
Views: 1977

Video format callbacks

I've been using libvlc_video_set_format_callbacks successfully for some time, it works but I have a question about the implementation. I added some debug statements recently and noticed the following behaviour: setup chroma=VAOP, size=1280x720 cleanup setup chroma=VDV0, size=1280x720 cleanup setup c...
by sherington
23 Feb 2019 10:02
Forum: Development around libVLC
Topic: libvlc_audio_set_channel and libvlc_audio_output_channel_t values
Replies: 5
Views: 356

libvlc_audio_set_channel and libvlc_audio_output_channel_t values

I'm looking at this API function: /** * Set current audio channel. * * \param p_mi media player * \param channel the audio channel, \see libvlc_audio_output_channel_t * \return 0 on success, -1 on error */ LIBVLC_API int libvlc_audio_set_channel( libvlc_media_player_t *p_mi, int channel ); For the c...
by sherington
30 Nov 2015 21:40
Forum: Development around libVLC
Topic: Android LibVlc - how to show subtitles and select audio tracks in m3u8 stream.
Replies: 2
Views: 2740

Re: Android LibVlc - how to show subtitles and select audio tracks in m3u8 stream.

I don't know the answer in your specific case, but in general when dealing with selecting tracks... 1. make sure that you are using proper track identifiers as obtained from the track information API; 2. do not assume the track identifiers start at zero; 3. do not assume the track identifiers go in ...
by sherington
08 Oct 2015 18:01
Forum: VLC media player Feature Requests
Topic: VLC to ChromeCast
Replies: 7
Views: 26627

Re: VLC to ChromeCast

Just type that command into a shell/terminal window. The "./vlc" just means run VLC in the current directory (Linux/Unix), so you wouldn't do that on Windows. Just "vlc video.mp4 --sout..." etc... Or something like: vlc c:\videos\wherever\cat-video-3944.mp4 --sout="#chromeca...
by sherington
07 Oct 2015 18:38
Forum: Development around libVLC
Topic: How to change Brightness and Contrast using libvlc
Replies: 3
Views: 546

Re: How to change Brightness and Contrast using libvlc

Did you try setting the enable value *after* setting the brightness value.
by sherington
31 Jul 2015 23:26
Forum: Development around libVLC
Topic: How use libvlc_media_player_record
Replies: 8
Views: 1539

Re: How use libvlc_media_player_record

I wrote a *flawed* patch for this ages ago that did actually work for my own use-case but was not satisfactory to include in LibVLC. I don't remember the reasons, it's on the mailing list somewhere, but I remember at least the reasons were fair enough. Nothing else has been done since by me or anyon...
by sherington
28 Jul 2015 19:53
Forum: Development around libVLC
Topic: Number of channels of current audio track
Replies: 2
Views: 379

Re: Number of channels of current audio track

Start here: https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__media.html#ga33f5fef54e3750ab55744007e0e80f02 Use libvlc_media_tracks_get. You then iterate the returned structure to get a libvlc_media_track_t: https://www.videolan.org/developers/vlc/doc/doxygen/html/structlibvlc_...
by sherington
25 Jul 2015 08:57
Forum: Development around libVLC
Topic: how to play 1 link youtube?
Replies: 4
Views: 592

Re: how to play 1 link youtube?

I have no idea how to make it work with those six year old unmaintained LibVLC bindings that you want to use. I told you *what* you need to do, you need to work out the *how* yourself. Or, contact the author of those bindings for help, or use some official/better LibVLC bindings for your chosen prog...
by sherington
18 Jul 2015 08:51
Forum: Development around libVLC
Topic: how to play 1 link youtube?
Replies: 4
Views: 592

Re: how to play 1 link youtube?

When you 'play' a YouTube watch URL, the HTML page is parsed looking for the actual streaming URL. The real streaming URL, if found, is created as a sub-item of the original media. So you're supposed to play the watch URL, wait for a finished event, then iterate the sub-items to find the actual stre...
by sherington
08 Mar 2015 15:07
Forum: Development around libVLC
Topic: Prevent LUA from being used
Replies: 2
Views: 723

Prevent LUA from being used

Hello, Is there any way to disable or otherwise prevent the LUA module loading at run-time? I still have this old problem https://forum.videolan.org/viewtopic.php?f=32&t=107553 (on 32-bit Linux *only*) and I'd rather disable LUA and have limited functionality than just crash totally and have no ...
by sherington
07 Mar 2015 13:38
Forum: Development around libVLC
Topic: vlc 2.2.0 fails to create instance on Mac
Replies: 9
Views: 1955

Re: vlc 2.2.0 fails to create instance on Mac

I don't really do a lot on OSX, but one of the users of my bindings who does said that setting the VLC_PLUGIN_PATH environment variable to point to the plugins in the existing VLC installation does work. So is it the case now with LibVLC on OSX that you are supposed to include/copy LibVLC and all of...
by sherington
07 Feb 2015 09:32
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 the type of data your're suggesting.

Go to advanced search