FAQ  •  Register  •  Login

Serviio and Synology Ds216play

<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Jan 10, 2017 3:21 pm

Re: Serviio and Synology Ds216play

Incidentally the sources that Synology released for DSM 6.0 do not contain a special version of FFmpeg for the Monaco SoC in the DS216play so it is unlikely that I can add hardware transcoding support for this model.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

nire

Serviio newbie

Posts: 6

Joined: Tue Dec 15, 2015 11:27 am

Post Tue Jan 17, 2017 11:10 am

Re: Serviio and Synology Ds216play

It looks like Media server for instance, is using GStreamer for its encoding needs.

This is the command line it executes when playing a movie:

  Code:
/var/packages/MediaServer/target/bin/gst-launch-1.0 -f -s 0 filesrc location=/volume1/video/myvideo.mp4 ! qtdemux name=demux ! queue ! stvideo ! sth264encode profile=4 level=11 bitrate=8000000 ! video/x-264,width=1920,height=1080 ! queue max-size-time=0 max-size-buffers=0 max-size-bytes=0 ! mpegtsmux shift-pts=0 name=mux ! queue ! fdsink fd=4 demux.audio_0 ! queue ! aacparse ! avdec_aac ! audioconvert ! audio/x-raw,channels=2 ! lamemp3enc target=bitrate cbr=true ! mpegaudioparse ! queue max-size-time=0 max-size-buffers=0 max-size-bytes=0 ! mux


Note the stvideo and sth264encode options.

Everything else, uses ffmpeg 2.7.1 without hardware acceleration for the STiH410 :cry:
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Sun Jan 29, 2017 1:47 pm

Re: Serviio and Synology Ds216play

Thanks for the info. It looks like Serviio won't be able to use the hardware transcoding abilities of this SoC then. I have updated my main Serviio Synology blog post:

"DS214play and DS415play with Intel Evansport SoC are the only models supported [for hardware transcoding]. Serviio uses the multimedia tool FFmpeg for manipulating media files, and I am only able to build a hardware-assisted FFmpeg for DS214play and DS215play. Subsequent to those products, Synology has marketed a number of other systems with hardware transcoding features but these are not supported by Serviio. The DS216play with STiH412 Monaco SoC uses a specialised build of Gstreamer for the Synology transcoding solution, so its hardware features cannot be used by FFmpeg. It seems likely that Synology is also using Gstreamer for the Intel Braswell or newer generation CPUs with QuikSync, since DSM ships with an older FFmpeg (2.7.1) than the version which introduced QuikSync support (2.8.0). To implement FFmpeg QuikSync hardware transcoding support requires Linux kernel patches for libmfx support which is not currently included in DSM 6.x, so Serviio support for Intel QuikSync on Synology is unlikely unless Synology in future switches to using FFmpeg for its own hardware transcoding solution."
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
Previous

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 12 guests

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