Page 2 of 2

Re: Serviio and Synology Ds216play

PostPosted: Tue Jan 10, 2017 3:21 pm
by patters
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.

Re: Serviio and Synology Ds216play

PostPosted: Tue Jan 17, 2017 11:10 am
by nire
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:

Re: Serviio and Synology Ds216play

PostPosted: Sun Jan 29, 2017 1:47 pm
by patters
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."