2.0 libvlc.dll New Error

This forum is about all development around libVLC.
spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

2.0 libvlc.dll New Error

Postby spider58 » 21 Feb 2012 13:24

Previous version is working good but today i tried new libvlc, libvlccore and plugins and AXVlcPlugin

same libvlc configuration does working with previous dlls but doesn't working with new dlls.
New version does not playing videos, musics etc.

I've tried to add AxVLCPlugin 2.0 into my form and doesn't playing this plugin too.

Inadvance thanks

spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

Re: 2.0 libvlc.dll New Error

Postby spider58 » 22 Feb 2012 09:58

Im changing dll files and plugin directory with old dll files and old plugin directory. And does work good(no changing any code, only changing files). With New dlls and pluings directory doesn't working. Giving no error.

Is there anybody usind VLC 2.0.0 DLLs and plugins directory?

Bradskey
New Cone
New Cone
Posts: 6
Joined: 14 Apr 2011 22:59

Re: 2.0 libvlc.dll New Error

Postby Bradskey » 22 Feb 2012 19:33

My wrapper and software use libvlc 1.1.11. I tried it with the libvlc 2.0 dll and plugins and it worked without errors. I do not use ActiveX, but as far as I can tell for libvlc it is a drop-in replacement.

I stopped using it for now however because it displayed occasional (every minute or so) annoying glitches and macro-blocking while playing fairly low bitrate videos from a network file share (over wi-fi). The 1.1 versions do not have this issue. I did note that the picture quality seemed somewhat improved however.

kvothe
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2012 11:14

Re: 2.0 libvlc.dll New Error

Postby kvothe » 23 Feb 2012 11:19

Hi I have the same problem with libvlc 2.0. I just switched the libvlc.dll and libvlccore.dll und link against the new libvlc.lib and now the libvlc_new-Call always returns NULL.

That's my libvlc_new-Call that worked with the previous version.

Code: Select all

const char * const vlc_args[] = { "--reset-plugins-cache", "--no-stats", "--no-osd", "--no-video-title-show", "--plugin-path=C:\Programme\VideoLAN\VLC\plugins"}; if ( ( vlcObject = libvlc_new ( sizeof(vlc_args) / sizeof(vlc_args[0]), vlc_args) ) == NULL ) { qDebug("Could not init libVLC"); }
Any ideas? How do you call libvlc_new? Do I need some new arguments?

Thanks!

kvothe
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2012 11:14

Re: 2.0 libvlc.dll New Error

Postby kvothe » 23 Feb 2012 12:28

So I found it :) The --plugin-path command line option was removed and the path can now be changed with the VLC_PLUGIN_PATH environment variable. After I set this variable the playback worked again.

spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

Re: 2.0 libvlc.dll New Error

Postby spider58 » 02 Mar 2012 12:38

So I found it :) The --plugin-path command line option was removed and the path can now be changed with the VLC_PLUGIN_PATH environment variable. After I set this variable the playback worked again.

thanks for reply man. But didn't worked for me. My code below and plugins directory in application dirrectory. Old dlls and plugins working good

Code: Select all

system.environment.SetEnvironmentVariable("VLC_PLUGIN_PATH", application.startuppath & "\plugins");
:cry:

jobeagle
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Sep 2009 08:52

Re: 2.0 libvlc.dll New Error

Postby jobeagle » 02 Mar 2012 13:52

The setting of VLC_PLUGIN_PATH as a system environment variable (windows vista) didn't work for me either!
(the "--plugin-path=C:\Programme\VideoLAN\VLC\plugins" parameter works for version 1.1.11 and sadly not for 2.0)

I use the following code:

Code: Select all

debug.print("debug: plugin-path:" + System.getenv("VLC_PLUGIN_PATH")); vlcparams = new String[] { "-vvv", "--reset-plugins-cache", "--no-video-title-show"}; try { vlcinst = libvlc.libvlc_new(vlcparams.length, vlcparams); } catch (UnsatisfiedLinkError e1) { debug.print(Messages.getString("vlc_nicht_gefunden")); }
and i get the following messages:

Code: Select all

[02.03.2012-13:45:29-961] (main) debug: plugin-path:C:\Programme\VideoLAN\VLC\plugins [001197a8] main libvlc debug: VLC media player - 2.0.0 Twoflower [001197a8] main libvlc debug: Copyright © 1996-2012 VLC authors and VideoLAN [001197a8] main libvlc debug: revision 2.0.0-0-g421a4fc [001197a8] main libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-portaudio' '--disable-sdl' '--enable-qt4' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-sqlite' '--disable-dirac' '--host' 'i586-mingw32msvc' 'host_alias=i586-mingw32msvc' [001197a8] main libvlc debug: searching plug-in modules [001197a8] main libvlc debug: removing plugins cache file C:\Programme\VideoLAN\VLC\plugins\plugins.dat [001197a8] main libvlc debug: recursively browsing `C:\Programme\VideoLAN\VLC\plugins' [001197a8] main libvlc debug: saving plugins cache C:\Programme\VideoLAN\VLC\plugins\plugins.dat [001197a8] main libvlc debug: removing plugins cache file C:\Programme\VideoLAN\VLC\plugins\plugins.dat [001197a8] main libvlc debug: recursively browsing `C:\Programme\VideoLAN\VLC\plugins' [001197a8] main libvlc debug: saving plugins cache C:\Programme\VideoLAN\VLC\plugins\plugins.dat [001197a8] main libvlc debug: plug-ins loaded: 775 modules [001197a8] main libvlc debug: translation test: code is "de" [001197a8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU [001197a8] main libvlc debug: looking for memcpy module: 8 candidates [001197a8] main libvlc debug: using memcpy module "memcpymmxext" [05da2370] main interface debug: looking for interface module: 2 candidates [05da2370] main interface debug: using interface module "hotkeys" [05da2370] main interface debug: TIMER module_need() : 1.164 ms - Total 1.164 ms / 1 intvls (Avg 1.164 ms) [00c0fa18] main playlist debug: playlist threads correctly activated [00c0fa18] main playlist debug: adding item `(null)' ( file:///C:/Users/Bruno/workspace/mtbs/ ) [00c0fa18] main playlist debug: rebuilding array of current - root Wiedergabeliste [00c0fa18] main playlist debug: rebuild done - 0 items, index -1 [05db1f48] main input debug: Creating an input for '(null)' [00c0fa18] main playlist debug: no fetch required for (null) (art currently (null)) [02.03.2012-13:45:41-347] (main) Starte VLC... [05ea29f8] main input debug: Creating an input for '(null)' [05ea29f8] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Bruno\AppData\Local\Temp' [05ea29f8] main input debug: `J:\touren\test.AVI' gives access `J:\touren\test.AVI' demux `' path `' [05ea29f8] main input debug: creating demux: access='J:\touren\test.AVI' demux='' location='' file='(null)' [05ddb908] main demux debug: looking for access_demux module: 0 candidates [05ddb908] main demux debug: no access_demux module matched "J:\touren\test.AVI" [05ddb908] main demux debug: TIMER module_need() : 0.820 ms - Total 0.820 ms / 1 intvls (Avg 0.820 ms) [05ea29f8] main input debug: creating access 'J:\touren\test.AVI' location='', path='(null)' [05ea49c0] main access debug: looking for access module: 0 candidates [05ea49c0] main access debug: no access module matched "J:\touren\test.AVI" [05ea49c0] main access debug: TIMER module_need() : 0.268 ms - Total 0.268 ms / 1 intvls (Avg 0.268 ms) [05ea29f8] main input error: open of `J:\touren\test.AVI' failed [05ea29f8] main input error: Ihre Eingabe konnte nicht geöffnet werden [05ea29f8] main input error: VLC kann die MRL 'J:\touren\test.AVI' nicht öffnen. Sehen Sie für Details im Fehlerprotokoll nach.
any ideas?

best regards,
jobeagle

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 2.0 libvlc.dll New Error

Postby Rémi Denis-Courmont » 02 Mar 2012 17:22

It's working fine there. You input MRL is invalid though.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jobeagle
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Sep 2009 08:52

Re: 2.0 libvlc.dll New Error

Postby jobeagle » 04 Mar 2012 19:51

Thanks for your answer.
But if i go back to VLC 1.1.11 (only rename c:\programme\VideoLAN to c:\programme\VideoLAN2 and c:\programme\VideoLAN1 to c:\programme\VideoLAN) it works (shows video) and back to Version 2 it doesn't work.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 2.0 libvlc.dll New Error

Postby Rémi Denis-Courmont » 05 Mar 2012 09:57

I don't see any contradiction with what I said. The behaviour with invalid MRL's is undefined, so it might change from version to version.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jobeagle
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Sep 2009 08:52

Re: 2.0 libvlc.dll New Error

Postby jobeagle » 06 Mar 2012 21:00

I don't see any contradiction with what I said. The behaviour with invalid MRL's is undefined, so it might change from version to version.
Thanx for your answer. Version 2 of libvlc.dll now shows the video if i use the right MRL. :D
But now i have the next problem:
I use Marquee texts and with the new version the text is only shortly displayed and i get the error:
main video output error: vlc_object_find_name("marq") is not safe!
With version 1.1.11 this was only a warning but now its an error and only the first text is shortly displayed and the following marquee-texts are not shown.
Any ideas?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 2.0 libvlc.dll New Error

Postby Rémi Denis-Courmont » 06 Mar 2012 21:32

It could be many things, but it's probably nothing to do with the error message. Someone should investigate what broke.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jobeagle
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Sep 2009 08:52

Re: 2.0 libvlc.dll New Error

Postby jobeagle » 22 Mar 2012 17:05

The problem with Marqee-Text already exists in Version 2.01 :(

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 2.0 libvlc.dll New Error

Postby Rémi Denis-Courmont » 22 Mar 2012 18:23

That should not come as a surprise. "someone" is well known not to be very (pro)active when it comes to fixing bugs. Patch welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rayner_pupo
New Cone
New Cone
Posts: 5
Joined: 09 Dec 2010 21:30

Re: 2.0 libvlc.dll New Error

Postby rayner_pupo » 02 Apr 2012 19:42

jobeagle: What you mean with
Thanx for your answer. Version 2 of libvlc.dll now shows the video if i use the right MRL.
I have the same issue you have but I cant see the way to fix the MRL can you help me please?

jobeagle
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Sep 2009 08:52

Re: 2.0 libvlc.dll New Error

Postby jobeagle » 07 Apr 2012 11:22

That should not come as a surprise. "someone" is well known not to be very (pro)active when it comes to fixing bugs. Patch welcome.
Now i tried the last nightly build of 2.1.0 but the problem still exists. I think we need to open a ticket about this error?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 2.0 libvlc.dll New Error

Postby Rémi Denis-Courmont » 07 Apr 2012 11:34

No. You don't need to open a ticket, you need to provide a fix.

You can open a ticket (anyway), but that will not get the bug fixed.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rayner_pupo
New Cone
New Cone
Posts: 5
Joined: 09 Dec 2010 21:30

Re: 2.0 libvlc.dll New Error

Postby rayner_pupo » 09 Apr 2012 14:19

I gave the same error but change my code and use libvlc_media_new_path instead of libvlc_media_new_location setting up the media.

jobeagle
Blank Cone
Blank Cone
Posts: 11
Joined: 04 Sep 2009 08:52

Re: 2.0 libvlc.dll New Error

Postby jobeagle » 04 May 2012 11:14

Is it possible that the problem with marquee-texts exists because of the removing of the "marq"-module?

After the shorttime displaying of the marquee-text i get the following debugmessages from version 2.1.0:

Code: Select all

[0cbd42c0] direct3d vout display debug: Created 136x194 texture for OSD [0caec908] main subpicture debug: Filter 0cbdb340 removed from chain [0cbdb340] main filter debug: removing module "marq"
The last line is missing if i use an older 1.1.x version!

tittbit
Blank Cone
Blank Cone
Posts: 17
Joined: 10 Mar 2012 19:40

Re: 2.0 libvlc.dll New Error

Postby tittbit » 20 May 2012 21:33

i am watching from months, vlc faces may problems in their new versions.


vlc must first release the beta version of their products,


does vlc team has not a panel of testers, i mean who can analyze and verify any problem
Life is not finding yourself, it is discovering yourself.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 2.0 libvlc.dll New Error

Postby Rémi Denis-Courmont » 20 May 2012 22:02

Actually no. LibVLC has no testers that I am aware of. Note that VLC developers and other active community members only test the VLC media player, not the whole LibVLC API set.

Every LibVLC application developer seem to expect that someone else will do the LibVLC alpha and beta tests. And so nobody tests, and everybody hits the bugs when the release is already out.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tservettaz
New Cone
New Cone
Posts: 2
Joined: 11 Dec 2012 10:22

Re: 2.0 libvlc.dll New Error

Postby tservettaz » 11 Dec 2012 11:32

Hello!

ON my delphi project, I'm trying to disable the title-show on osd with this parameters:

no-osd and --no-video-title-show.

libvlc_media_add_option(media, "no-video-title-show")

It is working well with vlc 1.1.9 but not at all with 2.0 version.

Does anyone know why?

Thank you very much for your answer


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests