You are not logged in.

#1 2012-10-07 02:25:11

mmix
Member
Registered: 2012-10-03
Posts: 42

[TIP] vlc installation

[funtoo experimental]
After emerge vlc,  i get segmentation fault, so i have to manually install vlc  2.1.0-git Rincewind, here is how.
IMHO, there is something wrong with QT, so i have to manually install qt4.8.x too.

if you did "emerge vlc", skip this.
# emerge ffmpeg
or, [optional]
$ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
$ cd ffmpeg &&  ./configure --prefix=/usr/ --enable-shared --enable-pthreads --enable-gpl --enable-postproc --enable-x11grab --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid && make
# make install

$ git clone git://gitorious.org/qt/qt.git
$ cd qt && ./configure --prefix=/usr && make
# make install

$ git clone git://git.videolan.org/vlc.git

$ cd vlc && ./bootstrap && ./configure --prefix=/usr/ --disable-lua --disable-mad --disable-a52 --enable-pulse
or
$ cd vlc && ./bootstrap && ./configure --prefix=/usr/ --disable-lua --disable-mad --disable-a52 --enable-pulse --disable-sout //more recent git

# make install
# revdep-rebuild

--
PS: run vlc -> Tools -> Preferences -> Audio -> Output : ALSA audio output
if you get segfault in vlc, try gdb vlc -> r -> bt full, then if it is related to video & media is sound file then try to disable video.
PS: run vlc -> Tools -> Preferences -> Video -> Uncheck Enable video [Audio only]

Last edited by mmix (2013-03-30 22:55:45)

Offline

#2 2012-10-07 13:17:48

Juippisi
Member
From: /home
Registered: 2012-03-01
Posts: 51

Re: [TIP] vlc installation

Or you could've unmasked and emerged vlc-2.0.9999 or vlc-9999.ebuild, both will install git-version. Also, enable use flag "debug" to get some clues why it's crashing. Does mplayer2 crash as well?

If you have ffmpeg-1.0 installed in experimental, it's known not to work yet. I'd suggest downgrading it.

EDIT: Why you have pulse enabled if you use alsa?

Last edited by Juippisi (2012-10-07 13:18:25)

Offline

#3 2012-10-08 10:59:49

mmix
Member
Registered: 2012-10-03
Posts: 42

Re: [TIP] vlc installation

Hi, ffmpeg git version(>= 1.0) works fine with vlc-2.1.0-git on my funtoo-experimental.

i used to enable pulseaudio, vlc didn't worked on F17/F15 at the time.
http://forums.fedoraforum.org/showthread.php?t=280220

Last edited by mmix (2012-10-08 11:00:19)

Offline

#4 2012-10-15 22:57:44

mmix
Member
Registered: 2012-10-03
Posts: 42

Re: [TIP] vlc installation

Just side note:

1. upon on the git status of ffmpeg & qt & vlc, it may/may not works with specific media file. period.

2. Tools -> Preferences -> Interface -> uncheck Resize interface to video size. and re-run vlc.

Last edited by mmix (2012-10-20 07:32:11)

Offline

#5 2012-11-04 03:23:49

mmix
Member
Registered: 2012-10-03
Posts: 42

Re: [TIP] vlc installation

for recent linux kernel git-sources 3.7-rc*

ln -s /usr/src/linux/include/uapi/linux/dvb/frontend.h /usr/src/linux/include/linux/dvb/

/usr/include/linux/dvb/frontend.h

#define DTV_STREAM_ID           42                       
+ #define DTV_ISDBS_TS_ID         DTV_STREAM_ID    
#define DTV_ISDBS_TS_ID_LEGACY  DTV_STREAM_ID                                   
+ #define DTV_DVBT2_PLP_ID        43                                   
#define DTV_DVBT2_PLP_ID_LEGACY 43   

--
for compile error like below,

/usr/include/unicode/umachine.h:  error: conflicting declaration ‘typedef int32_t UChar32’

try this

- typedef int32_t UChar32
+ typedef uint32_t UChar32

// for latest ffmpeg, vlc git : 20130314  ATM
vi modules/codec/avcodec/avcommon_compat.h +115

- #if !LIBAVCODEC_VERSION_CHECK(54, 25, 0, 51, 100)
+ #if  0

Last edited by mmix (2013-03-14 02:05:23)

Offline

#6 2013-03-31 03:10:22

mmix
Member
Registered: 2012-10-03
Posts: 42

Re: [TIP] vlc installation

found the solution for vlc sound distortion problem,

1.
# emerge alsa-lib
# emerge pulseaudio

2. switch between pulseaudio and alsa audio.
run vlc -> Tools -> Preferences -> Audio -> Output : ALSA audio output
vlc exit
run vlc -> Tools -> Preferences -> Audio -> Output : Pulseaudio output
vlc exit

Offline

Board footer

Powered by FluxBB