Transcoding using ffmpeg from Serviio

General discussions.

Moderator: moderators

Transcoding using ffmpeg from Serviio

Postby MoBO » Thu Apr 04, 2013 11:24 am

Hello,

this thread started on the Serviio forum (http://forum.serviio.org/viewtopic.php?f=7&t=9179) but since it's more related to Subsonic than Serviio, I did start a new post in this forum.

The main idea would be to use the ffmpeg compiled for Serviio to be used with Subsonic.
Since I do have many issue with the actual version (transcoding FLAC or movies, mainly for apple products).

Please read the initial posts on the Serviio forum before answering/reading.

Below, last 2 posts.

from patters:

My more recent compile of FFmpeg (v1.1.1) for the various Synology CPU architectures has all its dependent libraries in the Serviio/lib folder (notice how the file is small compared to the old one which had the libraries integrated, or 'statically linked'). If you're using my ffmpeg executable for Subsonic, you will need to copy those shared libraries too. So it doesn't interfere with DSM's own shared libraries in /lib, I compiled the ffmpeg to search for its libs in the same folder as the ffmpeg binary, or in a subfolder called lib. So copy all those '.so' library files too and it should work.
Sony BDP-S490 | Bravia KDL-32V5500 | Xbox 360 | Synology DS111
Serviio 1.2.1 package for Synology NAS



My reply:

Thanks for your reply, very helpful to finally have an hint to solve my issue.

I followed your advice and copied the *.so* within the ffmpeg folder.
Since this was not working, I tried to create a subfolber /lib within the ffmpeg folder without success too.
Finally, I tried to do the same creating a /lib within the root folder of Subsonic without success too.

Below, all the place I copied the *.so*

    /volume1/@appstore/Subsonic/transcode (original ffmpeg folder)
    /volume1/@appstore/Subsonic/transcode/lib
    /volume1/@appstore/Subsonic/lib


Here is the content:

    -rwxr-xr-x 1 subsonic users 127091 Apr 4 10:51 libass.so.4
    -rwxr-xr-x 1 subsonic users 7695684 Apr 4 10:51 libavcodec.so.54
    -rwxr-xr-x 1 subsonic users 37400 Apr 4 10:51 libavdevice.so.54
    -rwxr-xr-x 1 subsonic users 356552 Apr 4 10:51 libavfilter.so.3
    -rwxr-xr-x 1 subsonic users 1346728 Apr 4 10:51 libavformat.so.54
    -rwxr-xr-x 1 subsonic users 164832 Apr 4 10:51 libavutil.so.52
    -rwxr-xr-x 1 subsonic users 285578 Apr 4 10:51 libfontconfig.so.1
    -rwxr-xr-x 1 subsonic users 100143 Apr 4 10:51 libfribidi.so.0
    -rwxr-xr-x 1 subsonic users 119729 Apr 4 10:51 librtmp.so.0
    -rwxr-xr-x 1 subsonic users 83380 Apr 4 10:51 libswresample.so.0
    -rwxr-xr-x 1 subsonic users 352848 Apr 4 10:51 libswscale.so.2

    ffmpeg for the "transcode" folder:
    -rwxr-xr-x 1 subsonic users 168952 Apr 4 10:27 ffmpeg

Do they need to be root:root ?

Looks like something is missing or not working :cry:

I can provide you access on my NAS if this help (Subsonic account and SSH if needed).
The idea would be to publish this on a Subsonic wiki to help every users.

In order to avoid an issue, I suggest to continue this thread on the Subsonic forum.

Please note that I'm using a Synology NAS 1511+ (Intel Atom D525 Dualcore (2C/4T) 1.8GHz x86 Processor)
MoBO
 
Posts: 6
Joined: Fri Aug 31, 2012 8:14 am

Return to General

Who is online

Users browsing this forum: No registered users and 7 guests