Page 1 of 1

ffmpeg location help

PostPosted: Mon Apr 06, 2015 8:22 pm
by jart352015yup
Can anyone help with how to configure ffmpeg location.

currently resides in program files/serviio/lib

can it be moved to another folder and work from there?

im trying to use ffmpeg to transcode x265 video using serviio, and the version of ffmpeg i downloaded does but im not sure how to use it with serviio.

can i just put the exe file in the lib directory, what about ffmpegs presets ...or is that not needed.

help anyone.

testing my setup soon.

cheers all

Re: ffmpeg location help

PostPosted: Mon Apr 06, 2015 9:53 pm
by DenyAll
Use the ffmpeg.location system property to set your ffmpeg location. See http://www.serviio.org/component/conten ... properties

Re: ffmpeg location help

PostPosted: Tue Apr 07, 2015 2:46 am
by jart352015yup
DenyAll wrote:Use the ffmpeg.location system property to set your ffmpeg location. See http://www.serviio.org/component/conten ... properties


alright i see the system property for it location but it shows no example on how to use it after the property.... i have mine like this but not sure if its correct
-ffmpeg.location=C:\Program Files\Serviio\lib\bin

if its wrong how do i set it.??

Re: ffmpeg location help

PostPosted: Tue Apr 07, 2015 5:14 am
by DenyAll
At the top of that article it states 'For a help on how to add or change values of these properties, read F.A.Q.", which takes you to http://www.serviio.org/index.php?option ... e&id=21#q3.

You would need to add:
    -Dffmpeg.location="C:\Program Files\Serviio\lib\bin"
to your ServiioService.exe.vmoptions file.

Not sure why you are changing ffmpeg - as a Windows user, the default ffmpeg that comes with Serviio should meet all your needs as far as transcoding from h265 (and shouldn't generally be changed unless you are an advanced user with specific needs). ps. cannot recall if you need the quotes around "C:\Program Files\Serviio\lib\bin" ... try it without quotes if that fails.

Re: ffmpeg location help

PostPosted: Tue Apr 07, 2015 5:35 am
by jart352015yup
thanks for that...

yeah no quotes loaded without error,

and for my ffmpeg, i downloaded and updated version of it to get best compatibility for transcoding.

mainly for errors i get when trying to transcode video to my tv using roku 2 xs over wired network.

files are mkv hevc , they seem to load and stop at 99 to 100 percent then roku restarts.

so trying to work out all the bugs i can.

i also updated my local codecs and roku software as well.

will see i guess...

again thanks for your help.

Re: ffmpeg location help

PostPosted: Tue Apr 07, 2015 1:04 pm
by atc98092
jart352015yup wrote:thanks for that...

yeah no quotes loaded without error,

and for my ffmpeg, i downloaded and updated version of it to get best compatibility for transcoding.

mainly for errors i get when trying to transcode video to my tv using roku 2 xs over wired network.

files are mkv hevc , they seem to load and stop at 99 to 100 percent then roku restarts.

so trying to work out all the bugs i can.

i also updated my local codecs and roku software as well.

will see i guess...

again thanks for your help.


The Roku 2 XS has had some rebooting issues for a very small number of users. In particular, I've only seen two users talk about it on the Roku forums. I've had no issues, but I have no H265 files.

What format are you transcoding the files into? The Roku has limited codec support. The two that seem to work the best are H264 and AppleHTTP.

Just as an FYI, when I update the FFMPEG file, I leave it in the default location. The only reason I change it is to use the 64 bit version, which seems to require a little less CPU power on my server.

Re: ffmpeg location help

PostPosted: Tue Apr 07, 2015 3:55 pm
by jart352015yup
files are transcoded to h264 and 2 channel audio

DenyAll helped out previously on a location and setting for properties to pass location of ffmpeg

So all is working there

I set the ffmpeg location in the ServiioConsole.exe.vmoptions and in ServiioService.exe.vmoptions using properties of ffmpeg.location

and also altered my profiles.xml to include transcoding of all h265 video using the Vcodec property like this <Matches container="matroska" vCodec="h265" />
since all my h265 video is mkv files it works perfectly.

since my changes last night all are working perfectly.


and yes I am using the 64 bit version

I'm going to share my settings with everyone on the forum.

cheers