Search found 39 matches

Go to advanced search

by FL53
05 Dec 2022 18:50
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

trying the command line, when killing VLC I get an assertion
Assertion Failed !

Program: ...
File: /builds/videolan/vlc/extras/package/win32/..../wgl.c
Line: 286

Expression: winDC != NULL

And same with 640x480 resolution !
BTW : I'm using vlc.exe in the dev SDK directory
by FL53
05 Dec 2022 09:49
Forum: Development around libVLC
Topic: libwaveout_plugin exception
Replies: 2
Views: 1033

Re: libwaveout_plugin exception

OK I will send you a VS project asap, thanks for your help. Update : it is when releasing the media player that the exception seems to be raised (not when reloading it). [EDIT] : I did a VS project to show the issue ... but in the project there is no more issue :). It seems something is just doing w...
by FL53
05 Dec 2022 09:43
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

I tried using VLC directly modifying the preferences but .. VLC is resizing the window to only 1 display before loading I think :) so I cannot try loading a media when VLC window is extended to both screens. I will try to update quickly the visual studio sample I did to mimic the issue (for VGL outp...
by FL53
02 Dec 2022 12:16
Forum: Development around libVLC
Topic: libwaveout_plugin exception
Replies: 2
Views: 1033

libwaveout_plugin exception

Hi, I did an app where I create a media_player from a media, play the media and then release media & media_player to recreate a new player (I feel it easier to do so since it reinit the media_player). When doing this, it's OK but sometimes libwaveout_plugin is raising exception (access violation...
by FL53
02 Dec 2022 12:09
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

I will try that but it may be difficult to reproduce with VLC since it is when I release & load media player when changing the media played in OpenGL ... BTW changing the media (releasing media player & media / creating a media player setting it a new media) is generating execption on libwav...
by FL53
01 Dec 2022 15:49
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

Another issue with GL callbacks :) ... If I set the VLC instance using a huge windows (let's say 2x4K window extended on 2 screens) some crashes occur. Only solution found is to create a little window (1x1 resolution :) ) to instanciate VLC. Is there another way to do it a cleaner way so the app is ...
by FL53
30 Nov 2022 14:22
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

SOLUTION FOUND ! So ... looking at the sample I could find these points : - no SDL_init was called at start (we may call SDL_Init(SDL_INIT_VIDEO); at start ) - another SDL_GL_SetAttribute must be called : SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY); - after...
by FL53
30 Nov 2022 09:55
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

I made some other tests ... it seems the shared context is not working in the sample (I already had issues first time I used gl callback it with SDL2 / Windows ). In resize method the textures & FBO are not created ! Any clues about the way to fix this ? I am really annoyed since all my SDL2 app...
by FL53
29 Nov 2022 11:55
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

Thanks. I will clean my project so. I use OpenGL ( libvlc_video_engine_opengl ) and I won't have time to try QtGL sample :'( ... GL callbacks changed since last time I used to develop with them : I may try an older release of the VLC4.0.0 SDK and give you a feedback on this. BTW I get the assertion ...
by FL53
24 Nov 2022 23:32
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

Re: liVLC4 / OpenGL callbacks

Not really, it is integrated in a software which is not so simple to reduce in size. But ... VLC code is purely the gl callback sample in the SDK. I created a project in VS2019 with the sample of VLC : download me ;) . The app is crashing as soon as media is asked to be played (media loading is OK) ...
by FL53
23 Nov 2022 12:45
Forum: Development around libVLC
Topic: liVLC4 / OpenGL callbacks
Replies: 12
Views: 1957

liVLC4 / OpenGL callbacks

Hi,

I updated my software using the last build of VLC (using the openGL callback with libVLC 4). When I try to load a video here is the returned log ( click me !), can someone help me to solve this issue ?
Regards,
by FL53
10 Mar 2020 16:24
Forum: Development around libVLC
Topic: 8K video playback
Replies: 3
Views: 619

Re: 8K video playback

Is there any way to use NVDEC from NVidia now (it wasn't possible in april 2019) which seems to take in charge this kind of format or another video decoding acceleration library implemented in VLC ?
by FL53
05 Nov 2019 16:30
Forum: Development around libVLC
Topic: 8K video playback
Replies: 3
Views: 619

8K video playback

Hi,
I would like to play 8K video using OpenGL callbacks (libVLC 4). How should I configure VLC instance to ensure a fluid playback (options to set inside the command line parameters) ?
Regards
by FL53
21 Aug 2019 17:12
Forum: Development around libVLC
Topic: load / unload media/mediaplayer without loosing RAM memory
Replies: 4
Views: 1202

Re: load / unload media/mediaplayer without loosing RAM memory

I tried using the same media player for multiple files. Before I deleted it to recreate it using libvlc_media_media_new_from_media each time I wanted to change the video (I was hoping t. I only do that once now and use libvlc_media_player_set_media to reuse the first mediaplayer created. But it does...
by FL53
09 May 2019 19:12
Forum: Development around libVLC
Topic: load / unload media/mediaplayer without loosing RAM memory
Replies: 4
Views: 1202

Re: load / unload media/mediaplayer without loosing RAM memory

I used the OpenGL callback sample given by VLC dev team to implement a simple player and mapped keys to stop and reload the video (via SDL events). And that's it ! When stopping the video (deleting the mediaplayer and media) it does not free all the memory (I can see the memory used growing in the t...
by FL53
02 May 2019 18:59
Forum: Development around libVLC
Topic: load / unload media/mediaplayer without loosing RAM memory
Replies: 4
Views: 1202

Re: load / unload media/mediaplayer without loosing RAM memory

I already checked my code (more than twice) before writing a new topic :). I saw something interesting when putting the option "--start-paused" and calling libvlc_mediaplayer_play() , video does not start at all and I cannot see leaks unless I call libvlc_media_player_pause(). Then video p...
by FL53
02 May 2019 11:14
Forum: Development around libVLC
Topic: libVLC 4 + OpenGL callbacks
Replies: 2
Views: 560

Re: libVLC 4 + OpenGL callbacks

[Thanks, I will try that today !] EDIT : In fact, I already put these parameters :) ( "--start-paused", "--play-and-pause", "--no-play-and-stop") ... and the video is well loaded and start paused if I call "libvlc_media_player_play" right after loading (and se...
by FL53
27 Apr 2019 11:38
Forum: Development around libVLC
Topic: libVLC 4 + OpenGL callbacks
Replies: 2
Views: 560

libVLC 4 + OpenGL callbacks

Hi, I am using libVLC 4 with opengl callbacks to play videos in my application. Everything works pretty well (playing at a different rate, asking for playing/pausing...) but ... I have got rendering issues: - I would like to display the first image of the video pausing the video and asking the user ...
by FL53
27 Apr 2019 11:18
Forum: Development around libVLC
Topic: load / unload media/mediaplayer without loosing RAM memory
Replies: 4
Views: 1202

load / unload media/mediaplayer without loosing RAM memory

Hi, I try to load /unload many files inside the same application but each time I unload a media+mediaplayer (libvlc_media_player_release/libvlc_media_release) then load (libvlc_media_new_path/libvlc_media_player_new_from_media) I loose some memory (I checked my application and when not calling the l...
by FL53
29 Nov 2018 11:19
Forum: Development around libVLC
Topic: Getting dshow device stream with libVLC
Replies: 6
Views: 2060

Re: Getting dshow device stream with libVLC

I may not understand but tuner-frequency seems to be for tuner device, I was thinking more of an option to limit buffering. I tried with videoInput lib (which is not as complete as libVLC but I would like to compare) and I can get the images really quickly. My device is an IR webcam and I would like...
by FL53
28 Nov 2018 17:12
Forum: Development around libVLC
Topic: Getting dshow device stream with libVLC
Replies: 6
Views: 2060

Re: Getting dshow device stream with libVLC

I tried and I can get the dshow device without any problem now! I tried to add option to the media using quotes since my device name has space in its name but it is not working if so (libvlc_media_add_option(m_media, ":dshow-vdev=\"my device has spaces in its name\""); will fail)...
by FL53
28 Nov 2018 16:42
Forum: VLC media player for Windows Troubleshooting
Topic: Cannot play Insta Pro video samples
Replies: 22
Views: 1984

Re: Cannot play Insta Pro video samples

Here is the full resulting log. Is using avcodec again ! How can I force hardware decoding ? The sample used is the insta pro sample (can be downloaded here . It is the TEST_6K3D.mp4 file) main debug: processing request item: TEST_6K3D.mp4, node: Liste de lecture, skip: 0 main debug: resyncing on TE...
by FL53
28 Nov 2018 15:08
Forum: VLC media player for Windows Troubleshooting
Topic: Cannot play Insta Pro video samples
Replies: 22
Views: 1984

Re: Cannot play Insta Pro video samples

Hi, I am a bit late to answer ... but did not see your posts before ( ouh ! :( ... I though I subscribed with mail notification ... but no). I should be able to decode with my hardware (1070 GPU and i7 CPU). I redo the full log and send it to you tomorrow (EDIT : or today ;) ). Thank you for your he...
by FL53
28 Nov 2018 15:04
Forum: Development around libVLC
Topic: Getting dshow device stream with libVLC
Replies: 6
Views: 2060

Re: Getting dshow device stream with libVLC

Hi,

I didn't see your post before :( ... Thank you for the link, I will try that this afternoon and give you feedback. This sounds good ! I've already used the add_option method but not with the params given in the thread.
Regards
by FL53
20 Nov 2018 15:27
Forum: VLC media player for Windows Troubleshooting
Topic: play raw 360 or VR180 videos without distorsion corection
Replies: 2
Views: 2670

Re: play raw 360 or VR180 videos without distorsion corection

I managed to delete the metadata using ffmpeg so I can use libVLC to do my own projection but it could be easier to be able to ask VLC not to interpret the "side data" for projection & stereo while opening the media (and keeping the media in its initial format). Moreover I still need t...

Go to advanced search