Olá pessoal,
eu estava tentando seguir o tutorial de NCLua fornecido em
http://www.telemidia.puc-rio.br/~francisco/nclua/tutorial/exemplo2.html
e na máquina virtual parece que o script não funciona... o vídeo roda, mas os botões "click it!" não aparecem.
Contudo, o exemplo 1 funcionou perfeitamente...
Qual seria o problema?
Autor: Leonardo Alexandre Ferreira Leite
1313 comentários
Aparece alguma mensagem no console quando se passa 3 segundos de vídeo?
Tome cuidado com o nome da extensão de seu arquivo pois mpg é diferente de MPG.
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-11-15 23:03)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1594)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1595)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1596)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org) --------------------- FusionSound v1.0.0 -------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2006 convergence GmbH
----------------------------------------------------------- (*) FusionSound/Device: ALSA 0.1 (directfb.org)
(*) FusionSound/Device: 44100 Hz, 2 channel(s), 16 bits, 25.0 ms.
(*) Direct/Thread: Running 'Sound Mixer' (OUTPUT, 1597)...
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(#) DirectFBError [Graphics IDirectFBScreen::TestConfiguration]: Not supported!
NCLFILE = /misc/ncl30/exemplo_02/main.ncl
Formatter::startDocument docId: 'nclClicks', interfaceId: ''.
(*) Direct/Interface: Loaded 'Xine' implementation of 'IDirectFBVideoProvider'.
audio_alsa_out : supported modes are 8bit 16bit 24bit mono stereo (4-channel not enabled in xine config) (4.1-channel not enabled in xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config)
xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
xine: found demuxer plugin: MPEG program stream demux plugin
AFD changed from -2 to -1
FormatterFocusManager::showObject Warning! focusIndex is null.
Formatter::startDocument return true
FormatterFocusManager::showObject Warning! object or descriptor is null.
PANIC: unprotected error in call to Lua API (/misc/ncl30/exemplo_02//clicks.lua:11: propriedade invalida)
(!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:813 in dfb_core_deinit_check()]
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [setting window->stack = NULL] *** [default.c:2805 in wm_close_stack()]
(!!!) *** WARNING [still objects in 'Window Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!) [ 1605: 0.000] --> Caught signal 11 (at 0x4, invalid address) <--
./launcher.sh: line 14: 1589 Aborted /misc/gingaNcl --ncl $1
[root@gingavm misc]# launcher.sh ncl30/exemplo_02/main.ncl
-bash: launcher.sh: command not found
[root@gingavm misc]# /mis/launcher.sh /misc/ncl30/exemplo_02/main.ncl
-bash: /mis/launcher.sh: No such file or directory
[root@gingavm misc]#
-bash: /mis/launcher.sh: No such file or directory o correto seria: # /misc/launcher.sh /misc/ncl30/exemplo_02/main.ncl Veja se consegue agora. [ ]'s Lucas Augusto
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2007-11-15 23:03)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1412)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 1413)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 1414)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org) --------------------- FusionSound v1.0.0 -------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2006 convergence GmbH
----------------------------------------------------------- (*) FusionSound/Device: ALSA 0.1 (directfb.org)
(*) FusionSound/Device: 44100 Hz, 2 channel(s), 16 bits, 25.0 ms.
(*) Direct/Thread: Running 'Sound Mixer' (OUTPUT, 1415)...
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(#) DirectFBError [Graphics IDirectFBScreen::TestConfiguration]: Not supported!
NCLFILE = /misc/ncl30/exemplo_02/main.ncl
Formatter::startDocument docId: 'nclClicks', interfaceId: ''.
(*) Direct/Interface: Loaded 'Xine' implementation of 'IDirectFBVideoProvider'.
audio_alsa_out : supported modes are 8bit 16bit 24bit mono stereo (4-channel not enabled in xine config) (4.1-channel not enabled in xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config)
xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
xine: found demuxer plugin: MPEG program stream demux plugin
AFD changed from -2 to -1
FormatterFocusManager::showObject Warning! focusIndex is null.
Formatter::startDocument return true
FormatterFocusManager::showObject Warning! object or descriptor is null.
PANIC: unprotected error in call to Lua API (/misc/ncl30/exemplo_02//clicks.lua:11: propriedade invalida)
(!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:813 in dfb_core_deinit_check()]
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [setting window->stack = NULL] *** [default.c:2805 in wm_close_stack()]
(!!!) *** WARNING [still objects in 'Window Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:231 in fusion_object_pool_destroy()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!!!) *** WARNING [Freeing buffer with a non-zero lock counter] *** [surfaces.c:1718 in dfb_surface_destroy_buffer()]
(!) [ 1423: 0.000] --> Caught signal 11 (at 0x4, invalid address) <--
./launcher.sh: line 14: 1407 Aborted /misc/gingaNcl --ncl $1
[root@gingavm misc]#
Mas dessa vez nem abre nada, e eu baixei de novo a máquina virtual antes de começar a fazer isso, para garantir que teria a última versão.