Search found 48 matches

Go to advanced search

by MikOfClassX
24 Sep 2019 10:47
Forum: Development around libVLC
Topic: VLC/LibVLC DeadLock on connection lost
Replies: 2
Views: 740

Re: VLC/LibVLC DeadLock on connection lost

Tried to get the trace with GDB - With "target exec", VLC is no longer capable to open the stream [url]http://interalmeria.tv/directo/live.m3u8[/url]. - Attaching to the VLC process after starting VLC (stream running now), will hang VLC. So, no way to get the trace. I'm using VLC debug ver...
by MikOfClassX
23 Sep 2019 10:09
Forum: Development around libVLC
Topic: VLC/LibVLC DeadLock on connection lost
Replies: 2
Views: 740

VLC/LibVLC DeadLock on connection lost

Hi, I am experiencing a deadlock when playing internet streams on unstable connections. Simple test case ( vlc win 3.0.8 ): - open VLC and add this sample source: http://interalmeria.tv/directo/live.m3u8 , play it. - disconnect the network cable. VLC will consume buffers and then will hang on a fram...
by MikOfClassX
22 Jun 2019 11:03
Forum: Development around libVLC
Topic: using libvlc to stream A/V with rtp protocol from memory
Replies: 2
Views: 509

using libvlc to stream A/V with rtp protocol from memory

Hello, I've seen some samples of RTMP streaming from memory. All the samples refer to VIDEO (see https://forum.videolan.org/viewtopic.php?t=148542) What about creating an A/V source, i.e. RGB frames + Audio frames (PCM16S), in-memory ? libvlc_media_new_callbacks() is very useful here. But I guess we...
by MikOfClassX
22 Jun 2019 10:31
Forum: VLC stream-output (sout)
Topic: using libvlc to stream with rtp protocol from memory.
Replies: 8
Views: 3851

Re: using libvlc to stream with rtp protocol from memory.

Cool post!

How can we manage audio ?

Mik
by MikOfClassX
29 Apr 2019 18:03
Forum: Development around libVLC
Topic: simple youtube player
Replies: 4
Views: 389

Re: simple youtube player

No luck with any youtube src url.
(anyway it works perfectly by using the video url "Path:" I get from the log).

Here's the log of "www.youtube.com/watch?v=2B-XwPjn9YY"

https://jpst.it/1HVth

--
by MikOfClassX
29 Apr 2019 12:59
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 8277

Re: Using libVLC ignores disabled hardware acceleration

Hi @unidan,

you say:
but you might have copy from GPU memory to RAM.
Color conversion and copy is something that happens inside libVLC after you set the video format callback (hw decoding gone away).
So, am I (probably) missing something ?
by MikOfClassX
29 Apr 2019 11:03
Forum: Development around libVLC
Topic: moving to libVLC 4.0
Replies: 12
Views: 819

Re: moving to libVLC 4.0

oh, good reference! Thanks
by MikOfClassX
29 Apr 2019 11:00
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 8277

Re: Using libVLC ignores disabled hardware acceleration

Ok, got it. I miss the texture update code, i.e. the way you get/draw the pixels.
by MikOfClassX
28 Apr 2019 12:18
Forum: Development around libVLC
Topic: simple youtube player
Replies: 4
Views: 389

Re: simple youtube player

Eh, ok.. It seems it's not loading the lua module. I'm using 3.06, 3.07b.
The modules are in the right place, so .. I did not find any reason why it's not working.
Need I set a path var ?
by MikOfClassX
28 Apr 2019 12:15
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 8277

Re: Using libVLC ignores disabled hardware acceleration

Phew, I am back.. @sherington, I am confused: - seeting callbacks will disable hw accell decoding, do you agree ? - using GL callbacks will also disable hw accell decoding, right ? - are you using GL callbacks to minimize CPU-GPU memory copy ? definitely a snippet of the callback will ease my mind :)
by MikOfClassX
24 Apr 2019 10:06
Forum: Development around libVLC
Topic: simple youtube player
Replies: 4
Views: 389

simple youtube player

Hello,

is there a simple youtube player example src around ?
by MikOfClassX
24 Apr 2019 09:34
Forum: Development around libVLC
Topic: moving to libVLC 4.0
Replies: 12
Views: 819

Re: moving to libVLC 4.0

about 4.0 GPU texture sharing, is already there ? Any example ?
by MikOfClassX
24 Apr 2019 09:33
Forum: Development around libVLC
Topic: VLCKit: Player time callback is relatively infrequent
Replies: 9
Views: 890

Re: VLCKit: Player time callback is relatively infrequent

Ehehe, ok... so it's only matter of time and patience. Any estimation ?
by MikOfClassX
19 Apr 2019 11:45
Forum: Development around libVLC
Topic: moving to libVLC 4.0
Replies: 12
Views: 819

Re: moving to libVLC 4.0

- using vmem?

yes, i am using audio/video callbacks. Any other, more efficient way ?

- you need a new api for this

is there a new timing api in 4.0 ?

- logs ?

no current logs atm. I'll try to get them.
by MikOfClassX
19 Apr 2019 09:13
Forum: Development around libVLC
Topic: VLCKit: Player time callback is relatively infrequent
Replies: 9
Views: 890

Re: VLCKit: Player time callback is relatively infrequent

I am confused: libVLC explicitly sets a next_update time delay to 250ms. For confirmation, I checked the static void *vlc_demux_chained_Thread(void *data) in demux_chained.c: next_update = vlc_tick_now() + VLC_TICK_FROM_MS(250); Many developers are reporting the same issue. Is there a way to get a m...
by MikOfClassX
18 Apr 2019 09:24
Forum: Development around libVLC
Topic: amem: added other audio format support
Replies: 2
Views: 495

Re: amem: added other audio format support

it seems I spotted the same problem: https://forum.videolan.org/viewtopic.php?f=32&t=147910

Pls submit the patch.
by MikOfClassX
18 Apr 2019 09:22
Forum: Development around libVLC
Topic: VLCKit: Player time callback is relatively infrequent
Replies: 9
Views: 890

Re: VLCKit: Player time callback is relatively infrequent

see my post: https://forum.videolan.org/viewtopic.php?f=32&t=148843 The aim of slow event notification is probably to save lazy coders from packing events and firing them to a gui (but almost every repaint manager coalesces very frequent repaints()). What's less clear is why the libvlc_media_pla...
by MikOfClassX
17 Apr 2019 19:23
Forum: Development around libVLC
Topic: Using libVLC ignores disabled hardware acceleration
Replies: 42
Views: 8277

Re: Using libVLC ignores disabled hardware acceleration

Attaching callbacks will turn off any hw accell IMHO. That's a pity. Really.
I am asking myself if grabbing decoded frames from hw surfaces may be that difficult.

BTW Any success with LWJGL ?
by MikOfClassX
16 Apr 2019 17:35
Forum: Development around libVLC
Topic: moving to libVLC 4.0
Replies: 12
Views: 819

Re: moving to libVLC 4.0

The good news ? All my tests are OK with 4.0 (win10 x64). Other news ? - no speed improvements for (a)rgb video callbacks (still the LAV directshow filters are ouperforming libVLC by about 30-40% with 4k clips. That's strange) - the DEV version still gives no accurate media timing api. See: https://...
by MikOfClassX
16 Apr 2019 09:20
Forum: Development around libVLC
Topic: moving to libVLC 4.0
Replies: 12
Views: 819

Re: moving to libVLC 4.0

So, a basic recompile of my code would be sufficient, right ?
by MikOfClassX
15 Apr 2019 13:01
Forum: Development around libVLC
Topic: moving to libVLC 4.0
Replies: 12
Views: 819

moving to libVLC 4.0

Hello,

I would like to move my codebase to libVLC 4.0 from 3.0.x.

Is it api-compatible ?
Are there any guide, hints, suggestions for a smooth 4.0 api adoption ?

Thanks,

Mik
--

Go to advanced search