Jump to content
solabc16

H/W Transcoding on Evansport (DS415play/DS214play) Machines

Recommended Posts

Home0002

In short, No. DS216play comes with different processor architecture and the only way to use it's hardware transcoding power is DS Video for now.

 

Thank for your reply, currently having to use VLC player as a work around for now, not ideal but serves a purpose.

Share this post


Link to post
Share on other sites
Home0002

We're happy to look at your transcoding issue if you can see how to report a problem. thanks !

Thanks Luke,

 

I'm pretty new to all this, so I hope i have given you the correct report, my issue is transcoding speed is so slow, playback is as good as impossible, I have Emby installed on Synology DS216Play.

 

 
Application version: 3.2.33.0
 
http://10.0.0.136:8096/emby/videos/8f32ec2c58ecf3c6332589638117975b/hls1/main/0.ts?DeviceId=7d5017127fc7e4cd&MediaSourceId=8f32ec2c58ecf3c6332589638117975b&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=20808000&AudioBitrate=192000&MaxAudioChannels=2&MaxFramerate=60&PlaySessionId=0604e9adfddd4fb4bd319d84ca1ca480&api_key=f4eafbfdca984e059bd1212da68edd4c&CopyTimestamps=true&SubtitleMethod=Encode&EnableSubtitlesInManifest=false&Tag=66c16b91b48fb99b20a70aa25b11f15a&RequireAvc=false&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&mpeg2video-deinterlace=true&hevc-profile=none
 
{"Protocol":"File","Id":"8f32ec2c58ecf3c6332589638117975b","Path":"/volume1/MyEmbyMedia/Record/Money for Nothing/Season 3/Money for Nothing S03E03.ts","Type":"Default","Container":"mpegts","Name":"1080P/H264/AAC_LATM","IsRemote":false,"ETag":"66c16b91b48fb99b20a70aa25b11f15a","RunTimeTicks":29378660352,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"EnableMpDecimate":false,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1/50","NalLengthSize":"0","IsInterlaced":true,"IsAVC":false,"BitRate":6057986,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"aac_latm","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng AAC_LATM stereo","IsInterlaced":false,"ChannelLayout":"stereo","Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"dvbsub","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"0/1","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":6057986,"RequiredHttpHeaders":{}}
 
User policy for Steve: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
 
/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -f mpegts -i file:"/volume1/MyEmbyMedia/Record/Money for Nothing/Season 3/Money for Nothing S03E03.ts" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 6057986 -bufsize 12115972 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f.m3u8" -y "/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f%d.ts"
 
ffmpeg version 3.3.3-20170905T045951UTC Copyright © 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --prefix=/var/packages/EmbyServer/target/ffmpeg --enable-cross-compile --cross-prefix=arm-linux-gnueabihf- --target-os=linux --disable-rpath --arch=arm --cpu=cortex-a9 --enable-thumb --enable-libzimg --enable-gpl --enable-shared --disable-static --disable-debug --disable-ffplay --disable-ffserver --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-gnutls --enable-libass --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfreetype --enable-fontconfig --enable-gray --enable-libfribidi --enable-libvidstab --disable-indev=sndio --disable-outdev=sndio --extra-version=20170905T045951UTC --extra-libs='-lm -ldl -lrt -lpthread -llzma -lz -lstdc++ '
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] SPS unavailable in decode_picture_timing
[h264 @ 0x113c890] non-existing PPS 0 referenced
[h264 @ 0x113c890] decode_slice_header error
[h264 @ 0x113c890] no frame!
[h264 @ 0x113c890] mmco: unref short failure
    Last message repeated 4 times
[h264 @ 0x113c890] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[mpegts @ 0x1126230] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0x1126230] Could not find codec parameters for stream 2 (Unknown: none ([17][0][0][0] / 0x0011)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1126230] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1126230] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1126230] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1126230] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'file:/volume1/MyEmbyMedia/Record/Money for Nothing/Season 3/Money for Nothing S03E03.ts':
  Duration: 00:48:57.87, start: 38528.951289, bitrate: 6057 kb/s
  Program 17540 
    Stream #0:0[0x19c9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [sAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x19ca](eng): Audio: aac_latm (LC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:2[0x19ce](eng): Unknown: none ([17][0][0][0] / 0x0011) (visual impaired)
    Stream #0:3[0x19cd](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:4[0x1c86]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:5[0x1c97]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x1bc4]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:7[0x1bc6]: Unknown: none ([5][0][0][0] / 0x0005)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac_latm (native) -> aac (native))
Press [q] to stop, [?] for help
[h264 @ 0x1164780] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x1164780] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A    
[h264 @ 0x116a360] mmco: unref short failure
    Last message repeated 1 times
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A    
[libx264 @ 0x1154900] using SAR=1/1
[libx264 @ 0x1154900] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x1154900] profile Main, level 4.1
[libx264 @ 0x1154900] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=6057 vbv_bufsize=12115 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[segment @ 0x11530d0] Opening '/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f0.ts' for writing
Output #0, segment, to '/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f%d.ts':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [sAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.89.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 6057000/0/0 buffer size: 12115000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc57.89.100 aac
frame=    2 fps=1.3 q=0.0 size=N/A time=00:00:01.02 bitrate=N/A speed=0.651x    
frame=    6 fps=2.8 q=0.0 size=N/A time=00:00:01.21 bitrate=N/A speed=0.565x    
frame=   10 fps=3.7 q=0.0 size=N/A time=00:00:01.30 bitrate=N/A speed=0.485x    
frame=   14 fps=4.2 q=0.0 size=N/A time=00:00:01.47 bitrate=N/A speed=0.439x    
frame=   17 fps=4.3 q=0.0 size=N/A time=00:00:01.53 bitrate=N/A speed=0.393x    
frame=   19 fps=4.3 q=28.0 size=N/A time=00:00:01.60 bitrate=N/A speed=0.361x    
frame=   22 fps=4.4 q=28.0 size=N/A time=00:00:01.72 bitrate=N/A speed=0.348x    
frame=   25 fps=4.4 q=28.0 size=N/A time=00:00:01.84 bitrate=N/A speed=0.325x    
frame=   28 fps=4.5 q=28.0 size=N/A time=00:00:01.96 bitrate=N/A speed=0.317x    
frame=   31 fps=4.5 q=28.0 size=N/A time=00:00:02.26 bitrate=N/A speed=0.33x    
frame=   34 fps=4.6 q=28.0 size=N/A time=00:00:02.43 bitrate=N/A speed=0.329x    
frame=   37 fps=4.6 q=28.0 size=N/A time=00:00:02.68 bitrate=N/A speed=0.336x    
frame=   40 fps=4.7 q=28.0 size=N/A time=00:00:02.85 bitrate=N/A speed=0.333x    
frame=   43 fps=4.7 q=28.0 size=N/A time=00:00:02.90 bitrate=N/A speed=0.316x    
frame=   46 fps=4.7 q=28.0 size=N/A time=00:00:03.00 bitrate=N/A speed=0.307x    
frame=   49 fps=4.7 q=28.0 size=N/A time=00:00:03.02 bitrate=N/A speed=0.293x    
frame=   52 fps=4.8 q=28.0 size=N/A time=00:00:03.07 bitrate=N/A speed=0.281x    
frame=   55 fps=4.8 q=28.0 size=N/A time=00:00:03.15 bitrate=N/A speed=0.274x    
frame=   58 fps=4.8 q=28.0 size=N/A time=00:00:03.17 bitrate=N/A speed=0.262x    
frame=   60 fps=4.8 q=28.0 size=N/A time=00:00:03.43 bitrate=N/A speed=0.272x    
frame=   63 fps=4.8 q=28.0 size=N/A time=00:00:03.66 bitrate=N/A speed=0.278x    
frame=   66 fps=4.8 q=28.0 size=N/A time=00:00:03.71 bitrate=N/A speed=0.27x    
frame=   69 fps=4.8 q=28.0 size=N/A time=00:00:03.77 bitrate=N/A speed=0.263x    
frame=   72 fps=4.8 q=28.0 size=N/A time=00:00:03.96 bitrate=N/A speed=0.265x    
frame=   75 fps=4.8 q=28.0 size=N/A time=00:00:04.03 bitrate=N/A speed=0.259x    
frame=   78 fps=4.8 q=28.0 size=N/A time=00:00:04.18 bitrate=N/A speed=0.259x    
frame=   81 fps=4.9 q=28.0 size=N/A time=00:00:04.30 bitrate=N/A speed=0.259x    
frame=   84 fps=4.8 q=28.0 size=N/A time=00:00:04.39 bitrate=N/A speed=0.252x    
frame=   87 fps=4.8 q=28.0 size=N/A time=00:00:04.65 bitrate=N/A speed=0.258x    
frame=   90 fps=4.8 q=28.0 size=N/A time=00:00:04.71 bitrate=N/A speed=0.253x    
frame=   92 fps=4.8 q=25.0 size=N/A time=00:00:04.73 bitrate=N/A speed=0.247x    
[segment @ 0x11530d0] Opening '/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f.m3u8.tmp' for writing
[segment @ 0x11530d0] Opening '/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f1.ts' for writing
frame=   95 fps=4.8 q=28.0 size=N/A time=00:00:04.88 bitrate=N/A speed=0.246x    
frame=   98 fps=4.8 q=28.0 size=N/A time=00:00:04.90 bitrate=N/A speed=0.239x    
frame=  100 fps=4.8 q=28.0 size=N/A time=00:00:04.92 bitrate=N/A speed=0.234x    
frame=  103 fps=4.8 q=28.0 size=N/A time=00:00:05.03 bitrate=N/A speed=0.232x    
frame=  106 fps=4.8 q=28.0 size=N/A time=00:00:05.08 bitrate=N/A speed=0.228x    
[segment @ 0x11530d0] Opening '/var/packages/EmbyServer/target/var/transcoding-temp/788e9655c714f45271f9249e7f19157f.m3u8.tmp' for writing
frame=  107 fps=4.5 q=-1.0 Lsize=N/A time=00:00:05.80 bitrate=N/A speed=0.246x    
video:2356kB audio:124kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x1154900] frame I:2     Avg QP:22.99  size: 90130
[libx264 @ 0x1154900] frame P:84    Avg QP:26.07  size: 23451
[libx264 @ 0x1154900] frame B:21    Avg QP:26.70  size: 12468
[libx264 @ 0x1154900] consecutive B-frames: 62.6% 31.8%  5.6%  0.0%
[libx264 @ 0x1154900] mb I  I16..4: 57.4%  0.0% 42.6%
[libx264 @ 0x1154900] mb P  I16..4: 14.2%  0.0%  0.0%  P16..4: 22.3%  0.0%  0.0%  0.0%  0.0%    skip:63.5%
[libx264 @ 0x1154900] mb B  I16..4:  2.5%  0.0%  0.0%  B16..8: 18.1%  0.0%  0.0%  direct: 8.4%  skip:71.0%  L0:39.4% L1:46.9% BI:13.7%
[libx264 @ 0x1154900] coded y,uvDC,uvAC intra: 41.4% 23.6% 3.2% inter: 10.8% 4.1% 0.1%
[libx264 @ 0x1154900] i16 v,h,dc,p: 38% 33% 16% 14%
[libx264 @ 0x1154900] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 23% 16%  3%  6%  4%  4%  5%  5%
[libx264 @ 0x1154900] i8c dc,h,v,p: 42% 28% 26%  5%
[libx264 @ 0x1154900] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x1154900] kb/s:4508.41

 

[aac @ 0x11563d0] Qavg: 596.494

Share this post


Link to post
Share on other sites
solabc16

Hello @@Home0002

 

Thanks for getting in touch. As noted by @@sonny_life, at this time at least, 3rd parties are not able to access the transcoding h/w used in the DS216play (STM STiH412 / Faroudja Transcode Engine).

 

It is something we keep an eye on. Are you able to consider using a different native format, so your devices can direct play instead?

 

One final thing, if you are able, I'd appreciate if you could run the diagnostics and sendlogs utilities as this gives us more information to work with:-

 

Run Diagnostics : https://github.com/M...Run-Diagnostics

 

Send Support Logs : https://github.com/M...us-Support-Logs

 

Best

- James

Share this post


Link to post
Share on other sites
Home0002

Hello @@Home0002

 

Thanks for getting in touch. As noted by @@sonny_life, at this time at least, 3rd parties are not able to access the transcoding h/w used in the DS216play (STM STiH412 / Faroudja Transcode Engine).

 

It is something we keep an eye on. Are you able to consider using a different native format, so your devices can direct play instead?

 

One final thing, if you are able, I'd appreciate if you could run the diagnostics and sendlogs utilities as this gives us more information to work with:-

 

Run Diagnostics : https://github.com/M...Run-Diagnostics

 

Send Support Logs : https://github.com/M...us-Support-Logs

 

Best

- James

 

Hi @@solabc16

 

Thank for your reply.

 

Currently I'm having to use VLC player as a work around, this, for me, enables direct play, however I have seemed to have lost the ability to fast forward or any type of seek, a small price to pay having to watch adverts.

 

I have sent you a support log, I do hope this helps.

 

Best Regards 

 

Steve

 

********************************************************************************

Upload completed successfully, please include this filename with your ticket... 

sendlogs_MediaServer_synology_monaco_ds216play_20171019T201209UTC.tgz                                                      

********************************************************************************

Edited by Home0002

Share this post


Link to post
Share on other sites
johanbcn

I have been playing around with Emby on my DS214Play and overall it's working pretty good :)

 

There are some files, though, that I can't transcode to chromecast. Seems that the ffmpeg command is not being built correctly:

/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: syntax error near unexpected token `min'
/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: `sudo /usr/bin/ffmpeg -f matroska,webm -i file:"/volume1/EmbyTest/movies/test.mkv" -map 0:0 -map 0:1 -codec:v:0 h264_smd -prefer_smd -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -filter_complex [0:5]scale=1920:802:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 11926739 -bufsize 23853478 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af volume=2 -y "/var/packages/EmbyServer/target/var/transcoding-temp/2bdac344ba7c244f3e1acef886c0c5d1.mkv"'

 

Share this post


Link to post
Share on other sites
Luke

@@johanbcn, please attach the complete ffmpeg log, thanks.

Share this post


Link to post
Share on other sites
johanbcn

Sure:

2018-03-26 19:14:15.421
Application version: 3.3.1.0

http://192.168.1.254:8096/emby/videos/0f0d2acf630bd44d3a1b78f133c194e1/stream.mkv?DeviceId=VGVsZXZpc29yIGRlbCBzYWxu&MediaSourceId=0f0d2acf630bd44d3a1b78f133c194e1&VideoCodec=h264,vp8&AudioCodec=aac,mp3,opus,flac,vorbis&AudioStreamIndex=1&SubtitleStreamIndex=5&VideoBitrate=30000000&AudioBitrate=384000&PlaySessionId=57192d2c17544306b3f906ba7b1c2758&api_key=24a21ae504c74459932a26570e838f02&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&CopyTimestamps=true&RequireAvc=true&Tag=7089af471b627c74d677d0406db96d80&h264-profile=high,main,baseline,constrainedbaseline&h264-level=42&h264-deinterlace=true&audiochannels=2&TranscodeReasons=SubtitleCodecNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false

{"Protocol":"File","Id":"0f0d2acf630bd44d3a1b78f133c194e1","Path":"/volume1/EmbyTest/movies/test.mkv","Type":"Default","Container":"mkv,webm","Name":"test.mkv","IsRemote":false,"ETag":"7089af471b627c74d677d0406db96d80","RunTimeTicks":64862400512,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":"test","DisplayTitle":"1080P H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":11926739,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":802,"Width":1920,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"High","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"dts","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"DTS-HD Master Audio /  7.1 / 48 kHz / 4892 kbps / 24-bit","DisplayTitle":"Eng DTS 7.1 Default","IsInterlaced":false,"ChannelLayout":"7.1","BitDepth":24,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS-HD MA","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"SDH","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"PGSSUB","Language":"spa","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Spa","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"PGSSUB","Language":"fre","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Fre","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Forced","DisplayTitle":"Eng Default Forced","IsInterlaced":false,"IsDefault":true,"IsForced":true,"Type":"Subtitle","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":11926739,"RequiredHttpHeaders":{}}

User policy for johanbcn: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -f matroska,webm -i file:"/volume1/EmbyTest/movies/test.mkv" -map 0:0 -map 0:1 -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -filter_complex "[0:5]scale=1920:802:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 11926739 -bufsize 23853478 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af "volume=2" -y "/var/packages/EmbyServer/target/var/transcoding-temp/2bdac344ba7c244f3e1acef886c0c5d1.mkv"

/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: syntax error near unexpected token `min'
/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: `sudo /usr/bin/ffmpeg -f matroska,webm -i file:"/volume1/EmbyTest/movies/test.mkv" -map 0:0 -map 0:1 -codec:v:0 h264_smd -prefer_smd -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -filter_complex [0:5]scale=1920:802:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 11926739 -bufsize 23853478 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af volume=2 -y "/var/packages/EmbyServer/target/var/transcoding-temp/2bdac344ba7c244f3e1acef886c0c5d1.mkv"'
/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: syntax error near unexpected token `min'
/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: `sudo /usr/bin/ffmpeg -f matroska,webm -i file:"/volume1/EmbyTest/movies/test.mkv" -map 0:0 -map 0:1 -codec:v:0 h264_smd -prefer_smd -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -filter_complex [0:5]scale=1920:802:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 11926739 -bufsize 23853478 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af volume=2 -y "/var/packages/EmbyServer/target/var/transcoding-temp/2bdac344ba7c244f3e1acef886c0c5d1.mkv"'

Share this post


Link to post
Share on other sites
Luke

is that really the whole thing? because there is supposed to be lots of info in there pertaining to the ffmpeg build. can you please just attach the file?

Share this post


Link to post
Share on other sites
johanbcn

There are a lot of log files, so I emptied the log directory, restarted the server and tried again. Here's the whole bunch of log files.

logs.tar.gz

Edited by johanbcn

Share this post


Link to post
Share on other sites
johanbcn

 

I have been playing around with Emby on my DS214Play and overall it's working pretty good :)

 

There are some files, though, that I can't transcode to chromecast. Seems that the ffmpeg command is not being built correctly:

/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: syntax error near unexpected token `min'
/var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg: eval: line 196: `sudo /usr/bin/ffmpeg -f matroska,webm -i file:"/volume1/EmbyTest/movies/test.mkv" -map 0:0 -map 0:1 -codec:v:0 h264_smd -prefer_smd -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -filter_complex [0:5]scale=1920:802:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 11926739 -bufsize 23853478 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af volume=2 -y "/var/packages/EmbyServer/target/var/transcoding-temp/2bdac344ba7c244f3e1acef886c0c5d1.mkv"'

 

 

 

Ok, I have figured it out. It's a message thrown by the shell, not by ffmpeg. The value of the filter_complex argument should be wrapped in double quotes for it to work correctly, such as this:

sudo /usr/bin/ffmpeg -f matroska,webm -i file:"/volume1/EmbyTest/movies/test.mkv" -map 0:0 -map 0:1 -codec:v:0 h264_smd -prefer_smd -force_key_frames "expr:gte(t,n_forced*5)" -copyts -avoid_negative_ts disabled -start_at_zero -filter_complex "[0:5]scale=1920:802:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 11926739 -bufsize 23853478 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af volume=2 -y "/var/packages/EmbyServer/target/var/transcoding-temp/2bdac344ba7c244f3e1acef886c0c5d1.mkv"

Share this post


Link to post
Share on other sites
Darkjeje

Do you have any news to have transcoding options from the web menu for the ds214play ?

Share this post


Link to post
Share on other sites
Luke

Do you have any news to have transcoding options from the web menu for the ds214play ?

 

Can you elaborate more on what exactly you're asking? Thanks !

Share this post


Link to post
Share on other sites
Darkjeje

Can you elaborate more on what exactly you're asking? Thanks !

 

Hello Luke,

 

I wanted to know if we could now have hardware transcoding without going through ssh but directly from the dashboard ?

5b0b94fbdd432_Emby.png

I wanted to know if we could now have hardware transcoding without going through ssh but directly from the dashboard

  • Like 1

Share this post


Link to post
Share on other sites
muppets4

Hello Luke,

 

I wanted to know if we could now have hardware transcoding without going through ssh but directly from the dashboard ?

5b0b94fbdd432_Emby.png

 

I wanted to know if we could now have hardware transcoding without going through ssh but directly from the dashboard[/size]

I was hoping for this too. Is there a possibility?

  • Like 1

Share this post


Link to post
Share on other sites
Luke

Have you tried enabling vaapi?

Share this post


Link to post
Share on other sites
muppets4

After I did what was in the topic start I am not able to start any live TV anymore. The screen stays black with the circle that keeps circling (:

 

I've added the ffmpeg log.

 

And I can't seem to get it off again. I used sudo ./switchcomp ffmpeg 3.4.1 and it gives me a fail on validating version

ffmpeg.txt

Edited by muppets4

Share this post


Link to post
Share on other sites
muppets4

Have you tried enabling vaapi?

 

I tried. Makes no difference.

Share this post


Link to post
Share on other sites
Luke

Looks like an encoding failure. We'll see what @@solabc16 thinks. Thanks.

Share this post


Link to post
Share on other sites
solabc16

Hello @@muppets4

 

Assuming you are running the latest stable, use 4.0 as the FFmpeg version - let me know how you get on.

 

I'll take a look at making this a little more straightforward with the next stable; it is an experimental feature.

 

Best

- James

Share this post


Link to post
Share on other sites
solabc16

Hello All

 

On some of the other points, it's probably best to refer back to these posts... we'll keep looking at how to make the experience as good as it can be and make changes where it makes sense to do so.

 

 
 
Anybody who is running DSM 6.2 on their DS415play or DS214play system, it would helpful if you could run the following: https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs
 
Best
- James
Edited by solabc16

Share this post


Link to post
Share on other sites
eevv

Installed the official Emby .spk from Synology Community Package Center

 

On my Synology DS415PLAY Evansport with hardware transcoding capabilities

 

Latest DSM 6.2-23739-2 and Emby version installed was 3.5.0.0-1

 

 

I then ran the SSH commands listed for DSM6 at the first post in this thread, like this:

 

-------------------------------------
 
Using username . .
password:
:$ cd /var/packages/EmbyServer/scripts/utilities
:/var/packages/EmbyServer/scripts/utilities$ sudo ./switchcomp ffmpeg 0.0.0.0
 
 
 
We trust you have received the usual lecture ffem the local System
Administrator. It usually boils down to these three things:
 
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
 
Password:
 
 
Script invoked as [./switchcemp] by [root].
File Version : 3.5.0.0—l
 
This script enables you to safely switch versions of the internal components
used by the package. PLEASE ONLY USE AS DIRECTED BY SUPPORT
 
Type [yes] and press return to continue: yes
 
Requested Cfimponent : ffmpeg
Requested Version : 0.0.0
 
Validating Component : SUCCESS
Validating Version : SUCCESS
 
Component [ffmpeg] successfully switched to version [0.0.0].
 
*** Please stop and start Emby Server in Package Center for the changes to take effect. ***
 

-------------------------------------

 

Restarted Emby both from the internal dashboard reboot and a start/stop from the package center

 

One difference: I could not log in as "admin", login rejected, I logged in with my personal (admin) account, and I think the way it works in DSM at the moment is you can do sudo/root etc. kind of stuff as long as you are  presented with the We trust you have received the usual lecture ffem the local System Administrator message first and then retype your password ?

 

It looks from the output pasted above that the specified commands are carried out successfully even though I logged in as my own admin username not "admin" ?

 

 

 

More important question - 

 

do you still have to do these SSH commands even though you install official spk directly from Synology package center ? If so it's really important so you get hw transcoding but there is no warning about this anywhere that I can see, I just came across these instructions on the forum. 

 

 

Most important question -

 

after installing Emby and doing the SSH commands outlined above, under Server - Transcoding - Hardware Acceleration, which option do I choose ? There is no "auto" option as I have seen in other documentation. There is:

 

AMD AMF

Intel Quick Sync

MediaCodec Android

OpenMAX OMX

Nvidia NVENC

Video Acceleration API (VA API)

Exonys V4L2 MFC Encoder

 

 

I have searched thoroughly for anything in the DS415PLAY data sheets etc. for more information about which of these, if any, support the Intel Evansport CE5335 Atom processor. According to my research Intel Quick Sync it is not, in spite of Evansport being a Intel processor. 

 

Which option if any do I choose?

 

Are the SSH commands still necessary even when you do a normal Synology package center Emby install ?

 

How can I tell if transcoding is being used or not when I'm playing a file ?

 

 

Many detailed questions, I know, I am an enthusiastic newbie and eager to learn, hope someone can help. Thank you.

 

 

 

 

Share this post


Link to post
Share on other sites
Darkjeje

Hello James,

 

I send my log, if I can help you with DSM 6.2.

 

sendlogs_DiskstationJR_synology_evansport_214play_20180729T165749UTC.tgz

Share this post


Link to post
Share on other sites
Luke

hi @@eevv

Are the SSH commands still necessary even when you do a normal Synology package center Emby install ?

 

 

Have you followed our Synology install guide here? https://emby.media/nas-server.html

 

 

How can I tell if transcoding is being used or not when I'm playing a file ?

 

Yes the server dashboard will display this information. Many Emby apps also have ways to show this in the video player directly. Does this answer your question?

Share this post


Link to post
Share on other sites
eevv

Yes have followed that guide 

 

So the FFMPEG change that I did was NOT necesssary and that documentation should not be out there then ? Could I have broken anything now ? It gives the impression this must be done in spite of official package etc., these installs should usually also set the shared folder permissions they need etc. too 

 

Yes I've seen the "stats for nerds" option for videos sometimes say "transcode". CPU etc goes up to over 90% for at least beginning of a transcoding movie (when I've checked it) and IMMEDIATELY cpu usage etc goes down when the movie is turnedoff ... but isnt transcoding supposed to be a dedicated hardware component that processes stuff the CPU otherwise would have done, thereby... so isn't supposed to transcode accompanied by high high CPU usage, while the others, "direct play" etc., my CPU usage is maybe 20% of the other scenario.

 

- so from this I can at least conclude that there is no hw transcoding when I use the Synology Emby server ? ds415play tips reeived with thanks  

 

 

 

hi @@eevv

 

Have you followed our Synology install guide here? https://emby.media/nas-server.html

 

 

Yes the server dashboard will display this information. Many Emby apps also have ways to show this in the video player directly. Does this answer your question?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...