FAQ  •  Register  •  Login

How do I install the ffmpeg that works with Serviio 1.5.2?

<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Sun Jul 26, 2015 11:27 am

How do I install the ffmpeg that works with Serviio 1.5.2?

NAS: zyxel nsa325v2

I have followed the guide that installs Serviio on Zyxel nsa325.

And during that guide I installed:
install mz:lame-3.99.5-arm-1.txz
install uli:ffmpeg-1.2.1-arm-1.txz

But how do I install and update to the best working ffmpeg?

I tried to read about it in the serviio wiki but don't understand how to update the "mz" and "uli" packages?

I get "stream can't be played" error in Mediabrowser.
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 67

Joined: Tue Apr 09, 2013 3:18 pm

Post Thu Jul 30, 2015 7:22 pm

Re: How do I install the ffmpeg that works with Serviio 1.5.

Sounds like you might want to upgrade ffmpeg to a later version. I am not too sure that Zyxel NAS has enough CPU power for transcoding but you can try. Make sure you have uli's uwsiteloader https://nas-tweaks.net/373/uwsiteloader-tool-to-download-the-sites-definitions-for-packages-of-the-fun_plug-0-7/. Then install barmalej2's ffmpeg, run 'slacker -UaA br2:ffmpeg2/'. Thanks
Last edited by norm on Tue Aug 11, 2015 4:20 pm, edited 1 time in total.
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Sun Aug 09, 2015 9:07 am

Re: How do I install the ffmpeg that works with Serviio 1.5.

I don't see br2:s ffmpeg package in the uwsiteloader. I see different ffmpeg2/ packages but notany ffmpeg2.1.3 package.

Is it this I need to have?
http://downloads.zyxel.nas-central.org/ ... KAGES.html
(ffmpeg: ffmpeg2/ffmpeg-2.1.3_git20140213-arm-0.txz)

but how do I get this into the uwsiteloader to install?
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 67

Joined: Tue Apr 09, 2013 3:18 pm

Post Sun Aug 09, 2015 5:52 pm

Re: How do I install the ffmpeg that works with Serviio 1.5.

Yes. That's the latest version AFAIK. Thanks

Sent from my HTC One M9 using Tapatalk
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Mon Aug 10, 2015 7:50 am

Re: How do I install the ffmpeg that works with Serviio 1.5.

Thanks for helping.

I've set the debug to on in Serviio and got:

2015-08-10 07:23:51,283 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path /usr/local/zy-pkgs/ffproot/ffp/bin/ffmpeg
2015-08-10 07:23:51,338 DEBUG [ProcessExecutor] Starting /usr/local/zy-pkgs/ffproot/ffp/bin/ffmpeg
2015-08-10 07:23:51,467 ERROR [MediaServer] FFMPEG not found. Serviio will not work properly.
2015-08-10 07:23:51,475 DEBUG [DCRawWrapper] Invoking DCRAW to check if it exists of path lib\dcraw.exe
2015-08-10 07:23:51,476 DEBUG [ProcessExecutor] Starting lib\dcraw.exe
2015-08-10 07:23:51,482 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "lib\dcraw.exe": error=2, No such file or directory
java.io.IOException: Cannot run program "lib\dcraw.exe": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:135)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:187)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 1 more
2015-08-10 07:23:51,496 WARN [MediaServer] DCRAW not found. Support for raw image files will be missing.
2015-08-10 07:23:51,569 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data



ffmpeg seems to not work properly.

What is wrong and how do I fix it?
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 67

Joined: Tue Apr 09, 2013 3:18 pm

Post Tue Aug 11, 2015 6:21 am

Re: How do I install the ffmpeg that works with Serviio 1.5.

What happens if you ssh in to your nas and type 'ffmpeg' (without the quotes) ?

Sent from my HTC One M9 using Tapatalk
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Tue Aug 11, 2015 10:09 am

Re: How do I install the ffmpeg that works with Serviio 1.5.

It says:

ffmpeg: can't load library 'libfdk-aac.so.0'
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 67

Joined: Tue Apr 09, 2013 3:18 pm

Post Tue Aug 11, 2015 4:17 pm

Re: How do I install the ffmpeg that works with Serviio 1.5.

Sounds like your ffmpeg installation is hosed. Try removing it all:
  Code:
slacker -r ffmpeg2 fdk-aac fontconfig freetype fribidi lame libass opus rtmpdump shine twolame x264


Then reinstall
  Code:
slacker -UaA br2:ffmpeg2/
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Tue Aug 11, 2015 6:19 pm

Re: How do I install the ffmpeg that works with Serviio 1.5.

Now I get:

ffmpeg version 2.1.3-compiled_by_barmalej2_for_Serviio1.4_and_MiniDLNA1.1.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 13 2014 16:41:10 with gcc 4.5.4 (GCC) 20111110 (prerelease)
configuration: --prefix=/ffp --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --disable-armv6 --disable-armv 6t2 --disable-vfp --disable-neon --enable-pic --disable-ffplay --disable-ffserve r --enable-libx264 --enable-libshine --enable-libmp3lame --enable-libfdk-aac --enable-libtwolame --enable-libopus --enable-librtmp --enable-libass --enable-fontconfig --enable-libfreetype --extra-version=compiled_by_barmalej2_for_Serviio1.4 _and_MiniDLNA1.1.1
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


And I can play the movie from Mediabrowser BUT IT'S STOPS AFTER SOME SECONDS and the time circle is telling that its (transcoding???)


the serviio.log says:

2015-08-11 18:08:53,511 INFO [UpdateChecker] Checking if a new version is available
2015-08-11 18:08:53,805 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg version 2.1.3-compiled_by_barmalej2_for_Serviio1.4_and_MiniDLNA1.1.1 Copyright (c) 2000-2014 the FFmpeg developers
2015-08-11 18:08:53,821 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "lib\dcraw.exe": error=2, No such file or directory
java.io.IOException: Cannot run program "lib\dcraw.exe": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:135)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:187)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 1 more
2015-08-11 18:08:53,834 WARN [MediaServer] DCRAW not found. Support for raw image files will be missing.



Do I need DCRAW ?

Does the pause in the movie and just stands and displaying the timing circle, mean that the NAS can't transcode to the Mediabrowser? (i'm viewing from google chrome on my pc)
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6
<<

norm

Serviio lover

Posts: 67

Joined: Tue Apr 09, 2013 3:18 pm

Post Mon Aug 17, 2015 12:25 pm

Re: How do I install the ffmpeg that works with Serviio 1.5.

Hi. Yes that would be transcoding. NAS boxes don't have powerful cpus for transcoding video. The ffmpeg you've installed does have libshine so you can transcode flac to mp3 for example with the use of a wrapper script. Let me know if you need it and I'll attach mine. Thanks

Sent from my HTC One M9 using Tapatalk
<<

silverfisken

Serviio newbie

Posts: 19

Joined: Mon Dec 08, 2014 12:27 pm

Post Tue Aug 25, 2015 6:48 pm

Re: How do I install the ffmpeg that works with Serviio 1.5.

I managed to install everything now.

Thanks for all help!
Nas: Zyxel NSA325v2 with firmware V4.80(AALS.0)C0 + ffp
installed Serviio 1.6, java 1.8.0_33, Serviio Console 1.6

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 22 guests

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