[Ginga-hackers] [ginga-hackers] Consulta - Carencia de audio (Gast?n Charkiewicz)

Gastón Charkiewicz gnchark at gmail.com
Sun Oct 30 17:31:20 CET 2011


>Message: 1
>Date: Sat, 29 Oct 2011 06:26:02 +0200
>From: Gast?n Charkiewicz <gnchark at gmail.com>
>Subject: [Ginga-hackers] [ginga-hackers] Consulta - Carencia de audio
>To: ginga-hackers at lists.ourproject.org
>Message-ID:
>       <CAHNwjsfN0FDaa7+k-D02n90X+F-AzUUFsR4dtjpui5R=+=hOTw at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Saludos a toda la comunidad;
>                                            este es mi primer aporte,
>espero poder ponerme a tiro pronto para poder colaborar activamente.
>
>Estoy utilizando la VM en VirtualBox que se encuentra actualmente
>subida por el Lifia (la baje ayer).
>
>Intente probar un ejemplo simple que mostrara un video (en formato
>avi) y una imagen con transparencia, sobre el video.
>
>Al probarlo, todo se ve correctamente, pero sin audio.
>
>La consola da esto:
>
>virtualbox at virtuakarmic:~/201110$ ginga --ncl e2.ncl
>argv = 'e2.ncl' nclFile = 'e2.ncl'
>ginga main() NCLFILE = /home/virtualbox/201110/e2.ncl
>commandline read: ginga
>
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~
>       (c) 2001-2008  The world wide DirectFB Open Source Community
>       (c) 2000-2004  Convergence (integrated media) GmbH
>     ----------------------------------------------------------------
>
>(*) DirectFB/Core: Single Application Core. (2009-06-02 06:33)
>(*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER
>0/0] <8388608>...
> (!!!)  *** ONCE [Joystick sends JS_EVENT_INIT events, make sure it
>has been calibrated using 'jscal -c'
>] *** [../../../inputdrivers/joystick/joystick.c:99 in
>joystick_handle_event()]
>(*) DirectFB/Input: Joystick 0.9 (directfb.org)
> (!!!)  *** WARNING [out of memory] ***
>[../../../src/core/input.c:1127 in init_axes()]
>(*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0]
><8388608>...
>(*) DirectFB/Input: X11 Input 0.1 (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)
>(*) X11/Window: Creating  720x 576 RGB32 window...
>(*) X11/Display: Using XShm.
>(#) DirectFBError [gingacc-systemio DFBDeviceScreen TestConfig error:
>]: Not supported!
>InputManager::initializeInputIntervalTime imperative = '0' declarative
>= '200'
>ginga main() NCLFILE = /home/virtualbox/201110/e2.ncl
>PresentationEngineManager::openNclFile document process time: 0
>== PEM::createNclPlayer
>FormatterMediator::printData(0xb610f608) baseId: -1 playerId:
>/home/virtualbox/201110/e2.ncl devClass: 0 x: 0 y: 0 w: 720 h: 576
>enableGfx: 0 parentDocId:  docId:
>BroadcastSocketService::discoverBroadcastAddress Warning! can't
>discover broadcast address
>PresentationContext::initializeSystemValues
>PresentationContext::getPropertyValue prop 'default.focusBorderColor'
>== 'blue'
>PresentationContext::getPropertyValue prop 'default.focusBorderWidth'
>== '3'
>PresentationContext::getPropertyValue prop 'default.selBorderColor' ==
>'green'
>FormatterFocusManager::setKeyHandler(0xb61170c8) isHandler '1'
>this->isHandler '0' parentManager '0'
>FormatterMediator::FormatterMediator(0xb610f608) isEmbedded = '0'
>PrivateBaseContext::addDocument id='new_ncl_file'
>url='/home/virtualbox/201110/e2.ncl' all done
>FormatterMediator::getDepUriFromNode checking descriptor 'descImagen'
>FormatterMediator::getDepUriFromNode checking descriptor 'descVideo'
>FormatterMultiDevice::addActiveUris
>activeBaseUri=/home/virtualbox/201110/
>Document ID: new_ncl_file
>PresentationContext::getPropertyValue prop
>'default.focusBorderTransparency' == '0'
>PresentationContext::getPropertyValue prop 'default.focusBorderColor'
>== 'blue'
>PresentationContext::getPropertyValue prop 'default.focusBorderWidth'
>== '3'
>PresentationContext::getPropertyValue prop 'default.selBorderColor' == 'green'
>*** !!!! FormatterScheduler::runAction start, event: 0xb6160268
>FormatterScheduler::runAction acquiring player for
>'-1/new_ncl_file/video/descVideo' TimeStamp: 0.126
>(*) Direct/Interface: Loaded 'FFmpeg' implementation of
>'IDirectFBVideoProvider'.
>AVPlayer created.
>/home/virtualbox/src/gingacc-system/src/io/interface/content/video/DFBVideoProvider.cpp
><342>:
>       FormatterPlayerAdapter::createPlayer for
>'/home/virtualbox/EXPO-TVD/videos/cjGrimmark.avi'
>/home/virtualbox/src/gingacc-system/src/io/interface/content/video/DFBVideoProvider.cpp
><342>:
>       void AVPlayer::play(/home/virtualbox/EXPO-TVD/videos/cjGrimmark.avi)
>(*) Direct/Thread: Started 'FFmpeg Input' (-1) [DEFAULT OTHER/OTHER
>0/0] <8388608>...
>(*) Direct/Thread: Started 'FFmpeg Video' (-1) [DEFAULT OTHER/OTHER
>0/0] <8388608>...
>*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6160268
>PresentationContext::getPropertyValue prop 'service.currentKeyMaster'
>has a NULL value
>*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6160268
>*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6117e98
>*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6117e98
>Starting just prepared player
>*** !!!! FormatterScheduler::runAction end, event: 0xb6160268
>*** !!!! FormatterScheduler::runAction start, event: 0xb6160bd8
>FormatterScheduler::runAction acquiring player for
>'-1/new_ncl_file/imagen/descImagen' TimeStamp: 0.185
>(*) Direct/Interface: Loaded 'IMLIB2' implementation of
>'IDirectFBImageProvider'.
>FormatterPlayerAdapter::createPlayer for
>'/home/virtualbox/EXPO-TVD/grimmark.jpg'
>*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6160bd8
>PresentationContext::getPropertyValue prop 'service.currentKeyMaster'
>has a NULL value
>*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6160bd8
>Starting just prepared player
>*** !!!! FormatterScheduler::runAction end, event: 0xb6160bd8
>FormatterMultiDevice::tapObject can't find object at '-9941' and '-29488' coords
>FormatterMultiDevice::tapObject '-1/new_ncl_file/video/descVideo'
>FormatterMultiDevice::tapObject '-1/new_ncl_file/video/descVideo'
>FormatterMultiDevice::tapObject can't find object at '-669' and '576' coords
>
>...podrian darme una mano, o encaminarme a una solucion?
>
>Muchas gracias!

Pude solucionarlo! Aunque parcialmente.
Corrí mis ejemplos en una máquina virtual con el Live CD de Ginga, y
noté que tampoco funcionaban con sonido; por lo que busqué los
ejemplos ya existentes en la máquina virtual con Kubuntu, y noté que
los archivos de audio eran más livianos y con un bitrate menor que el
que yo intentaba usar en otro ejemplo con audio, así que probé
corriéndolos con un mp3 modificado en tamaño y bitrate y,
efectivamente, todo funcionó.
Ahora, me resta probar hasta qué punto los videos pueden reproducirse,
y si pueden reproducirse con audio.
Alguien conoce alguna fuente de información para esto mismo?
Disculpen las molestias, pero también les pido lo siguiente: si alguno
lee este mail, aunque no tenga la respuesta, confírmeme si me estoy
manejando de forma correcta en esta lista (me informé al respecto pero
nunca había tenido interacción en una lista de correos).
Muchas gracias,

--
Gastón Charkiewicz



More information about the Ginga-hackers mailing list