Page 1 of 1

VLC 2.0.4 crash on Windows 8 when watching FreeboxTV

Posted: 02 Nov 2012 09:39
by smartmobili
Hi,

I am using Windows 8 pro 64bits and I have installed vlc-2.0.4 yesterday to watch tv from my freebox.
Unfortunately vlc crash randomly after approximativeley 10 minutes.
I have installed ubuntu in a virtual machine to recompile vlc-2.0.4 sources in debug following the guide found http://wiki.videolan.org/Win32Compile and using host=i686-w64-mingw32 but one of the contrib doesnt' compile because of a patch that cannot be applied.

libdvdnav-git/Makefile.am
(cd libdvdnav-git && patch -p1) < ../../contrib/src/dvdnav/dvdnav.patch
patching file Makefile.am
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej

So I have patched the patch ;-) with that :

-SUBDIRS = src $(EXAMPLES_DIR) doc misc m4
instead of
-SUBDIRS = src examples doc misc m4

Now build is running and I am waiting it finishes.
Is there anything I can do to help you fix this bug ?
Do you have a non stripped version of vlc ?


PS: in your wiki I mentioned in introduction you forgot to say that we also need minw64-g++,could you update your doc ?

run apt-get install gcc-mingw-w64-i686
run apt-get install g++-mingw-w64-i686

UPDATE : after 1 hour compilation stopped wth the following error :
common/macroblock.c: In function ‘x264_macroblock_thread_allocate’:
common/macroblock.c:404:73: error: ‘x264_param_t’ has no member named ‘i_lookahead_threads’
make[1]: *** [common/macroblock.o] Erreur 1

So I think I will stop here and will wait that someone fix the bug.

Re: VLC 2.0.4 crash on Windows 8 when watching FreeboxTV

Posted: 02 Nov 2012 12:13
by smartmobili
I am trying a last time and I have restarted from scratch and now compilation seems to go further (its stil compiling while I am writing this post). Once again I had to add some small patch to make it compile, inside vlc_windows_interfaces you should add
#undef small just after #include <objbase.h>.
Why don't you fix it ? it would allow people like me who wants to help to be more efficient because it's really a pain in the ... to loose time with build errors. Or at least you should document it on wiki.
Ok so now compilations ends with error like :
/usr/include/c++/4.6/bits/stl_map.h:453: undefined reference to `__imp___ZN6TagLib10StringListC1Ev'
.libs/libtaglib_plugin_la-taglib.o: In function `pair':
/usr/include/c++/4.6/bits/stl_pair.h:104: undefined reference to `__imp___ZN6TagLib6StringC1ERKS0_'
/usr/include/c++/4.6/bits/stl_pair.h:104: undefined reference to `__imp___ZN6TagLib10StringListC1ERKS0_'
.libs/libtaglib_plugin_la-taglib.o: In function `~pair':
/usr/include/c++/4.6/bits/stl_pair.h:87: undefined reference to `__imp___ZN6TagLib10StringListD1Ev'
/usr/include/c++/4.6/bits/stl_pair.h:87: undefined reference to `__imp___ZN6TagLib6StringD1Ev'

Re: VLC 2.0.4 crash on Windows 8 when watching FreeboxTV

Posted: 02 Nov 2012 14:05
by smartmobili
I have finally installed AdslTv and vlc 0.8.6f and everything works fine, so I will stick with that.