FAQ  •  Register  •  Login

SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe error

<<

woodrook

Serviio newbie

Posts: 9

Joined: Mon Dec 29, 2014 9:03 pm

Post Mon Oct 26, 2015 8:28 pm

SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe error

Hi everybody, i've installed Serviio v 1.5.2 with Java 1.8 and ffmpeg2.

Music and Pictures working good but Mediaserver doesn't see any of my video files. Looking at the log (DEBUG mode) this is the result:

********************************************************************************************************************************************
2015-10-26 20:21:20,183 DEBUG [MediaFileIndexer] Found file 'prova.avi', checking if it's already in the Library
2015-10-26 20:21:20,183 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item /mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi
2015-10-26 20:21:20,183 DEBUG [MediaItemDAOImpl] Looking up a media item for file path: /mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi, ignore case: false
2015-10-26 20:21:20,191 DEBUG [MediaItemDAOImpl] Media item /mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi doesn't exist in DB yet
2015-10-26 20:21:20,191 DEBUG [MediaFileIndexer] File not in Library, will add it
2015-10-26 20:21:20,191 DEBUG [LibraryHelper] Checking if the file is complete using file lock
2015-10-26 20:21:20,192 DEBUG [VideoExtractionStrategy] Extracting metadata of video file: /mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi
2015-10-26 20:21:20,192 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: /mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi
2015-10-26 20:21:20,193 DEBUG [ProcessExecutor] Starting lib\ffmpeg.exe -i /mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi
2015-10-26 20:21:20,195 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "lib\ffmpeg.exe": error=2, No such file or directory
java.io.IOException: Cannot run program "lib\ffmpeg.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:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 1 more
2015-10-26 20:21:20,196 WARN [ProcessExecutor] Cannot retrieve results, output reader is null
2015-10-26 20:21:20,196 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi). Message: Unknown video file type.
2015-10-26 20:21:20,197 DEBUG [PendingFilesCache] Adding file '/mnt/HD_a2/Cartoni/One Piece/Ep 329-332/prova.avi' for the pending files cache
********************************************************************************************************************************************

It's look like an ffmpeg.exe problem but i don't know what i can do to solve it.

Any suggestion?

Thanks!!

Gianluca
Last edited by woodrook on Mon Nov 09, 2015 9:11 am, edited 1 time in total.
<<

woodrook

Serviio newbie

Posts: 9

Joined: Mon Dec 29, 2014 9:03 pm

Post Mon Nov 09, 2015 9:10 am

Re: Serviio 1.5 on NAS doesn't find video, ffmpeg.exe error

Solved adding the following text to file /ffp/opt/serviio/bin/serviio.sh in the line where the JAVA_OPTS are defined:

  Code:
-Dffmpeg.location=ffmpeg


So the whole line should now look like this:
  Code:
# Setup Serviio specific properties
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.fixedPointEncoders -Dserviio.defaultTranscodeFolder=/ffp/tmp -Dserviio.home=$SERVIIO_HOME -Dffmpeg.location=ffmpeg"
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Nov 16, 2015 10:21 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

Making this modification will cause Serviio to use the system's regular build of ffmpeg - not the one from Serviio. It is likely to be missing support for the many additional libraries which Serviio requires (libass, librtmp, libx264, etc.).
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

daconas

Serviio newbie

Posts: 11

Joined: Wed Nov 26, 2014 8:26 am

Post Tue Nov 17, 2015 8:21 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

hello, can you help my i update servio 1.4 to 1.5.2 and configure the same as 1.4 but the televison tell me no picture/ musik /video serviio consolle found 862 files and se tv is very slow
i have a ds 110j ist it to old .
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Nov 18, 2015 3:32 pm

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

The DS110j is old and will be very slow indeed. I think its ARMv5 CPU is only 800MHz. I'm not sure how possible it would be to fit the OS and Serviio in 128MB RAM.
It does run DSM 5.2 though. Can you check that ffmpeg works by running the following from an SSH session logged in as root:
  Code:
/var/packages/Serviio/target/bin/ffmpeg
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

daconas

Serviio newbie

Posts: 11

Joined: Wed Nov 26, 2014 8:26 am

Post Thu Nov 19, 2015 8:20 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

Hello,

i get this

/volume1/@appstore/minidlna/etc$ /var/packages/Serviio/target/bin/ffmpeg
ffmpeg version 2.7.1-compiled_by_patters_for_Serviio Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201309-2126.3d181f66 64K MAXPAGESIZE ALIGN)
configuration: --arch=arm --cpu=armv5te --enable-cross-compile --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-marvell-linux-gnueabi- --target-os=linux --prefix=/usr/local/arm-none-linux-gnueabi --enable-shared --disable-static --enable-pic --disable-ffplay --disable-ffserver --disable-neon --disable-vfp --disable-armv6 --disable-armv6t2 --disable-debug --enable-pthreads --enable-libshine --enable-librtmp --enable-libass --enable-libspeex --enable-gpl --enable-libx264 --enable-gnutls --pkg-config=pkg-config --extra-version=compiled_by_patters_for_Serviio
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

I have a ds414 dualcore but i have a fear to install on it.
´the ds110 has much problems with it and shut down alone something ohter.
serviio works well or ist some problems in this version ?
thanks
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Sat Nov 21, 2015 1:06 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

Ok, so there's nothing wrong with FFmpeg. I think the system is just struggling due to a severe shortage of RAM.
Yes Serviio will work fine on the DS414.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

daconas

Serviio newbie

Posts: 11

Joined: Wed Nov 26, 2014 8:26 am

Post Tue Nov 24, 2015 5:23 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

ok thank you, But the CPU is by 32% and the RAM by 51%

I notice a slight delay on Serviio 1.4 compared to the standard media server is it by serviio 1.5 more clearly or remains the same?
I need to update when the DSM 6.x rollout comes?
<<

woodrook

Serviio newbie

Posts: 9

Joined: Mon Dec 29, 2014 9:03 pm

Post Thu Dec 03, 2015 11:54 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

patters wrote:Making this modification will cause Serviio to use the system's regular build of ffmpeg - not the one from Serviio. It is likely to be missing support for the many additional libraries which Serviio requires (libass, librtmp, libx264, etc.).


Ok, good. How can I fix my problem making Serviio use the build of ffmpeg from Serviio?

Thanks
<<

paniko

User avatar

Streaming enthusiast

Posts: 38

Joined: Fri Sep 07, 2012 7:29 am

Post Fri Jan 08, 2016 8:00 am

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

After upgraded to serviio 1.5 I have the same issue but I'm on a ds713+
Paniko
Sumsung EU46D6500 | XBox 360 | Samsung Galaxy S 6 Edge | Windows 10 - i7 64bit | Serviio 1.5.2 Pro
Beta Tester
<<

daconas

Serviio newbie

Posts: 11

Joined: Wed Nov 26, 2014 8:26 am

Post Sat Mar 26, 2016 5:14 pm

Re: SOLVED-Serviio 1.5 NAS doesn't find video,ffmpeg.exe err

Hello, do now i am on dsm 6 on my DS414 with serviio 1.6 and Java ejdk-8u77-linux-arm-sflt
can you help me i have installed serviio 1.6 auf snology DS414 an i can not connect to console via cellphone/android only with integratet console but he foud no files
on my ds112 works well i can conect via cellphone/android an add some sources.
why can not connect and he dont finde some files ( he get error with Name of the Videofiles ) i think he get in the Direktory but ther is any problem.
by adding music i get error 500
Logfile
Attachments
serviio.log
(126.02 KiB) Downloaded 424 times

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 11 guests

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