Nathanio 35 Posted January 22, 2017 Share Posted January 22, 2017 I have noticed that on the FireTV beta app that I have very choppy playback on our FireTV boxes (one first gen and one 4K). I get smooth playback on web, android mobile app and on Emby Theatre. I have it set to direct stream live tv using VLC. If I don't use VLC then I get a black screen with a spinning circle. I do get a log though so it has clearly started the process on the server http://172.0.0.1:8096/videos/92689bc7fea16714661f0399146a9183/stream.mkv?DeviceId=bce67ed8339cb21cc7cc9e7796395fae5caee7ac&MediaSourceId=da0cb1035d7b48bf84ca619447540504_native_8504716b6ef9696a685111ba10c1b306&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=10808000&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=8249282855664e79ba4df9f0fabc356b&api_key=1c46ec7675bd4913b456ce6629d32c92&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_da0cb1035d7b48bf84ca619447540504_native_8504716b6ef9696a685111ba10c1b306&CopyTimestamps=true&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&RequireAvc=true {"Protocol":"Http","Id":"da0cb1035d7b48bf84ca619447540504_native_8504716b6ef9696a685111ba10c1b306","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/36e52013ab5b4881b6ef872387de52db/stream.ts","Type":"Default","Container":"mpegts","ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_da0cb1035d7b48bf84ca619447540504_native_8504716b6ef9696a685111ba10c1b306","BufferMs":0,"MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1/50","NalLengthSize":"0","IsInterlaced":false,"BitRate":8000000,"BitDepth":8,"RefFrames":4,"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},{"Codec":"dvbsub","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/90000","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":8000000,"RequiredHttpHeaders":{},"DefaultAudioStreamIndex":1} C:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -fflags +genpts -codec:0 h264 -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/36e52013ab5b4881b6ef872387de52db/stream.ts" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -flags -global_header -fflags +genpts -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 libmp3lame -ac 2 -ab 192000 -af "aresample=async=1" -y "S:\Transcode\transcoding-temp\c1f557fef8fa133030c7e927a54261fc.mkv" ffmpeg version N-79277-g0c90b2e Copyright (c) 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 [h264 @ 00000000004ed080] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 00000000004ed080] decode_slice_header error [h264 @ 00000000004ed080] no frame! [h264 @ 00000000004ed080] mmco: unref short failure [h264 @ 00000000004ed080] Increasing reorder buffer to 2 [h264 @ 00000000004ed080] Increasing reorder buffer to 3 [h264 @ 00000000004ed080] mmco: unref short failure [mpegts @ 00000000004e9380] 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 @ 00000000004e9380] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 00000000004e9380] 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 @ 00000000004e9380] Could not find codec parameters for stream 6 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 00000000004e9380] 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 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/36e52013ab5b4881b6ef872387de52db/stream.ts': Duration: N/A, start: 50276.043167, bitrate: N/A Program 17540 Stream #0:0[0x19c9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 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[0x19fa]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:5[0x1c86]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:6[0x1c97]: Unknown: none ([11][0][0][0] / 0x000B) Stream #0:7[0x1c66]: Unknown: none ([5][0][0][0] / 0x0005) Output #0, matroska, to 'S:\Transcode\transcoding-temp\c1f557fef8fa133030c7e927a54261fc.mkv': Metadata: encoder : Lavf57.32.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 90k tbc Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 192 kb/s Metadata: encoder : Lavc57.34.100 libmp3lame Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (aac_latm (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help frame= 187 fps=0.0 q=-1.0 size= 3178kB time=00:00:08.40 bitrate=3097.5kbits/s speed=16.1x frame= 195 fps=191 q=-1.0 size= 3484kB time=00:00:08.72 bitrate=3271.5kbits/s speed=8.54x frame= 212 fps=134 q=-1.0 size= 3628kB time=00:00:09.40 bitrate=3160.2kbits/s speed=5.96x frame= 221 fps=106 q=-1.0 size= 3945kB time=00:00:09.76 bitrate=3309.5kbits/s speed= 4.7x frame= 239 fps= 92 q=-1.0 size= 4092kB time=00:00:10.48 bitrate=3197.1kbits/s speed=4.04x frame= 249 fps= 79 q=-1.0 size= 4400kB time=00:00:10.88 bitrate=3311.7kbits/s speed=3.45x frame= 263 fps= 71 q=-1.0 size= 4707kB time=00:00:11.44 bitrate=3368.8kbits/s speed= 3.1x frame= 277 fps= 66 q=-1.0 size= 4839kB time=00:00:12.00 bitrate=3302.3kbits/s speed=2.87x frame= 287 fps= 61 q=-1.0 size= 5145kB time=00:00:12.40 bitrate=3397.9kbits/s speed=2.65x frame= 304 fps= 58 q=-1.0 size= 5324kB time=00:00:13.08 bitrate=3333.1kbits/s speed= 2.5x frame= 312 fps= 54 q=-1.0 size= 5603kB time=00:00:13.40 bitrate=3424.0kbits/s speed=2.33x frame= 328 fps= 53 q=-1.0 size= 5768kB time=00:00:14.04 bitrate=3364.5kbits/s speed=2.25x frame= 335 fps= 50 q=-1.0 size= 6063kB time=00:00:14.32 bitrate=3467.0kbits/s speed=2.12x frame= 354 fps= 49 q=-1.0 size= 6258kB time=00:00:15.08 bitrate=3398.3kbits/s speed=2.07x frame= 363 fps= 47 q=-1.0 size= 6559kB time=00:00:15.44 bitrate=3479.0kbits/s speed=1.99x frame= 380 fps= 46 q=-1.0 size= 6740kB time=00:00:16.12 bitrate=3423.9kbits/s speed=1.95x frame= 389 fps= 44 q=-1.0 size= 7067kB time=00:00:16.48 bitrate=3511.9kbits/s speed=1.88x frame= 407 fps= 44 q=-1.0 size= 7247kB time=00:00:17.20 bitrate=3450.7kbits/s speed=1.85x frame= 416 fps= 42 q=-1.0 size= 7555kB time=00:00:17.56 bitrate=3523.6kbits/s speed=1.79x frame= 431 fps= 42 q=-1.0 size= 7903kB time=00:00:18.16 bitrate=3563.9kbits/s speed=1.76x frame= 443 fps= 41 q=-1.0 size= 8069kB time=00:00:18.64 bitrate=3545.5kbits/s speed=1.72x frame= 455 fps= 40 q=-1.0 size= 8396kB time=00:00:19.12 bitrate=3596.5kbits/s speed=1.69x frame= 469 fps= 40 q=-1.0 size= 8542kB time=00:00:19.68 bitrate=3554.7kbits/s speed=1.66x frame= 479 fps= 39 q=-1.0 size= 8876kB time=00:00:20.08 bitrate=3620.3kbits/s speed=1.63x frame= 495 fps= 39 q=-1.0 size= 9045kB time=00:00:20.72 bitrate=3575.0kbits/s speed=1.61x frame= 504 fps= 38 q=-1.0 size= 9347kB time=00:00:21.08 bitrate=3631.5kbits/s speed=1.57x frame= 522 fps= 38 q=-1.0 size= 9516kB time=00:00:21.80 bitrate=3575.3kbits/s speed=1.57x frame= 529 fps= 37 q=-1.0 size= 9792kB time=00:00:22.08 bitrate=3632.3kbits/s speed=1.53x frame= 545 fps= 36 q=-1.0 size= 9973kB time=00:00:22.72 bitrate=3595.1kbits/s speed=1.52x frame= 553 fps= 36 q=-1.0 size= 10279kB time=00:00:23.04 bitrate=3653.9kbits/s speed=1.49x frame= 573 fps= 36 q=-1.0 size= 10459kB time=00:00:23.84 bitrate=3593.1kbits/s speed= 1.5x frame= 582 fps= 35 q=-1.0 size= 10755kB time=00:00:24.20 bitrate=3640.1kbits/s speed=1.47x frame= 599 fps= 35 q=-1.0 size= 10920kB time=00:00:24.88 bitrate=3594.7kbits/s speed=1.46x frame= 607 fps= 35 q=-1.0 size= 11222kB time=00:00:25.20 bitrate=3647.5kbits/s speed=1.44x frame= 623 fps= 35 q=-1.0 size= 11545kB time=00:00:25.84 bitrate=3659.3kbits/s speed=1.44x frame= 634 fps= 34 q=-1.0 size= 11680kB time=00:00:26.28 bitrate=3640.1kbits/s speed=1.42x frame= 647 fps= 34 q=-1.0 size= 12001kB time=00:00:26.80 bitrate=3667.7kbits/s speed=1.41x frame= 662 fps= 34 q=-1.0 size= 12131kB time=00:00:27.40 bitrate=3626.2kbits/s speed= 1.4x frame= 671 fps= 33 q=-1.0 size= 12456kB time=00:00:27.76 bitrate=3675.2kbits/s speed=1.38x frame= 687 fps= 33 q=-1.0 size= 12640kB time=00:00:28.40 bitrate=3645.5kbits/s speed=1.38x frame= 695 fps= 33 q=-1.0 size= 12927kB time=00:00:28.72 bitrate=3686.7kbits/s speed=1.36x frame= 712 fps= 33 q=-1.0 size= 13115kB time=00:00:29.40 bitrate=3653.7kbits/s speed=1.36x frame= 721 fps= 33 q=-1.0 size= 13390kB time=00:00:29.76 bitrate=3685.2kbits/s speed=1.34x frame= 742 fps= 33 q=-1.0 size= 13592kB time=00:00:30.60 bitrate=3638.1kbits/s speed=1.35x frame= 750 fps= 32 q=-1.0 size= 13896kB time=00:00:30.92 bitrate=3681.1kbits/s speed=1.34x frame= 767 fps= 32 q=-1.0 size= 14049kB time=00:00:31.60 bitrate=3641.6kbits/s speed=1.34x frame= 775 fps= 32 q=-1.0 size= 14363kB time=00:00:31.92 bitrate=3685.5kbits/s speed=1.32x frame= 791 fps= 32 q=-1.0 size= 14667kB time=00:00:32.56 bitrate=3689.6kbits/s speed=1.32x frame= 800 fps= 32 q=-1.0 size= 14821kB time=00:00:32.92 bitrate=3687.5kbits/s speed=1.31x frame= 815 fps= 32 q=-1.0 size= 15154kB time=00:00:33.52 bitrate=3702.9kbits/s speed= 1.3x frame= 826 fps= 31 q=-1.0 size= 15310kB time=00:00:33.96 bitrate=3692.6kbits/s speed=1.29x frame= 839 fps= 31 q=-1.0 size= 15623kB time=00:00:34.48 bitrate=3711.2kbits/s speed=1.29x frame= 854 fps= 31 q=-1.0 size= 15791kB time=00:00:35.08 bitrate=3687.0kbits/s speed=1.29x frame= 863 fps= 31 q=-1.0 size= 16116kB time=00:00:35.44 bitrate=3724.6kbits/s speed=1.28x frame= 881 fps= 31 q=-1.0 size= 16296kB time=00:00:36.16 bitrate=3691.4kbits/s speed=1.28x frame= 889 fps= 31 q=-1.0 size= 16574kB time=00:00:36.48 bitrate=3721.4kbits/s speed=1.27x frame= 903 fps= 31 q=-1.0 size= 16740kB time=00:00:37.04 bitrate=3701.7kbits/s speed=1.27x frame= 914 fps= 31 q=-1.0 size= 17044kB time=00:00:37.48 bitrate=3724.7kbits/s speed=1.26x frame= 935 fps= 31 q=-1.0 size= 17245kB time=00:00:38.32 bitrate=3686.1kbits/s speed=1.26x frame= 943 fps= 31 q=-1.0 size= 17560kB time=00:00:38.64 bitrate=3722.4kbits/s speed=1.25x frame= 959 fps= 31 q=-1.0 size= 17708kB time=00:00:39.28 bitrate=3692.5kbits/s speed=1.25x frame= 967 fps= 30 q=-1.0 size= 18011kB time=00:00:39.60 bitrate=3725.3kbits/s speed=1.24x frame= 983 fps= 30 q=-1.0 size= 18168kB time=00:00:40.24 bitrate=3698.2kbits/s speed=1.24x frame= 993 fps= 30 q=-1.0 size= 18493kB time=00:00:40.64 bitrate=3727.2kbits/s speed=1.24x frame= 1007 fps= 30 q=-1.0 size= 18816kB time=00:00:41.20 bitrate=3740.9kbits/s speed=1.23x frame= 1018 fps= 30 q=-1.0 size= 18962kB time=00:00:41.64 bitrate=3730.1kbits/s speed=1.23x frame= 1031 fps= 30 q=-1.0 size= 19279kB time=00:00:42.16 bitrate=3745.5kbits/s speed=1.22x frame= 1047 fps= 30 q=-1.0 size= 19458kB time=00:00:42.80 bitrate=3723.8kbits/s speed=1.23x frame= 1055 fps= 30 q=-1.0 size= 19749kB time=00:00:43.12 bitrate=3751.6kbits/s speed=1.22x frame= 1074 fps= 30 q=-1.0 size= 19900kB time=00:00:43.88 bitrate=3714.7kbits/s speed=1.22x frame= 1080 fps= 30 q=-1.0 size= 20181kB time=00:00:44.12 bitrate=3746.8kbits/s speed=1.21x frame= 1097 fps= 30 q=-1.0 size= 20346kB time=00:00:44.80 bitrate=3720.0kbits/s speed=1.21x frame= 1104 fps= 29 q=-1.0 size= 20646kB time=00:00:45.08 bitrate=3751.4kbits/s speed= 1.2x frame= 1125 fps= 30 q=-1.0 size= 20784kB time=00:00:45.92 bitrate=3707.4kbits/s speed=1.21x frame= 1130 fps= 29 q=-1.0 size= 21050kB time=00:00:46.12 bitrate=3738.7kbits/s speed= 1.2x frame= 1146 fps= 29 q=-1.0 size= 21195kB time=00:00:46.76 bitrate=3712.8kbits/s speed= 1.2x frame= 1155 fps= 29 q=-1.0 size= 21523kB time=00:00:47.12 bitrate=3741.5kbits/s speed=1.19x frame= 1175 fps= 29 q=-1.0 size= 21663kB time=00:00:47.92 bitrate=3703.0kbits/s speed= 1.2x frame= 1184 fps= 29 q=-1.0 size= 21950kB time=00:00:48.28 bitrate=3724.0kbits/s speed=1.19x frame= 1199 fps= 29 q=-1.0 size= 22240kB time=00:00:48.88 bitrate=3726.9kbits/s speed=1.19x frame= 1209 fps= 29 q=-1.0 size= 22398kB time=00:00:49.28 bitrate=3722.9kbits/s speed=1.19x frame= 1223 fps= 29 q=-1.0 size= 22703kB time=00:00:49.84 bitrate=3731.2kbits/s speed=1.19x frame= 1235 fps= 29 q=-1.0 size= 22848kB time=00:00:50.32 bitrate=3719.3kbits/s speed=1.18x frame= 1247 fps= 29 q=-1.0 size= 23182kB time=00:00:50.80 bitrate=3737.9kbits/s speed=1.18x frame= 1265 fps= 29 q=-1.0 size= 23376kB time=00:00:51.52 bitrate=3716.5kbits/s speed=1.18x frame= 1274 fps= 29 q=-1.0 size= 23654kB time=00:00:51.88 bitrate=3734.7kbits/s speed=1.17x [matroska @ 000000000053dae0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly frame= 1292 fps= 29 q=-1.0 size= 23850kB time=00:00:52.56 bitrate=3716.9kbits/s speed=1.17x frame= 1301 fps= 29 q=-1.0 size= 24155kB time=00:00:52.92 bitrate=3738.8kbits/s speed=1.17x [matroska @ 000000000053dae0] Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument frame= 1304 fps= 29 q=-1.0 Lsize= 24567kB time=00:00:53.04 bitrate=3794.0kbits/s speed=1.17x video:23332kB audio:1227kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.031819% Conversion failed! Here is a video of the problem: As you can see it goes choppy in places. It was playing back 1080 stream. This was 1.36 iirc. Link to comment Share on other sites More sharing options...
ebr 14960 Posted January 22, 2017 Share Posted January 22, 2017 The log is from the session you showed the video for? And what is 1.36? I don't recognize that version for anything. Link to comment Share on other sites More sharing options...
Nathanio 35 Posted January 22, 2017 Author Share Posted January 22, 2017 I'll check the version number. The log was when I switched off direct stream and VLC but didn't actually get any video out on the FireTV. (and yes when I was doing that video - although the video is for when it was direct streaming) I guess I need to use the report function on the video screen for you? Link to comment Share on other sites More sharing options...
Teknologist 0 Posted January 24, 2017 Share Posted January 24, 2017 I am also experiencing an issue on a 4K Fire TV with the Beta 1.3.18a version. Video starts then stops constantly. Basically unwatchable. I tried restarting the app, then the Fire TV, still the same issue. The stream was direct playing. The server was not busy and can handle the load. Playback is fine via other methods. I had to roll back to the live version 1.3.15a to resolve the issue. This kind of ruined a movie night for us . Let me know if you need more info, I'll see what I can do. Either way, the current Beta is broken for the AFTV. Link to comment Share on other sites More sharing options...
ebr 14960 Posted January 24, 2017 Share Posted January 24, 2017 I am also experiencing an issue on a 4K Fire TV with the Beta 1.3.18a version. Video starts then stops constantly. Basically unwatchable. I tried restarting the app, then the Fire TV, still the same issue. The stream was direct playing. The server was not busy and can handle the load. Playback is fine via other methods. I had to roll back to the live version 1.3.15a to resolve the issue. This kind of ruined a movie night for us . Let me know if you need more info, I'll see what I can do. Either way, the current Beta is broken for the AFTV. Can you play the item for just a few seconds with the release version and then send the log from the app and then do the same thing with the beta version (be sure to play long enough for problems to show). Then come tell me when you did it, who the Emby user was and what you played. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now