Jump to content


Photo

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

Synology Evansport Hardware Transcoding

  • Please log in to reply
118 replies to this topic

#41 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:23 AM

Posted 15 August 2017 - 12:37 PM

What new transcode option are you referring to?



#42 sonny_life OFFLINE  

sonny_life

    Member

  • Members
  • 25 posts
  • Local time: 10:23 AM

Posted 15 August 2017 - 02:42 PM

Hi guys, one question...

 

If i install today via Package Center, i will have the new transcode option for my Synology 214play?!??! Or i have to configure later it via ssh?

 

Thank you

 

You have to do it via ssh. It's not present in the transcoding options from the web menu.


  • Gu1b0 likes this

#43 sonny_life OFFLINE  

sonny_life

    Member

  • Members
  • 25 posts
  • Local time: 10:23 AM

Posted 15 August 2017 - 02:48 PM

What new transcode option are you referring to?

 

Hey, Luke. It's not bad idea to add Evansport (experimental) in the transcoding menu. It will save me time to open ssh every time when I update the app. :-)


Edited by sonny_life, 15 August 2017 - 06:01 PM.

  • Gu1b0 likes this

#44 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:23 AM

Posted 15 August 2017 - 03:19 PM

And what would that option do?



#45 sonny_life OFFLINE  

sonny_life

    Member

  • Members
  • 25 posts
  • Local time: 10:23 AM

Posted 15 August 2017 - 06:03 PM

And what would that option do?

 

The same as the commands in the ssh to enable and disable hardware support on Evansport.



#46 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:23 AM

Posted 15 August 2017 - 06:06 PM

What commands are those?



#47 sonny_life OFFLINE  

sonny_life

    Member

  • Members
  • 25 posts
  • Local time: 10:23 AM

Posted 15 August 2017 - 06:08 PM

What commands are those?

From the first post? Is this a tricky question? :-)



#48 Jennice OFFLINE  

Jennice

    Advanced Member

  • Members
  • 269 posts
  • Local time: 08:23 AM

Posted 01 September 2017 - 09:00 AM

Hi all,

 

I'm new to Emby, but have a 214play.

 

I have never used telnet into my Syno box, but would love to see it "noob friendly" in the menus. :)

 

I have tried Emby on an i7-3770k with an Nvidia 970 GPU. The HW transcode stutters and drops frames at a regular interval (matches an increase in CPU load). When SW transcoding at the same output bitrate, no stutter. Does the 214play have stutter issues with transcode of h264 TV material (1080, approx 9 mbps stream)?

 

Regards,

Jennice



#49 Home0002 OFFLINE  

Home0002

    Newbie

  • Members
  • 5 posts
  • Local time: 08:23 AM

Posted 19 October 2017 - 01:59 PM

Hello All
 
This is something we've been looking at for a while between stable releases, you may have seen some discussions on the subject in other threads in this forum.
 
I'm pleased to say that this work is now rolled up into the stable Synology/XPEnology package releases from 3.1.2.0-1.
 
There are some details here on what to expect: https://emby.media/c...mance/?p=379641
 
A big thank you goes to @xxJonoxx who made their system available for us to test with.
 
Please note, that this should still be considered experimental at this stage and we'll rely on your experiences and feedback to refine the implementation in future releases.
 
 
 
Instructions to Enable Support
 
DSM6
    SSH to your Synology NAS and login as 'admin'.
    Change to utilities directory, using 'cd /var/packages/EmbyServer/scripts/utilities'.
    Change the FFmpeg version, using 'sudo ./switchcomp ffmpeg 0.0.0'.DSM5
    SSH to your Synology NAS and login as 'root'.
    Change to utilities directory, using 'cd /var/packages/EmbyServer/scripts/utilities'.
    Change the FFmpeg version, using 'sudo ./switchcomp ffmpeg 0.0.0'.
 
 
 
Instructions to Disable Support
 
DSM6
    SSH to your Synology NAS and login as 'admin'.
    Change to utilities directory, using 'cd /var/packages/EmbyServer/scripts/utilities'.
    Change the FFmpeg version, using 'sudo ./switchcomp ffmpeg 3.1.4'.DSM5
    SSH to your Synology NAS and login as 'root'.
    Change to utilities directory, using 'cd /var/packages/EmbyServer/scripts/utilities'.
    Change the FFmpeg version, using 'sudo ./switchcomp ffmpeg 3.1.4'.
 
 
 
NOTE
 
1) As prompted on the screen, you will need to stop and start Emby Server in Package Center for the change to take effect.
 
2) For now, this change will need to be reapplied following a package update.
 
3) The version of FFmpeg to specify when disabling h/w transcoding support is dependent on the package version.
 
        For 3.1.2.0-3 use 3.1.4
        For 3.1.2.0-2 use 3.2.2
        For 3.1.2.0-1 use 3.2.2
 
 
 
Best
- James


Hi,

Would this also work on DS216play? As I'm having some real issues with transcoding.

Steve

#50 sonny_life OFFLINE  

sonny_life

    Member

  • Members
  • 25 posts
  • Local time: 10:23 AM

Posted 19 October 2017 - 02:26 PM

Hi,

Would this also work on DS216play? As I'm having some real issues with transcoding.

Steve

 

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.



#51 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:23 AM

Posted 19 October 2017 - 02:56 PM

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



#52 Home0002 OFFLINE  

Home0002

    Newbie

  • Members
  • 5 posts
  • Local time: 08:23 AM

Posted 19 October 2017 - 03:35 PM

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.



#53 Home0002 OFFLINE  

Home0002

    Newbie

  • Members
  • 5 posts
  • Local time: 08:23 AM

Posted 19 October 2017 - 03:40 PM

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
 
 
{"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


#54 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 1967 posts
  • Local time: 08:23 AM

Posted 19 October 2017 - 03:52 PM

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



#55 Home0002 OFFLINE  

Home0002

    Newbie

  • Members
  • 5 posts
  • Local time: 08:23 AM

Posted 19 October 2017 - 04:20 PM

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, 19 October 2017 - 04:25 PM.


#56 johanbcn OFFLINE  

johanbcn

    Newbie

  • Members
  • 4 posts
  • Local time: 08:23 AM

Posted 26 March 2018 - 01:59 PM

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"'

 



#57 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:23 AM

Posted 26 March 2018 - 02:00 PM

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



#58 johanbcn OFFLINE  

johanbcn

    Newbie

  • Members
  • 4 posts
  • Local time: 08:23 AM

Posted 26 March 2018 - 02:07 PM

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"'


#59 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:23 AM

Posted 26 March 2018 - 02:10 PM

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?



#60 johanbcn OFFLINE  

johanbcn

    Newbie

  • Members
  • 4 posts
  • Local time: 08:23 AM

Posted 26 March 2018 - 02:46 PM

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.

Attached Files


Edited by johanbcn, 26 March 2018 - 02:47 PM.






Also tagged with one or more of these keywords: Synology, Evansport, Hardware Transcoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users