TeleMidia / ginga

A Ginga iTV middleware implementation by TeleMídia/PUC-Rio
http://ginga.org.br
GNU General Public License v2.0
51 stars 8 forks source link

Crash when running example #178

Closed FerroEduardo closed 1 year ago

FerroEduardo commented 1 year ago

System: Ubuntu 20.04.6 on WSL 2 Kernel: 5.15.90.1-microsoft-standard-WSL2 Script: primeiro-joao/01sync.ncl

Terminal

$ ginga examples/primeiro-joao/01sync.ncl
**
ERROR:PlayerVideo.cpp:95:ginga::PlayerVideo::PlayerVideo(ginga::Formatter*, ginga::Media*): '_audio.pan' should not be nullptr
Bail out! ERROR:PlayerVideo.cpp:95:ginga::PlayerVideo::PlayerVideo(ginga::Formatter*, ginga::Media*): '_audio.pan' should not be nullptr
Aborted

I don't know if this is related to WSL, but I was able to run others scripts: Pacman image

Luarocks image

alanlivio commented 1 year ago

Many thanks @FerroEduardo. Did you have instaled the gstreamer1.0-plugins-bad package in WSL (see here)? Some decoders are dynamic loaded by gstreamer.

FerroEduardo commented 1 year ago

Many thanks @FerroEduardo. Did you have instaled the gstreamer1.0-plugins-bad package in WSL (see here)? Some decoders are dynamic loaded by gstreamer.

After installing gstreamer packages, I was able to run with success! Thanks a lot! :) image

If helps somehow, I also got this output

$ ginga ginga/examples/primeiro-joao/01sync.ncl
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock