Jump to content

Apple TV 4 not playing some videos


cptbstd
 Share

Recommended Posts

Try playing a movie, looks like it is starting to play, black screen with spindle spinning, then backs out. Emby things that the video has been watched for 25mins when it hasn't. This is happening to quite a few videos. I can supply more logs if required. Notes - using nvenc.
 
 
 
{"Protocol":"File","Id":"5fd24d8af3800e94c811b5d7eb723701","Path":"G:\\Shares\\Movies\\xxx\\xxx","Type":"Default","Container":"mp4","Name":"1080P/H264/AAC","ETag":"0868c820959b1f49c82841d6af029ccb","RunTimeTicks":48634670000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","TimeBase":"1/96000","CodecTimeBase":"1001/48000","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":1841328,"BitDepth":8,"RefFrames":4,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"und","TimeBase":"1/48000","CodecTimeBase":"1/48000","DisplayTitle":"Und AAC stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":95893,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","Language":"eng","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"G:\\Shares\\Movies\\xxxxx\\x.srt"},{"Codec":"srt","DisplayTitle":"","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"G:\\Shares\\Movies\\xxxxx\\xxxx.srt"}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":1940900,"RequiredHttpHeaders":{}}
 
C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -fflags +genpts -i file:"G:\Shares\Movies\xxx\xxx" -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -avoid_negative_ts disabled -start_at_zero -pix_fmt yuv420p -preset slower -crf 23 -b:v 1372000 -maxrate 1372000 -bufsize 2744000 -vsync -1 -profile:v high -level 41 -map_metadata -1 -threads 0 -codec:a:0 copy -y "Y:\transcoding-temp\transcoding-temp\26cabde87de751a07700e51c2903e42d.mkv"
 

ffmpeg version N-79277-g0c90b2e Copyright © 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 32.100 / 57. 32.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:G:\Shares\Movies\xxx\xxx':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2012-11-29 20:24:51
  Duration: 01:21:03.47, start: 0.000000, bitrate: 1940 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [sAR 1:1 DAR 16:9], 1841 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2012-11-29 20:24:51
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 95 kb/s (default)
    Metadata:
      creation_time   : 2012-11-29 20:24:58
      handler_name    : GPAC ISO Audio Handler
[libx264 @ 0000000000bc4020] using SAR=1/1
[libx264 @ 0000000000bc4020] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000000000bc4020] profile High, level 4.1
[libx264 @ 0000000000bc4020] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=8 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=9 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 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=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1372 vbv_bufsize=2744 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'Y:\transcoding-temp\transcoding-temp\26cabde87de751a07700e51c2903e42d.mkv':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1280x720 [sAR 1:1 DAR 16:9], q=-1--1, 1372 kb/s, 23.98 fps, 1k tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc57.34.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 1372000/0/1372000 buffer size: 2744000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 95 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   67 fps=0.0 q=0.0 size=       0kB time=00:00:02.96 bitrate=   0.0kbits/s speed=4.33x   
frame=  108 fps= 88 q=28.0 size=      19kB time=00:00:04.92 bitrate=  31.2kbits/s speed=3.99x   
frame=  122 fps= 67 q=28.0 size=      71kB time=00:00:05.41 bitrate= 107.7kbits/s speed=   3x   
frame=  133 fps= 58 q=28.0 size=     153kB time=00:00:05.90 bitrate= 212.3kbits/s speed=2.56x   
frame=  152 fps= 54 q=28.0 size=     197kB time=00:00:06.89 bitrate= 234.0kbits/s speed=2.45x   
frame=  167 fps= 50 q=28.0 size=     249kB time=00:00:07.38 bitrate= 276.1kbits/s speed=2.22x   
frame=  178 fps= 46 q=28.0 size=     309kB time=00:00:07.87 bitrate= 321.1kbits/s speed=2.04x   
frame=  189 fps= 43 q=28.0 size=     383kB time=00:00:08.34 bitrate= 376.2kbits/s speed=1.89x   
frame=  204 fps= 42 q=28.0 size=     506kB time=00:00:09.25 bitrate= 448.1kbits/s speed=1.88x   
frame=  216 fps= 40 q=28.0 size=     592kB time=00:00:09.70 bitrate= 499.9kbits/s speed=1.79x   
frame=  226 fps= 37 q=28.0 size=     664kB time=00:00:10.17 bitrate= 534.2kbits/s speed=1.68x   
frame=  233 fps= 35 q=28.0 size=     723kB time=00:00:10.19 bitrate= 580.4kbits/s speed=1.54x   
frame=  248 fps= 35 q=28.0 size=     850kB time=00:00:11.09 bitrate= 628.0kbits/s speed=1.55x   
frame=  261 fps= 34 q=28.0 size=     930kB time=00:00:11.54 bitrate= 660.3kbits/s speed=1.51x   
frame=  273 fps= 33 q=28.0 size=    1015kB time=00:00:12.01 bitrate= 692.2kbits/s speed=1.46x   
frame=  285 fps= 32 q=28.0 size=    1106kB time=00:00:12.45 bitrate= 727.2kbits/s speed=1.42x   
frame=  298 fps= 32 q=28.0 size=    1217kB time=00:00:12.92 bitrate= 771.5kbits/s speed=1.38x   
frame=  312 fps= 31 q=28.0 size=    1311kB time=00:00:13.84 bitrate= 775.9kbits/s speed= 1.4x   
frame=  329 fps= 32 q=28.0 size=    1449kB time=00:00:14.29 bitrate= 830.4kbits/s speed=1.37x   
frame=  342 fps= 31 q=28.0 size=    1513kB time=00:00:14.76 bitrate= 839.8kbits/s speed=1.35x   
frame=  353 fps= 31 q=31.0 size=    1609kB time=00:00:15.21 bitrate= 866.7kbits/s speed=1.33x   
frame=  362 fps= 30 q=32.0 size=    1681kB time=00:00:15.68 bitrate= 878.2kbits/s speed=1.31x   
frame=  378 fps= 30 q=32.0 size=    1770kB time=00:00:16.59 bitrate= 873.9kbits/s speed=1.33x   
frame=  390 fps= 30 q=35.0 size=    1837kB time=00:00:17.04 bitrate= 882.9kbits/s speed=1.31x   
frame=  403 fps= 30 q=37.0 size=    1941kB time=00:00:17.51 bitrate= 908.0kbits/s speed=1.29x   
frame=  411 fps= 29 q=39.0 size=    2031kB time=00:00:17.96 bitrate= 926.3kbits/s speed=1.25x   
frame=  420 fps= 28 q=40.0 size=    2149kB time=00:00:17.96 bitrate= 980.0kbits/s speed= 1.2x   
frame=  431 fps= 28 q=40.0 size=    2278kB time=00:00:18.43 bitrate=1012.3kbits/s speed=1.18x   
frame=  447 fps= 24 q=-1.0 Lsize=    2972kB time=00:00:19.34 bitrate=1258.4kbits/s speed=1.03x   
video:2738kB audio:224kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.345383%
[libx264 @ 0000000000bc4020] frame I:4     Avg QP:20.05  size: 22042
[libx264 @ 0000000000bc4020] frame P:131   Avg QP:23.55  size: 11892
[libx264 @ 0000000000bc4020] frame B:312   Avg QP:27.18  size:  3709
[libx264 @ 0000000000bc4020] consecutive B-frames:  2.2%  4.9% 27.5% 65.3%
[libx264 @ 0000000000bc4020] mb I  I16..4: 48.3% 45.7%  6.0%
[libx264 @ 0000000000bc4020] mb P  I16..4: 12.7% 16.4%  1.0%  P16..4: 36.5%  5.4%  4.1%  0.1%  0.0%    skip:23.7%
[libx264 @ 0000000000bc4020] mb B  I16..4:  1.5%  1.7%  0.0%  B16..8: 33.7%  3.1%  0.5%  direct: 3.1%  skip:56.4%  L0:38.6% L1:58.9% BI: 2.6%

 

Edited by cptbstd
Link to comment
Share on other sites

The first thing I would try is turning off the hardware acceleration.  Just to eliminate it as a factor.

  • Like 1
Link to comment
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
 Share

×
×
  • Create New...