Search found 107 matches

Go to advanced search

by neosettler
06 Oct 2020 00:54
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

As a reference, here is the actual code I'm using: ZVideoLanThumbnailer::ZVideoLanThumbnailer(const Char *in_path, UInt in_with, Double in_time) : m_Width(in_with), m_ThumbnailsTime(Int64(in_time * 1000)), m_ThumbnailsPath(in_path), m_Media(NULL), m_MediaEventManager(NULL), m_Player(NULL), m_PlayerE...
by neosettler
06 Oct 2020 00:49
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

Hi mfkl, I did but I'm essentially using the same C++ code and the migration (3.0 to 4.0) has several issues. Either the mechanics are broken or fundamental changed so it's hard to tell as there is, to my knowledge, no source code examples that are up to date or that could be compiled on Windows wit...
by neosettler
05 Oct 2020 16:00
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

thank you mfkl, to be clear, the thumbnailer code works well with libvlc 3.0 C++ but the same code fails with libvlc 4.0 C++, see log: [00000072dccf5c68] main generic debug: no video converter modules matched [0000020aa7c8f0e0] main filter error: Failed to create video converter [00000072dccf6298] m...
by neosettler
05 Oct 2020 00:26
Forum: Development around libVLC
Topic: LibVlc 4.0 - How to disable overlay icons?
Replies: 5
Views: 619

Re: LibVlc 4.0 - How to disable overlay icons?

Hi Remi, maybe I did not explain the issue correctly because it seems like a legitimate feature. To make things clear, whenever a video is playing there is a triangle icon that fades in and out. Whenever a video is stopped there is a square icon that fades in and out. I'm simply interested in turnin...
by neosettler
05 Oct 2020 00:21
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

Thank you for your input sherington, I've looked at vlc_thumbnailer_RequestByTime and it seems like something I would use eventually. I dont see a mechanic to output the file so it would be great if there is any example I could chew on. 4.0 seems to be under heavy development so it would be best tha...
by neosettler
04 Oct 2020 14:55
Forum: Development around libVLC
Topic: LibVlc 4.0 - How to disable overlay icons?
Replies: 5
Views: 619

LibVlc 4.0 - How to disable overlay icons?

Greetings,

Getting the hang of 4.0. I'm wondering how to get rid of the Play/Pause, etc icons overlay whenever the media state changes?

thank you,
by neosettler
04 Oct 2020 14:51
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

[[08:40:48] Warning: Take snapshot: <C:/mypath/Demon's Souls - Official 4K 60FPS Gameplay Trailer.jpg> 00000152c9f6d660] main input debug: control type=4 [000000172c16f5e8] main generic debug: looking for video blending module matching "any": 1 candidates [00000152c9f6d660] main input debu...
by neosettler
04 Oct 2020 14:51
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

[00000152e4f924c0] d3d11va generic debug: - 'MPEG-2 & MPEG-1 variable-length decoder' is supported [00000152c9f6d660] main input debug: Stream buffering done (1001 ms in 331 ms) [00000152e4f924c0] d3d11va generic debug: - 'MPEG-2 variable-length decoder' is supported [00000152e4f924c0] d3d11va g...
by neosettler
04 Oct 2020 14:48
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Re: Failed to convert image for snapshot with LibVlc 4.0

Maximum characters in a post is about 6000. [00000152d5eab160] main libvlc debug: VLC media player - 4.0.0-dev Otto Chriek [00000152d5eab160] main libvlc debug: Copyright © 1996-2020 the VideoLAN team [00000152d5eab160] main libvlc debug: revision 4.0.0-dev-11894-gb5d432408f [00000152d5eab160] main...
by neosettler
04 Oct 2020 02:37
Forum: Development around libVLC
Topic: Failed to convert image for snapshot with LibVlc 4.0
Replies: 13
Views: 1435

Failed to convert image for snapshot with LibVlc 4.0

Greetings, Using a similar technique as the link below, my thumbnailer works well in 3.0 but fails in 4.0 (~may 2020 build). https://github.com/videolan/vlc/blob/master/doc/libvlc/vlc-thumb.c log: [000001a1287bec20] main filter error: Failed to create video converter [0000003a67af5dc8] main generic ...
by neosettler
29 Sep 2020 05:15
Forum: Development around libVLC
Topic: Streaming YouTube video?
Replies: 10
Views: 1092

Re: Streaming YouTube video?

I just found about libvlc_MediaPlayerBuffering = 100. I think I'm all set. YouTube works fine while Vimeo does not. Oh, well.
by neosettler
29 Sep 2020 03:19
Forum: Development around libVLC
Topic: Streaming YouTube video?
Replies: 10
Views: 1092

Re: Streaming YouTube video?

I think I'm getting the hang of it, render to textures always baffles me though. I understand it would be more efficient with 4.0 but last time I checked, webm was not stable so I might give it another try eventually. As previously suggested, here is the new addition: void ZVideoLanMovie::UnlockMute...
by neosettler
25 Sep 2020 18:17
Forum: Development around libVLC
Topic: Streaming YouTube video?
Replies: 10
Views: 1092

Re: Streaming YouTube video?

Thank you for your support, I've been looking at the repo but I dont see anything particular regarding streaming. The setup is on the spaghetti side so I've extracted the essential. With this config, libvlc_media_new_location is hit but libvlc_video_get_size returns false and libvlc_video_set_format...
by neosettler
24 Sep 2020 23:24
Forum: Development around libVLC
Topic: Streaming YouTube video?
Replies: 10
Views: 1092

Re: Streaming YouTube video?

hummm, I'm a bit in the blind here. Is there any working example (Windows ideally) I could get my hands on?
by neosettler
14 Sep 2020 17:32
Forum: Development around libVLC
Topic: Streaming YouTube video?
Replies: 10
Views: 1092

Re: Streaming YouTube video?

Thank you for your input mfkl, I’m not familiar with the C# api, any idea how this parsing operation would translate to C++?
by neosettler
14 Sep 2020 02:27
Forum: Development around libVLC
Topic: Streaming YouTube video?
Replies: 10
Views: 1092

Streaming YouTube video?

Greetings, Is there any example I could chew on how to stream YouTube videos? v3.0.11 Opening url with libvlc_media_new_location. Setting libvlc_video_set_format_callbacks then play. The event libvlc_video_set_format_callbacks never fires, neither does libvlc_MediaPlayerVout. Looking at the debug, a...
by neosettler
26 Oct 2019 20:41
Forum: Development around libVLC
Topic: VLC 4.0 OpenGL shared context
Replies: 5
Views: 1575

VLC 4.0 OpenGL shared context

Greetings, I'm in the midst of rendering directly to an OpenGL texture buffer using libvlc_video_set_output_callbacks (VLC 4.0 beta) implementation. The way my API is setup, I use QT for GUI while VLC is implemented in an external dynamic library (dll). Since the main OpenGL context is create by QT ...
by neosettler
06 Oct 2019 20:12
Forum: Development around libVLC
Topic: get media pitch?
Replies: 4
Views: 520

Re: get media pitch?

All good Remi, no worries.
What sparked the idea is that libvlc_video_setup_cb does return the pitch. It would have been nice to have the same pitch calculation as a convenience.
by neosettler
06 Oct 2019 18:32
Forum: Development around libVLC
Topic: get media pitch?
Replies: 4
Views: 520

Re: get media pitch?

Thank you for your feedback Remi. Your are right but still, it seems like a common concept. In any case, based on this note from libvlc_video_set_format: For each pixels plane, the scanline pitch must be bigger than or equal to the number of bytes per pixel multiplied by the pixel width. Similarly, ...
by neosettler
06 Oct 2019 03:26
Forum: Development around libVLC
Topic: get media pitch?
Replies: 4
Views: 520

get media pitch?

Greeting, I'm rendering the media video data to a texture. The problem I'm having while setting libvlc_video_set_format as that the width and height are sometimes padded and we seems to have no function to get the pitch of the video. something that would complement: libvlc_video_get_size like libvlc...
by neosettler
10 Jul 2019 02:08
Forum: Development around libVLC
Topic: Opengl video output
Replies: 15
Views: 6730

Re: Opengl video output

Thank you for your input unidan. I've got my hands on the latest 4.0 nightly build and the libvlc_video_set_output_callbacks signature is different from the example you've mentioned. I'm on Windows 10 and the behavior seems to be awkward as the cleanup, procAdress and setup callbacks are called ever...
by neosettler
07 Jul 2019 18:52
Forum: Development around libVLC
Topic: Opengl video output
Replies: 15
Views: 6730

Re: Opengl video output

Thank you for your suggestion sherington. I got 4.0 and it seems to work well so far. I'll give this function I tried. Is there any example I could chew on?
by neosettler
07 Jul 2019 00:26
Forum: Development around libVLC
Topic: Saving meta data?
Replies: 1
Views: 649

Re: Saving meta data?

Should I open a bug report?
by neosettler
07 Jul 2019 00:19
Forum: Development around libVLC
Topic: Add audio track at run time?
Replies: 1
Views: 506

Add audio track at run time?

Greetings,

Is it possible to open/playback a video file and add an audio track from an external file using libvlc 3.x?

Thank you,

Go to advanced search