FAQ  •  Register  •  Login

Serviio on Debian

<<

W4RH4WK

Serviio newbie

Posts: 3

Joined: Tue Jul 31, 2012 11:16 pm

Post Tue Jul 31, 2012 11:23 pm

Serviio on Debian

Hello there,

i just installed Serviio on a fresh / clean Debian Squeeze and encountered some issues

First. Is it normal that the serviio-console does not work with the current, stable default-jre package from the official debian repo?

Secound. i can't get transcoding to work. i didn't change the profile.xml file but followed the advice that the ffmpeg version from the debian repo is to old to work with serviio propperly. so i built the latest version from source

  Code:
./configure --enable-version3 --enable-postproc --enable-avfilter --enable-libdc1394 --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-runtime-cpudetect --enable-vaapi --disable-vdpau --enable-memalign-hack --enable-pthreads --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --enable-gpl


is what i used for ffmpeg.

according to my point of view, ffmpeg works correctly by itself, but serviio doesn't transcode.

When i install serviio on my windows system and add the same files from the debian system to it's shared folder, everything (even transcoding) works fine. so i guess even the files and my TV is alright.

Any ideas what i can do to get transcoding to work?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Aug 01, 2012 9:13 am

Re: Serviio on Debian

post detaild log of failed transcoding
<<

W4RH4WK

Serviio newbie

Posts: 3

Joined: Tue Jul 31, 2012 11:16 pm

Post Wed Aug 01, 2012 11:50 am

Re: Serviio on Debian

of course:

http://pastebin.com/J1rWX98t
here is the complete log file, the first few entries might have been added when i used the ffmpeg version from the official repo, so please focus on the last entries (there for i used the latest version of ffmpeg)

i guess my problem refers to these lines
  Code:
2012-08-01 01:14:04,723 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2012-08-01 01:14:12,089 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file /tmp/Serviio/transcoding-temp-2-sony2010-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed


ffmpeg from the commandline works
  Code:
# whereis ffmpeg
ffmpeg: /usr/src/ffmpeg/ffmpeg.c /usr/src/ffmpeg/ffmpeg.d /usr/src/ffmpeg/ffmpeg.o /usr/src/ffmpeg/ffmpeg /usr/local/bin/ffmpeg

  Code:
# ffmpeg -version
ffmpeg version N-43100-gd1dad7c
built on Aug  1 2012 01:08:30 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-version3 --enable-postproc --enable-avfilter --enable-libdc1394 --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-runtime-cpudetect --enable-vaapi --disable-vdpau --enable-memalign-hack --enable-pthreads --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --enable-gpl
libavutil      51. 66.100 / 51. 66.100
libavcodec     54. 46.100 / 54. 46.100
libavformat    54. 22.100 / 54. 22.100
libavdevice    54.  2.100 / 54.  2.100
libavfilter     3.  5.101 /  3.  5.101
libswscale      2.  1.100 /  2.  1.100
libswresample   0. 15.100 /  0. 15.100
libpostproc    52.  0.100 / 52.  0.100
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Wed Aug 01, 2012 11:54 am

Re: Serviio on Debian

Can you turn on detailed logging, see my sig and then re-do it. The log will then contain the ffmpeg command, which you can then run manually to get the real reason for the error.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

W4RH4WK

Serviio newbie

Posts: 3

Joined: Tue Jul 31, 2012 11:16 pm

Post Wed Aug 01, 2012 12:18 pm

Re: Serviio on Debian

i enabled detailed logging, started the server and tried to watch a video which needs to be transcoded.. i don't know why, but now it works.

http://pastebin.com/EZzQggYA this is the detailed logfile.

i disabled detailed logging, and it still works..

i don't the reason why it works now, so would you mind having a look at the log file, maybe this will give a hint what's the difference. My only guess is a whole system restart fixed the problem. i installed the server yesterday, and couldn't get transcoding to work even with a self compiled ffmpeg. Might serviio cache the location of ffmpeg the first time it starts? because the self compiled version is located in another directory than the precompiled (precompiled: /usr/bin | selfcompield: /usr/local/bin)

any ideas?
thank you for the help so far

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 96 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.