Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLC and Xine both crash on MKVs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
EneNL
n00b
n00b


Joined: 31 Aug 2005
Posts: 54
Location: The Netherlands

PostPosted: Sat Jan 28, 2006 4:14 pm    Post subject: VLC and Xine both crash on MKVs Reply with quote

I have VLC, xine-ui and xine-lib installed, with the following use flags:

Code:
~ $ sudo emerge -vp vlc xine-ui xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/vlc-0.8.4a  USE="X a52 aac aalib alsa bidi cdda corba daap dts dvb dvd esd fbcon ffmpeg flac ggi hal httpd libcaca matroska mp3 mpeg ncurses nls nsplugin ogg opengl png real samba screen sdl skins speex svg theora truetype vcd vorbis wxwindows xml2 xv -arts -avahi -debug -gnutls -joystick -lirc -live -mod -oss -shout -stream -v4l -vlm -xinerama -xosd" 0 kB
[ebuild   R   ] media-video/xine-ui-0.99.4-r3  USE="X aalib curl libcaca ncurses nls readline -lirc -xinerama" 0 kB
[ebuild   R   ] media-libs/xine-lib-1.1.1-r4  USE="X a52 aac aalib alsa asf cle266 directfb dts dvd dxr3 esd fbcon ffmpeg flac gnome i8x0 ipv6 libcaca mng nls nvidia opengl samba sdl speex theora vcd vorbis xv xvmc -arts -debug -imagemagick -mad -modplug -oss -v4l -xinerama" 0 kB


When I try to watch an MKV they both (VLC and Xine-ui) both crash. They also crash on MPGs. Of the MKVs I know they are fine, because they work on Windows with VLC and BSplayer. The MPGs can be corrupted, but I do not know how I can tell.
Anyway, when opening an MKV or an MPG VLC crashes with the following error message:

Quote:
~ $ vlc
VLC media player 0.8.4a Janus
vlc: pcm_plug.c:384: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv->format)' failed.
Aborted


Xine-ui with this one:
Quote:
~ $ xine
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
xiTK received SIGSEGV signal, RIP.
Aborted


AVIs work fine by the way.

Oh and I'm on an ~amd64 system with GCC version 3.4.5.
Back to top
View user's profile Send private message
Aonoa
Guru
Guru


Joined: 23 May 2002
Posts: 589

PostPosted: Sat Jan 28, 2006 9:17 pm    Post subject: Reply with quote

What about mplayer, tried it?
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1321

PostPosted: Wed Feb 01, 2006 8:32 pm    Post subject: Reply with quote

I have the same problem with the mp3s and the mpg with Xine.
After an update to the last xine-lib
xine
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
xiTK received SIGSEGV signal, RIP.
Killed
with a verbose
xine --verbose
xine: found input plugin : file input plugin
ebml: invalid master element
xine: found demuxer plugin: MPEG audio demux plugin
demux_mpgaudio: ID3V2.3 tag
ffmpeg_audio_dec: increasing buffer to 98304 to avoid overflow.
xiTK received SIGSEGV signal, RIP.
Killed

I have made a debugging with the gdb
gdb xine
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /usr/bin/xine
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 32283)]
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
[New Thread 32769 (LWP 32286)]
[New Thread 16386 (LWP 32287)]
[New Thread 32771 (LWP 32288)]
[New Thread 49156 (LWP 32289)]
[New Thread 65541 (LWP 32290)]
[New Thread 81926 (LWP 32291)]
[New Thread 98311 (LWP 32292)]
[New Thread 114696 (LWP 32293)]
[New Thread 131081 (LWP 32294)]
[New Thread 147466 (LWP 32295)]
[New Thread 163851 (LWP 32296)]
[New Thread 180236 (LWP 32297)]
[New Thread 196621 (LWP 32298)]
[New Thread 213006 (LWP 32299)]
[New Thread 229391 (LWP 32300)]
[New Thread 245776 (LWP 32301)]
[New Thread 262161 (LWP 32302)]
[New Thread 278546 (LWP 32303)]
[Thread 278546 (LWP 32303) exited]
[New Thread 294931 (LWP 32304)]
[New Thread 311316 (LWP 32305)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 131081 (LWP 32294)]
0xb711bd44 in avcodec_open () from /usr/lib/libavcodec.so.51
(gdb) q
The program is running. Exit anyway? (y or n) y
My use:
emerge -pv xine-lib
+X +a52 +aac -aalib +alsa (-altivec) +arts +asf +cle266 -debug -directfb -dts +dvd +dxr3 +esd -fbcon +ffmpeg +flac +gnome -i8x0 -imagemagick -ipv6 -libcaca -mad -mng +nls +nvidia +opengl -oss +samba -sdl -speex -theora +v4l -vcd -vidix +vorbis +win32codecs -xinerama +xv -xvmc 0 kB

You can note a problem with the libavcodec from the ffmpeg package

media-video/ffmpeg-0.4.9_p20051216 +a52 +aac (-altivec) -debug +doc -dts -encode -ieee1394 -imlib +mmx +network -ogg -oss -sdl -test -theora -threads -truetype +v4l +vorbis +xvid +zlib 0 kB
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1321

PostPosted: Wed Feb 01, 2006 10:10 pm    Post subject: Reply with quote

SOLVED!!!! :o
equery uses xine-lib [ Searching for packages matching xine-lib... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-libs/xine-lib-1.1.1-r4 ]
U I
+ + X : Adds support for X11
+ + a52 : Enables support for decoding ATSC A/52 streams used in DVD
+ + aac : Enables support for MPEG-4 AAC Audio
- - aalib : Adds support for media-libs/aalib (ASCII-Graphics Library)
+ + alsa : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
- - altivec : Adds support for optimizations for G4 and G5/ppc970 processors
+ + arts : Adds support for aRts: the KDE sound daemon
- + asf : Support for ASF demuxer (required for win32codecs)
+ + cle266 : Suport for the via XvMC libs
- - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
- - directfb : Adds support for DirectFB layer (library for FB devices)
- - dts : Enables libdts (DTS Coherent Acoustics decoder) support
+ + dvd : Adds support for DVDs
+ + dxr3 : Support for DXR3 mpeg accelleration cards
+ + esd : Adds support for media-sound/esound (Enlightened Sound Daemon)
- - fbcon : Adds framebuffer support for the console, via the kernel
- + ffmpeg : Enable ffmpeg support
+ + flac : Adds support for the flac audio codec
+ + gnome : Adds GNOME support
- - i8x0 : Support the i8x0 XvMC libs
- - imagemagick : Enables support for Imagemagick (image converter)
- - ipv6 : Adds support for IP version 6
- - libcaca : Add support for colored ASCII-art graphics
- - mad : Adds support for mad (high-quality mp3 decoder library and cli frontend)
- - mng : Adds support for libmng (MNG images)
- - modplug : Build with modplug support
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
+ + nvidia : Support the nvidia XvMC libs
+ + opengl : Adds support for OpenGL
- - oss : Adds support for OSS (Open Sound System)
+ + samba : Adds support for SAMBA
- - sdl : Adds support for Simple Direct Layer (media library)
- - speex : Adds support for the speex audio codec
- - theora : Adds support for the Theora Video Compression Codec
+ + v4l : Enables video4linux support
- - vcd : Video CD support
- - vidix : Support for vidix video output
+ + vorbis : Adds support for the OggVorbis audio codec
+ + win32codecs : use win32codecs package for dll avi decoding support (wmv and what not)
+ - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
+ + xv : Adds in optional support for the Xvideo extension (an X API for video playback)
- - xvmc : Support for XVideo Motion Compensation (accellerated mpeg playback)

You can note this use flag
- + mad : Adds support for mad (high-quality mp3 decoder library and cli frontend)
After a
USE="asf ffmpeg mad -xinerama" emerge '='xine-lib
works like a charm :D
Note:
There are lot of USE FLAGS, a Manual for them will be Welcome
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum