VLC 2.1.0-git Rincewind crashes when loading ANY video

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
venom104

VLC 2.1.0-git Rincewind crashes when loading ANY video

Post by venom104 »

Here is my story. I had to switch to OSS4 because I had some major issues with ALSA. The default VLC installation on Linux Mint Debian Edition does NOT have support for OSS.

I had to compile VLC with support for OSS, I followed the instructions here http://www.andrews-corner.org/vlc.html#codecs

So anyway, I compiled it, and installed it, the problem is it works FINE for any music file, but if I try and load any type of video, I get a segmentation fualt...this is the output of vlc -vv

Code: Select all

venom@venom-desktop /media/transfer/backup/Videos/The Big Bang Theory/Season 1 $ vlc -vv
VLC media player 2.1.0-git Rincewind (revision 4dc0b22)
[0x1420108] main libvlc debug: VLC media player - 2.1.0-git Rincewind
[0x1420108] main libvlc debug: Copyright © 1996-2012 the VideoLAN team
[0x1420108] main libvlc debug: revision 4dc0b22
[0x1420108] main libvlc debug: configured with ./configure  '--prefix=/usr/local' '--enable-realrtsp' '--enable-aa' '--enable-merge-ffmpeg' '--enable-vcdx' '--enable-ncurses' '--enable-oss' 'CFLAGS=-I/home/venom/vlc_build/vlcdeps/usr/include' 'LDFLAGS=-L/home/venom/vlc_build/vlcdeps/usr/lib' 'CPPFLAGS=-I/home/venom/vlc_build/vlcdeps/usr/include ' 'CXXFLAGS=-I/home/venom/vlc_build/vlcdeps/usr/include' 'PKG_CONFIG_PATH=/home/venom/vlc_build/vlcdeps/usr/lib/pkgconfig'
[0x1420108] main libvlc debug: searching plug-in modules
[0x1420108] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[0x1420108] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0x1420108] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat
[0x1420108] main libvlc debug: plug-ins loaded: 427 modules
[0x1420108] main libvlc debug: opening config file (/home/venom/.config/vlc/vlcrc)
[0x1420108] main libvlc debug: translation test: code is "C"
[0x1420108] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4A FPU 
[0x1420108] main libvlc debug: looking for memcpy module: 4 candidates
[0x1420108] main libvlc debug: using memcpy module "memcpymmxext"
[0x16f2958] main input debug: Creating an input for 'Media Library'
[0x16f2958] main input debug: Input is a meta file: disabling unneeded options
[0x16f2958] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x16f2958] main input debug: `file/xspf-open:///home/venom/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/venom/.local/share/vlc/ml.xspf'
[0x16f2958] main input debug: creating demux: access='file' demux='xspf-open' location='/home/venom/.local/share/vlc/ml.xspf' file='/home/venom/.local/share/vlc/ml.xspf'
[0x14edee8] main demux debug: looking for access_demux module: 3 candidates
[0x14edee8] main demux debug: no access_demux module matching "file" could be loaded
[0x16f2958] main input debug: creating access 'file' location='/home/venom/.local/share/vlc/ml.xspf', path='/home/venom/.local/share/vlc/ml.xspf'
[0x14f5b78] main access debug: looking for access module: 2 candidates
[0x14f5b78] filesystem access debug: opening file `/home/venom/.local/share/vlc/ml.xspf'
[0x14f5b78] main access debug: using access module "filesystem"
[0x14f7f78] main stream debug: Using stream method for AStream*
[0x14f7f78] main stream debug: starting pre-buffering
[0x14f7f78] main stream debug: received first data after 0 ms
[0x14f7f78] main stream debug: pre-buffering done 296 bytes in 0s - 2064 KiB/s
[0x14f8b28] main stream debug: looking for stream_filter module: 7 candidates
[0x14f8b28] main stream debug: no stream_filter module matching "any" could be loaded
[0x14f8b28] main stream debug: looking for stream_filter module: 1 candidate
[0x14f8b28] main stream debug: using stream_filter module "stream_filter_record"
[0x16f2958] main input debug: creating demux: access='file' demux='xspf-open' location='/home/venom/.local/share/vlc/ml.xspf' file='/home/venom/.local/share/vlc/ml.xspf'
[0x14f9f18] main demux debug: looking for demux module: 1 candidate
[0x14f9f18] playlist demux debug: using XSPF playlist reader
[0x14f9f18] main demux debug: using demux module "playlist"
[0x1452e48] main demux meta debug: looking for meta reader module: 2 candidates
[0x1452e48] lua demux meta debug: Trying Lua scripts in /home/venom/.local/share/vlc/lua/meta/reader
[0x1452e48] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader
[0x1452e48] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac
[0x1452e48] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader
[0x1452e48] main demux meta debug: no meta reader module matching "any" could be loaded
[0x16f2958] main input debug: `file/xspf-open:///home/venom/.local/share/vlc/ml.xspf' successfully opened
[0x1462758] main xml reader debug: looking for xml reader module: 1 candidate
[0x1462758] main xml reader debug: using xml reader module "xml"
[0x14f9f18] playlist demux debug: parsed 0 tracks successfully
[0x16f2958] main input debug: EOF reached
[0x14f9f18] main demux debug: removing module "playlist"
[0x14f8b28] main stream debug: removing module "stream_filter_record"
[0x14f5b78] main access debug: removing module "filesystem"
[0x1437b08] main interface debug: looking for interface module: 1 candidate
[0x1437b08] main interface debug: using interface module "hotkeys"
[0x14edde8] main interface debug: looking for interface module: 1 candidate
[0x14edde8] main interface debug: using interface module "globalhotkeys"
[0x14f5b78] main interface debug: looking for interface module: 1 candidate
[0x14f5b78] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance17985
[0x14334b8] main playlist debug: playlist threads correctly activated
[0x14f5b78] main interface debug: using interface module "dbus"
[0x145f7c8] main interface debug: looking for interface module: 1 candidate
[0x14334b8] main playlist debug: rebuilding array of current - root Playlist
[0x14334b8] main playlist debug: rebuild done - 0 items, index -1
[0x145f7c8] main interface debug: using interface module "inhibit"
[0x1420108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x1462ed8] main interface debug: looking for interface module: 5 candidates
[0x198dbe8] main generic debug: looking for extension module: 1 candidate
[0x198dbe8] lua generic debug: Opening Lua Extension module
[0x198dbe8] lua generic debug: Trying Lua scripts in /home/venom/.local/share/vlc/lua/extensions
[0x198dbe8] lua generic debug: Trying Lua scripts in /usr/local/lib/vlc/lua/extensions
[0x198dbe8] lua generic debug: Trying Lua scripts in /usr/local/share/vlc/lua/extensions
[0x198dbe8] main generic debug: using extension module "lua"
[0x1462ed8] main interface debug: using interface module "qt4"
[0x14334b8] main playlist debug: adding item `01x05 - The Hamburger Postulate.avi' ( file:///media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi )
[0x14334b8] main playlist debug: rebuilding array of current - root Playlist
[0x14334b8] main playlist debug: rebuild done - 1 items, index -1
[0x14334b8] main playlist debug: processing request item: 01x05 - The Hamburger Postulate.avi, node: null, skip: 0
[0x14334b8] main playlist debug: resyncing on 01x05 - The Hamburger Postulate.avi
[0x14334b8] main playlist debug: 01x05 - The Hamburger Postulate.avi is at 0
[0x14334b8] main playlist debug: starting playback of the new playlist item
[0x14334b8] main playlist debug: creating new input thread
[0x19f78b8] main input debug: Creating an input for '01x05 - The Hamburger Postulate.avi'
[0x1462ed8] qt4 interface debug: Adding a new MRL to recent ones: file:///media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi
[0x19f78b8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x19f78b8] main input debug: `file:///media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi' gives access `file' demux `' path `/media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi'
[0x19f78b8] main input debug: creating demux: access='file' demux='' location='/media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi' file='/media/transfer/backup/Videos/The Big Bang Theory/Season 1/01x05 - The Hamburger Postulate.avi'
[0x19ffe18] main demux debug: looking for access_demux module: 3 candidates
[0x19ffe18] main demux debug: no access_demux module matching "file" could be loaded
[0x19f78b8] main input debug: creating access 'file' location='/media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi', path='/media/transfer/backup/Videos/The Big Bang Theory/Season 1/01x05 - The Hamburger Postulate.avi'
[0x19fffe8] main access debug: looking for access module: 2 candidates
[0x19fffe8] filesystem access debug: opening file `/media/transfer/backup/Videos/The Big Bang Theory/Season 1/01x05 - The Hamburger Postulate.avi'
[0x19fffe8] main access debug: using access module "filesystem"
[0x1a00138] main stream debug: Using stream method for AStream*
[0x1a00138] main stream debug: starting pre-buffering
[0x1a00138] main stream debug: received first data after 0 ms
[0x1a00138] main stream debug: pre-buffering done 1024 bytes in 0s - 37037 KiB/s
[0x1a00438] main stream debug: looking for stream_filter module: 7 candidates
[0x1a00438] main stream debug: no stream_filter module matching "any" could be loaded
[0x1a00438] main stream debug: looking for stream_filter module: 1 candidate
[0x1a00438] main stream debug: using stream_filter module "stream_filter_record"
[0x19f78b8] main input debug: creating demux: access='file' demux='' location='/media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi' file='/media/transfer/backup/Videos/The Big Bang Theory/Season 1/01x05 - The Hamburger Postulate.avi'
[0x1a00718] main demux debug: looking for demux module: 55 candidates
[0x1a00438] avi stream debug: <list 'AVI '>
[0x1462ed8] qt4 interface debug: IM: Setting an input
[0x1a00608] main input debug: Creating an input for '01x05 - The Hamburger Postulate.avi'
[0x1a00438] avi stream debug: <list 'hdrl'>
[0x1a00438] avi stream debug: <list 'strl'>
[0x1a00438] avi stream debug: </list 'strl'>
[0x1a00438] avi stream debug: <list 'strl'>
[0x1a00438] avi stream debug: </list 'strl'>
[0x1a00438] avi stream debug: </list 'hdrl'>
[0x1a00438] avi stream debug: <list 'INFO'>
[0x1a00438] avi stream debug: </list 'INFO'>
[0x1a00438] avi stream debug: skipping movi chunk
[0x1a00438] avi stream debug: </list 'AVI '>
[0x1a00438] avi stream debug: * LIST-root size:183536006 pos:0
[0x1a00438] avi stream debug:      + RIFF-AVI  size:183535998 pos:0
[0x1a00438] avi stream debug:      |    + LIST-hdrl size:306 pos:12
[0x1a00438] avi stream debug:      |    |    + avih size:56 pos:24
[0x1a00438] avi stream debug:      |    |    + LIST-strl size:116 pos:88
[0x1a00438] avi stream debug:      |    |    |    + strh size:56 pos:100
[0x1a00438] avi stream debug:      |    |    |    + strf size:40 pos:164
[0x1a00438] avi stream debug:      |    |    + LIST-strl size:106 pos:212
[0x1a00438] avi stream debug:      |    |    |    + strh size:56 pos:224
[0x1a00438] avi stream debug:      |    |    |    + strf size:30 pos:288
[0x1a00438] avi stream debug:      |    + LIST-INFO size:28 pos:326
[0x1a00438] avi stream debug:      |    |    + ISFT size:16 pos:338
[0x1a00438] avi stream debug:      |    + JUNK size:1666 pos:362
[0x1a00438] avi stream debug:      |    + LIST-movi size:182293282 pos:2036
[0x1a00438] avi stream debug:      |    + idx1 size:1240672 pos:182295326
[0x1a00718] avi demux debug: AVIH: 2 stream, flags  HAS_INDEX IS_INTERLEAVED 
[0x1a00718] avi demux debug: stream[0] rate:23976024 scale:1000000 samplesize:0
[0x1a00718] avi demux debug: stream[0] video(XVID) 624x352 24bpp 23.976025fps
[0x19f78b8] main input debug: selecting program id=0
[0x1a00718] avi demux debug: stream[1] rate:48000 scale:1152 samplesize:0
[0x1a00718] avi demux debug: stream[1] audio(0x55 - MPEG Audio layer 1/2/3) 2 channels 48000Hz 16bits
[0x1a00718] avi demux debug: selected standard index for stream[0]
[0x1a00718] avi demux debug: selected standard index for stream[1]
[0x1a00718] avi demux debug: stream[0] created 28322 index entries
[0x1a00718] avi demux debug: stream[1] created 49220 index entries
[0x1a00718] avi demux debug: stream[0] length:1181 (based on index)
[0x1a00718] avi demux debug: stream[1] length:1181 (based on index)
[0x1a00718] main demux debug: using demux module "avi"
[0x19f78b8] main input debug: looking for a subtitle file in /media/transfer/backup/Videos/The Big Bang Theory/Season 1/
[0x1a0f0f8] main decoder debug: looking for decoder module: 32 candidates
[0x14334b8] main playlist debug: no fetch required for (null) (art currently (null))
[0x1a0f0f8] avcodec decoder debug: trying to use direct rendering
[0x1a0f0f8] avcodec decoder debug: allowing 1 thread(s) for decoding
[0x1a0f0f8] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[0x1a0f0f8] main decoder debug: using decoder module "avcodec"
[0x331fc68] main decoder debug: looking for decoder module: 32 candidates
[0x331fc68] main decoder debug: using decoder module "mpeg_audio"
[0x33209b8] main demux meta debug: looking for meta reader module: 2 candidates
[0x33209b8] lua demux meta debug: Trying Lua scripts in /home/venom/.local/share/vlc/lua/meta/reader
[0x33209b8] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader
[0x33209b8] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac
[0x33209b8] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader
[0x33209b8] main demux meta debug: no meta reader module matching "any" could be loaded
[0x19f78b8] main input debug: `file:///media/transfer/backup/Videos/The%20Big%20Bang%20Theory/Season%201/01x05%20-%20The%20Hamburger%20Postulate.avi' successfully opened
[0x19f78b8] main input debug: Buffering 0%
[0x3284258] main spu text debug: looking for text renderer module: 3 candidates
[0x3284258] freetype spu text debug: Building font databases.
[0x3284258] freetype spu text debug: Took 0 microseconds
[0x19f78b8] main input debug: Buffering 8%
[0x331fc68] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:128
[0x3284258] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
[0x3284258] freetype spu text debug: using fontsize: 2
[0x3284258] main spu text debug: using text renderer module "freetype"
[0x32853a8] main scale debug: looking for video filter2 module: 18 candidates
[0x19f78b8] main input debug: Buffering 16%
[0x19f78b8] main input debug: Buffering 25%
[0x19f78b8] main input debug: Buffering 33%
[0x19f78b8] main input debug: Buffering 41%
[0x32853a8] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
[0x19f78b8] main input debug: Buffering 50%
[0x32853a8] main scale debug: using video filter2 module "swscale"
[0x3319928] main scale debug: looking for video filter2 module: 18 candidates
[0x19f78b8] main input debug: Buffering 58%
[0x19f78b8] main input debug: Buffering 66%
[0x19f78b8] main input debug: Buffering 75%
[0x19f78b8] main input debug: Buffering 83%
[0x19f78b8] main input debug: Buffering 91%
[0x19f78b8] main input debug: Buffering 100%
[0x19f78b8] main input debug: Stream buffering done (325 ms in 70 ms)
[0x3319928] yuvp scale debug: YUVP to YUVA converter
[0x3319928] main scale debug: using video filter2 module "yuvp"
[0x32835a8] main video output debug: Deinterlacing available
[0x32835a8] main video output debug: deinterlace 0, mode blend, is_needed 0
[0x32835a8] main video output debug: Opening vout display wrapper
[0x3481b38] main vout display debug: looking for vout display module: 7 candidates
[0x3488538] main window debug: looking for vout window xid module: 4 candidates
[0x3488538] qt4 window debug: requesting video...
[0x1462ed8] qt4 interface debug: Video was requested 0, 0
[0x3488538] main window debug: using vout window xid module "qt4"
[0x19f1548] main inhibit debug: looking for inhibit module: 2 candidates
[0x19f1548] main inhibit debug: using inhibit module "xdg_screensaver"
Segmentation fault


Every other player on my system that supports OSS4 works fine! What do I do?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
venom104

Re: VLC 2.1.0-git Rincewind crashes when loading ANY video

Post by venom104 »

if I change the output to "simple DirectMedia Layer video output" it works fine, but it opens a separate window to play the video...any ideas on how to fix either problem?
krysti

Re: VLC 2.1.0-git Rincewind crashes when loading ANY video

Post by krysti »

I've been able to get this to work with playing video and v4l2 capture card viewing.

I'll just give you my source and how I modified the information.

Went here: https://help.ubuntu.com/community/CompileVLC

Did everything as listed up to the VLC build

did this instead:

Code: Select all

cd $HOME/vlc_build && \
git clone git://git.videolan.org/vlc.git --depth 1 && \
cd $HOME/vlc_build/vlc && \
if [ ! "$(uname -m)" = "x86_64" ]; then
 ARCHOPTS="--enable-loader"
else
ARCHOPTS=""
fi && \
./bootstrap && \
CPPFLAGS="-I$HOME/vlc_build/vlcdeps/usr/include " \
LDFLAGS="-L$HOME/vlc_build/vlcdeps/usr/lib" \
PKG_CONFIG_PATH="$HOME/vlc_build/vlcdeps/usr/lib/pkgconfig" \
./configure --build=x86_64-linux-gnu $ARCHOPTS --prefix=/usr/local/vlc-git --enable-a52 --enable-aa --enable-bluray --enable-bonjour --enable-caca --enable-dbus --enable-dca --enable-dirac --enable-directfb --enable-dvbpsi --enable-dvdnav --enable-faad --enable-flac --enable-fluidsynth --enable-freetype --enable-fribidi --enable-gnutls --enable-jack --enable-kate --enable-libass --enable-libmpeg2 --enable-libproxy --enable-libxml2 --enable-lirc --enable-live555 --enable-mad --enable-mkv --enable-mod --enable-mpc --enable-mtp --enable-mux_ogg --enable-ncurses --enable-notify  --enable-pulse --enable-qt4 --enable-realrtsp --enable-samplerate --enable-schroedinger --enable-sdl --enable-shout --enable-skins2 --enable-smb --enable-speex --enable-svg --enable-taglib --enable-theora --enable-twolame --enable-upnp --enable-vcd --enable-vcdx --enable-vorbis --enable-x264 --enable-zvbi --with-kde-solid=/usr/share/kde4/apps/solid/actions/ --disable-dxva2 --disable-gnomevfs --disable-goom --disable-portaudio --disable-projectm --disable-sqlite --disable-telx --enable-alsa --enable-atmo --enable-dc1394 --enable-dv --enable-fbosd --enable-libva --enable-linsys --enable-omxil --enable-pvr --enable-udev --enable-v4l2 --enable-crystalhd --enable-mmx --enable-sse --disable-neon --disable-altivec --enable-realrtsp  --enable-merge-ffmpeg --enable-vcdx --enable-ncurses --disable-speex && \
make -j5 && \
mkdir -vp doc-pak && \
cp -v AUTHORS COPYING INSTALL NEWS README THANKS doc-pak && \
sudo checkinstall --pakdir "$HOME/vlc_build" --backup=no --deldoc=yes --pkgname vlc \
--pkgversion "2.1.0-git-$(date +%Y%m%d)-$(git show --abbrev-commit \
| grep '^commit' | cut -f2 -d " ")" --fstrans=no \
--deldesc=yes --delspec=yes --default && \
make distclean && sudo ldconfig
Basically what I did was look at the ./configure used in the Ubuntu repository of VLC and applied it to the 2.1.0-git build where needed. What I did find out so far is the streaming is giving me problems, in particularly the "gather" parameter which allows you to basically make streaming useful by not crashing or stopping the stream when a new file picks up or a new file format gets in there. So that's the major fault I'm having right now. My settings for VLC work fine in 2.0.3 Twoflower, but the issues are as I've said in 2.1.0-git. Working on it.
Locked

Return to “Software & Applications”