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");
}
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.
Code: Select all
system.environment.SetEnvironmentVariable("VLC_PLUGIN_PATH", application.startuppath & "\plugins");
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"));
}
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.
Thanx for your answer. Version 2 of libvlc.dll now shows the video if i use the right MRL.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.
I have the same issue you have but I cant see the way to fix the MRL can you help me please?Thanx for your answer. Version 2 of libvlc.dll now shows the video if i use the right MRL.
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?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.
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"
Return to “Development around libVLC”
Users browsing this forum: No registered users and 13 guests