Search found 5 matches

Go to advanced search

by emanuel
21 Aug 2024 10:07
Forum: Development around libVLC
Topic: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C
Replies: 5
Views: 1828

Re: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C

This code works better:

Code: Select all

while (libvlc_media_get_parsed_status (m) != 4) { printf("*"); usleep (1000); }
but is that the correct way?
by emanuel
21 Aug 2024 09:38
Forum: Development around libVLC
Topic: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C
Replies: 5
Views: 1828

Re: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C

m = libvlc_media_new_path (inst, "test.m3u"); //m = libvlc_media_new_location (inst, "file:///home/emanuel/C/libVlc/test.m3u"); P_CHECK(m, err); printf(">>> libvlc_media_parse_with_options %d\n", libvlc_media_parse_with_options (m, libvlc_media_parse_local | libvlc_med...
by emanuel
21 Aug 2024 09:35
Forum: Development around libVLC
Topic: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C
Replies: 5
Views: 1828

Re: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C

Ok, thanks for the answer. How can I change that? can I solve this with a callback or with sleep? Sorry, I'm still a newbie.
by emanuel
21 Aug 2024 01:36
Forum: Development around libVLC
Topic: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C
Replies: 5
Views: 1828

Re: [Ubuntu 22.04] Newbie can not open m3u in simple C

logfile: [000055b29c129430] main libvlc debug: VLC media player - 3.0.16 Vetinari [000055b29c129430] main libvlc debug: Copyright © 1996-2021 the VideoLAN team [000055b29c129430] main libvlc debug: revision 3.0.13-8-g41878ff4f2 [000055b29c129430] main libvlc debug: configured with ./configure '--bui...
by emanuel
21 Aug 2024 01:31
Forum: Development around libVLC
Topic: [Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C
Replies: 5
Views: 1828

[Ubuntu 22.04 x86_64] Newbie can not open m3u in simple C

Hello community, I'm brand new to libvlc. I try in vain to open a simple m3u, but I can't. The m3u opens with vlc, it's not the file. I can also build and play a pls using "libvlc_media_list_add_media". But not with an m3u, like in the vlc. :roll: Please help me. Thanks in advance. /* VLC ...

Go to advanced search