Page 1 of 1

OpoenIndiana and ffmpeg

PostPosted: Wed Oct 03, 2012 10:50 pm
by DetlefSc
Hi all,
i have and ffmpeg issue again.
serviio uses ffmpeg to get infos from the videos.
It uses the command /opt/serviio/ffmpeg -i "myfile".
Is it possible to remove the path infos from this command.
ffmpeg is not in this path and i get an error, if i check the command from the commandline.


Detlef



Not working with complete path:
detlef@LastChance:/opt/serviio# /opt/serviio/ffmpeg -i /data/movies/a/a.mkv
/opt/serviio/ffmpeg: cannot find/execute "ffmpeg" in ISA subdirectories

working without path:
detlef@LastChance:/opt/serviio# ffmpeg -i /data/movies/a/a.mkv
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 30 2012 22:06:31 with gcc 4.6.3 (GCC)
configuration: --prefix=/usr --bindir=/usr/bin/pentium_pro+mmx --libdir=/usr/lib/pentium_pro+mmx --shlibdir=/usr/lib/pentium_pro+mmx --mandir=/usr/share/man --cc=gcc --cpu=prescott --enable-mmx --enable-sse --enable-ssse3 --disable-debug --enable-nonfree --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-avfilter --enable-swscale --enable-libgsm --enable-libxvid --enable-libx264 --enable-libfaac --enable-libtheora --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libspeex --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-static --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-vdpau --enable-libass --enable-openssl --enable-openal --enable-shared

Re: OpoenIndiana and ffmpeg

PostPosted: Wed Oct 10, 2012 1:21 am
by patters
Hi, you can specify the FFmpeg location in the Java options that are defined in serviio.sh:
http://www.serviio.org/index.php?option ... icle&id=43

e.g. -Dffmpeg.location=ffmpeg

Serviio is designed to work with a particular version of FFmpeg though (see sources available here), so when using the system default one on a Linux distro your mileage may vary...