[mythtv-commits] Ticket #8523: Unable to play .nuv files (NuppelVideo)
MythTV
mythtv at cvs.mythtv.org
Fri Jun 4 06:52:24 UTC 2010
#8523: Unable to play .nuv files (NuppelVideo)
-----------------------------------------------------+----------------------
Reporter: Joern Koerner <joern.koerner@…> | Owner: ijr
Type: defect | Status: new
Priority: critical | Milestone: 0.23-fixes
Component: MythTV - General | Version: 0.23-fixes
Severity: medium | Mlocked: 0
-----------------------------------------------------+----------------------
Comment(by Joern Koerner <joern.koerner@…>):
Let the things clear up a little bit:
The error itself ("NuppelDecoder: lzo_init() failed, aborting") is
generated in libmythtv->nuppeldecoder.cpp at ~line 86. At this point the
linked library "minilzo.cpp" is called. So the initialisation of the lzo
lib failed.
So far I found some interesting comment when I look at the minilzo sources
(testmini.c)
-- SNIP --------------------------
if (lzo_init() != LZO_E_OK)
{
printf("internal error - lzo_init() failed !!!\n");
printf("(this usually indicates a compiler bug - try
recompiling\nwithout optimizations, and enable `-DLZO_DEBUG' for
diagnostics)\n");
return 3;
}
-- SNAP --------------------------
Also the README of the mimilzo lib tells:
...
If you are running on a very unusual architecture and lzo_init() fails
then
you should first recompile with `-DLZO_DEBUG' to see what causes the
failure.
The most probable case is something like `sizeof(char *) !=
sizeof(long)'.
After identifying the problem you can compile by adding some defines
like `-DSIZEOF_CHAR_P=8' to your Makefile.
The best solution is (of course) using Autoconf - if your project uses
Autoconf anyway just add `-DMINILZO_HAVE_CONFIG_H' to your compiler
flags when compiling minilzo.c. See the LZO distribution for an example
how to set up configure.in.
My configure parameters and it's output are:
./configure --prefix=/usr --enable-audio-oss --enable-audio-alsa
--disable-audio-jack --disable-audio-pulse --disable-distcc --disable-
ccache --enable-vdpau --enable-dvb --dvb-path=/usr/include --enable-x11
--with-bindings=perl,python
# Basic Settings
Compile type release
Compiler cache no
DistCC no
qmake /usr/bin/qmake
install prefix /usr
runtime prefix /usr
CPU x86 x86_32 (Intel(R) Pentium(R) 4 CPU 3.00GHz)
big-endian no
runtime cpu detection no
yasm yes
MMX enabled yes
MMX2 enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
CMOV enabled yes
# Input Support
Joystick menu yes
lirc support yes
Video4Linux sup. yes
ivtv support yes
HD-PVR support yes
FireWire support yes
DVB support yes [/usr/include]
DVB-S2 support yes
HDHomeRun support yes
IPTV support yes
# Sound Output Support
PulseAudio support no
OSS support yes
ALSA support yes
JACK support no
libfftw3 support no
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support yes
XvMC VLD support yes
XvMC pro support no
XvMC libs -lXvMCW
VDPAU support yes
OpenGL video yes
OpenGL vsync yes
DirectFB no
Fribidi formatting yes
MHEG support yes
# Misc Features
multi threaded libavcodec yes
Frontend yes
Backend yes
# Bindings
bindings_perl yes
bindings_python yes
Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak
libs/libavutil/avconfig.h is unchanged
This is the same (well and correct) way mythtv tries to initialize the lzo
library.
I will try get more info.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8523#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list