Buffering when playing .ts files (also noticed my computer seems to cap the stream to around 15~Mbps)

I’m getting stuttering issues when playing back .ts files (due to high bitrate?) but I have more than enough external and internal bandwidth (802.11ac, CAT5e, Gigabit switches and router)

If I play it locally via my computer’s media player, it works flawlessly.

In the Task Manager, I noticed my ATV is only getting about ~15Mbps when there’s a LOT more bandwidth available. I can open a heavy bandwidth intensive app that saturates my network, but Infuse will stay around ~15Mbps

I just upgraded and installed 5.6.2.

mediainfo on the file in question

General ID : 1 (0x1) Complete name : **********************.ts Format : MPEG-TS File size : 16.6 GiB Duration : 2h 9mn Overall bit rate mode : Variable Overall bit rate : 18.3 Mbps Law rating : PG Video ID : 49 (0x31) Menu ID : 1 (0x1) Format : MPEG Video Format version : Version 2 Format profile : Main@High Format settings, BVOP : No Format settings, Matrix : Custom Format settings, GOP : M=3, N=15 Codec ID : 2 Duration : 2h 9mn Bit rate : 16.6 Mbps Maximum bit rate : 17.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan order : Top Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.268 Time code of first frame : 00:00:00;00 Time code source : Group of pictures header Stream size : 15.1 GiB (91%) Audio #1 ID : 51 (0x33) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : 129 Duration : 2h 9mn Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Delay relative to video : 13ms Stream size : 356 MiB (2%) Language : English Audio #2 ID : 52 (0x34) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : VI (visually impaired) Format settings, Endianness : Big Codec ID : 129 Duration : 2h 9mn Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Delay relative to video : 9ms Stream size : 178 MiB (1%) Language : enm Audio #3 ID : 53 (0x35) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : 129 Duration : 2h 9mn Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Delay relative to video : 8ms Stream size : 178 MiB (1%) Language : English Text #1 ID : 49 (0x31)-1 Menu ID : 1 (0x1) Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Duration : 2h 9mn Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #2 ID : 49 (0x31)-2 Menu ID : 1 (0x1) Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Duration : 2h 9mn Bit rate mode : Constant Stream size : 0.00 Byte (0%) ==================MPEG2Repair 1.0.1.5 Log=================== MPEG2Repair: ******************************.ts Sequence Frame 16090(8-P) / Time 0:08:56 : VideoError: Too many macroblocks in slice. MBA=1560(0,208) VideoError: Missing 1 picture slices at MBA=1559(1904,192) FileInfo: Last video errors span 855 bytes at file offset 1229286142 FileInfo: Last video errors span 1 bytes at file offset 1229288024 Sequence Frame 42312(5-P) / Time 0:23:31 : VideoError: MPEG2 Intra DCT coefficient index out of bounds. MBA=5843(1328,768) VideoError: Failed to decode macroblock at MBA=5843(1328,768) FileInfo: Last video errors span 207 bytes at file offset 3233182330 Sequence Frame 50743(12-B) / Time 0:28:13 : VideoError: MPEG2 Intra DCT coefficient index out of bounds. MBA=2754(1824,352) VideoError: Failed to decode macroblock at MBA=2754(1824,352) FileInfo: Last video errors span 58 bytes at file offset 3877454639 Sequence Frame 56613(5-P) / Time 0:31:29 : VideoError: Invalid macroblock address increment. MBA=3010(160,400) VideoError: Invalid macroblock address increment code. MBA=3011(176,400) FileInfo: Last video errors span 1090 bytes at file offset 4325910442 VideoError: Invalid motion vector code. MBA=3431(1136,448) VideoError: Failed to decode macroblock at MBA=3431(1136,448) FileInfo: Last video errors span 163 bytes at file offset 4325915070 Sequence Frame 56639(13-B) / Time 0:31:29 : AudioError: Corrupted AC3 frame of 1534 payload bytes at file offset 4327824694 Sequence Frame 63068(7-B) / Time 0:35:04 : VideoError: Looking for next slice, found premature end of picture. Last slice=0 VideoError: Slice 227 does not begin where previous slice ended. MBA=27120(0,3616) VideoError: Missing 8160 macroblocks in picture slice(s) at MBA=0(0,0). FileInfo: Last video errors span 72 bytes at file offset 4819096720 Sequence Frame 63069(7-B) / Time 0:35:04 : FileInfo: Last video errors span 10 bytes at file offset 4819096792 VideoWarning: Unexpected MPEG2 start code 000001b2 skipped FileInfo: Last video errors span 12 bytes at file offset 4819096802 VideoWarning: Unexpected MPEG2 start code 00000101 skipped FileInfo: Last video errors span 24 bytes at file offset 4819096814 VideoWarning: Unexpected MPEG2 start code 00000102 skipped FileInfo: Last video errors span 12 bytes at file offset 4819096838 VideoWarning: Unexpected MPEG2 start code 00000104 skipped FileInfo: Last video errors span 12 bytes at file offset 4819096850 VideoWarning: Unexpected MPEG2 start code 00000105 skipped FileInfo: Last video errors span 12 bytes at file offset 4819096862 VideoWarning: Unexpected MPEG2 start code 00000106 skipped FileInfo: Last video errors span 12 bytes at file offset 4819096878 VideoWarning: Unexpected MPEG2 start code 00000107 skipped FileInfo: Last video errors span 27 bytes at file offset 4819096890 VideoWarning: Unexpected MPEG2 start code 00000108 skipped FileInfo: Last video errors span 12 bytes at file offset 4819096917 VideoWarning: Unexpected MPEG2 start code 0000010a skipped FileInfo: Last video errors span 12 bytes at file offset 4819096929 VideoWarning: Unexpected MPEG2 start code 0000010b skipped FileInfo: Last video errors span 24 bytes at file offset 4819096941 VideoWarning: Unexpected MPEG2 start code 0000010c skipped FileInfo: Last video errors span 21 bytes at file offset 4819096965 VideoWarning: Unexpected MPEG2 start code 0000010e skipped FileInfo: Last video errors span 17 bytes at file offset 4819096986 VideoWarning: Unexpected MPEG2 start code 0000010f skipped FileInfo: Last video errors span 15 bytes at file offset 4819097003 VideoWarning: Unexpected MPEG2 start code 00000110 skipped FileInfo: Last video errors span 12 bytes at file offset 4819097018 VideoWarning: Unexpected MPEG2 start code 00000111 skipped FileInfo: Last video errors span 12 bytes at file offset 4819097030 VideoWarning: Unexpected MPEG2 start code 00000112 skipped FileInfo: Last video errors span 12 bytes at file offset 4819097042 VideoWarning: Unexpected MPEG2 start code 00000113 skipped FileInfo: Last video errors span 14 bytes at file offset 4819097054 VideoWarning: Unexpected MPEG2 start code 00000114 skipped FileInfo: Last video errors span 24 bytes at file offset 4819097072 VideoWarning: Unexpected MPEG2 start code 00000115 skipped FileInfo: Last video errors span 12 bytes at file offset 4819097096 VideoWarning: Unexpected MPEG2 start code 00000146 skipped FileInfo: Last video errors span 14 bytes at file offset 4819097108 VideoWarning: Unexpected MPEG2 start code 00000117 skipped FileInfo: Last video errors span 25 bytes at file offset 4819097122 VideoWarning: Unexpected MPEG2 start code 00000118 skipped FileInfo: Last video errors span 16 bytes at file offset 4819097147 VideoWarning: Unexpected MPEG2 start code 00000118 skipped FileInfo: Last video errors span 34 bytes at file offset 4819097163 VideoWarning: Unexpected MPEG2 start code 0000011a skipped FileInfo: Last video errors span 24 bytes at file offset 4819097197 VideoWarning: Unexpected MPEG2 start code 0000011b skipped FileInfo: Last video errors span 27 bytes at file offset 4819097221 VideoWarning: Unexpected MPEG2 start code 0000011c skipped FileInfo: Last video errors span 39 bytes at file offset 4819097252 VideoWarning: Unexpected MPEG2 start code 0000011d skipped FileInfo: Last video errors span 35 bytes at file offset 4819097291 VideoWarning: Unexpected MPEG2 start code 0000011e skipped FileInfo: Last video errors span 36 bytes at file offset 4819097326 VideoWarning: Unexpected MPEG2 start code 0000011f skipped FileInfo: Last video errors span 39 bytes at file offset 4819097362 VideoWarning: Unexpected MPEG2 start code 00000120 skipped FileInfo: Last video errors span 66 bytes at file offset 4819097401 VideoWarning: Unexpected MPEG2 start code 00000121 skipped FileInfo: Last video errors span 32 bytes at file offset 4819097471 VideoWarning: Unexpected MPEG2 start code 00000123 skipped FileInfo: Last video errors span 26 bytes at file offset 4819097503 VideoWarning: Unexpected MPEG2 start code 00000124 skipped FileInfo: Last video errors span 18 bytes at file offset 4819097529 VideoWarning: Unexpected MPEG2 start code 00000125 skipped FileInfo: Last video errors span 28 bytes at file offset 4819097547 VideoWarning: Unexpected MPEG2 start code 00000126 skipped FileInfo: Last video errors span 30 bytes at file offset 4819097575 VideoWarning: Unexpected MPEG2 start code 00000120 skipped FileInfo: Last video errors span 42 bytes at file offset 4819097605 VideoWarning: Unexpected MPEG2 start code 00000128 skipped FileInfo: Last video errors span 24 bytes at file offset 4819097651 VideoWarning: Unexpected MPEG2 start code 00000129 skipped FileInfo: Last video errors span 23 bytes at file offset 4819097675 VideoWarning: Unexpected MPEG2 start code 0000012a skipped FileInfo: Last video errors span 21 bytes at file offset 4819097698 VideoWarning: Unexpected MPEG2 start code 0000012b skipped FileInfo: Last video errors span 31 bytes at file offset 4819097719 VideoWarning: Unexpected MPEG2 start code 0000012c skipped FileInfo: Last video errors span 39 bytes at file offset 4819097750 VideoWarning: Unexpected MPEG2 start code 0000012d skipped FileInfo: Last video errors span 63 bytes at file offset 4819097789 VideoWarning: Unexpected MPEG2 start code 0000012e skipped FileInfo: Last video errors span 71 bytes at file offset 4819097856 VideoWarning: Unexpected MPEG2 start code 0000012f skipped FileInfo: Last video errors span 60 bytes at file offset 4819097927 VideoWarning: Unexpected MPEG2 start code 00000130 skipped FileInfo: Last video errors span 60 bytes at file offset 4819097987 VideoWarning: Unexpected MPEG2 start code 00000131 skipped FileInfo: Last video errors span 51 bytes at file offset 4819098051 VideoWarning: Unexpected MPEG2 start code 00000132 skipped FileInfo: Last video errors span 56 bytes at file offset 4819098102 VideoWarning: Unexpected MPEG2 start code 00000133 skipped FileInfo: Last video errors span 21 bytes at file offset 4819098158 VideoWarning: Unexpected MPEG2 start code 00000134 skipped FileInfo: Last video errors span 12 bytes at file offset 4819098179 VideoWarning: Unexpected MPEG2 start code 00000135 skipped FileInfo: Last video errors span 14 bytes at file offset 4819098195 VideoWarning: Unexpected MPEG2 start code 00000136 skipped FileInfo: Last video errors span 12 bytes at file offset 4819098209 VideoWarning: Unexpected MPEG2 start code 00000137 skipped FileInfo: Last video errors span 25 bytes at file offset 4819098221 VideoWarning: Unexpected MPEG2 start code 00000138 skipped FileInfo: Last video errors span 12 bytes at file offset 4819098246 VideoWarning: Unexpected MPEG2 start code 00000139 skipped FileInfo: Last video errors span 37 bytes at file offset 4819098258 VideoWarning: Unexpected MPEG2 start code 0000013a skipped FileInfo: Last video errors span 14 bytes at file offset 4819098295 VideoWarning: Unexpected MPEG2 start code 0000013c skipped FileInfo: Last video errors span 52 bytes at file offset 4819098309 VideoWarning: Unexpected MPEG2 start code 0000013d skipped FileInfo: Last video errors span 44 bytes at file offset 4819098361 VideoWarning: Unexpected MPEG2 start code 0000013e skipped FileInfo: Last video errors span 60 bytes at file offset 4819098409 VideoWarning: Unexpected MPEG2 start code 0000013f skipped FileInfo: Last video errors span 76 bytes at file offset 4819098469 VideoWarning: Unexpected MPEG2 start code 00000140 skipped FileInfo: Last video errors span 104 bytes at file offset 4819098545 VideoWarning: Unexpected MPEG2 start code 00000141 skipped Sequence Frame 63070(9-B) / Time 0:35:04 : AudioError: Corrupted AC3 frame of 1534 payload bytes at file offset 4819178674 Sequence Frame 63071(10-B) / Time 0:35:04 : AudioError: Corrupted AC3 frame of 1534 payload bytes at file offset 4819251994 Sequence Frame 72123(5-P) / Time 0:40:06 : VideoError: Invalid frame_motion_type for macroblock. MBA=5282(32,704) VideoError: Failed to decode macroblock at MBA=5282(32,704) FileInfo: Last video errors span 1441 bytes at file offset 5511531338 Sequence Frame 96754(0-B) / Time 0:53:48 : VideoError: MPEG2 Intra DCT coefficient index out of bounds. MBA=5650(160,752) VideoError: Failed to decode macroblock at MBA=5650(160,752) VideoError: Missing 2511 macroblocks in picture slice(s) at MBA=5649(144,752). FileInfo: Last video errors span 728 bytes at file offset 7393679248 Sequence Frame 96759(8-P) / Time 0:53:48 : AudioError: Corrupted AC3 frame of 1534 payload bytes at file offset 7393836042 Sequence Frame 96760(6-B) / Time 0:53:48 : AudioError: Corrupted AC3 frame of 1534 payload bytes at file offset 7393878906 Sequence Frame 110647(8-P) / Time 1:01:31 : VideoError: Invalid motion vector code. MBA=7149(1104,944) VideoError: Invalid motion vector code. MBA=7149(1104,944) VideoError: Failed to decode macroblock at MBA=7149(1104,944) FileInfo: Last video errors span 242 bytes at file offset 8455229358 Sequence Frame 138524(8-P) / Time 1:17:02 : VideoError: Too many macroblocks in slice. MBA=1680(0,224) FileInfo: Last video errors span 19 bytes at file offset 10585140103 Sequence Frame 183077(4-B) / Time 1:41:48 : VideoError: Invalid frame_motion_type for macroblock. MBA=3154(544,416) VideoError: Failed to decode macroblock at MBA=3154(544,416) FileInfo: Last video errors span 430 bytes at file offset 13988824331 Sequence Frame 187029(14-P) / Time 1:44:00 : VideoError: Invalid frame_motion_type for macroblock. MBA=5618(1568,736) VideoError: Failed to decode macroblock at MBA=5618(1568,736) FileInfo: Last video errors span 164 bytes at file offset 14290870615 Sequence Frame 233311(0-I) / Time 2:09:44 : VideoError: Invalid Huffman code in intra MPEG2 block. MBA=7801(16,1040) VideoError: No start code at end of slice. MBA=7801(16,1040) VideoError: Failed to decode macroblock at MBA=7801(16,1040) VideoError: Missing 360 macroblocks in picture slice(s) at MBA=7800(0,1040). FileInfo: Last video errors span 35 bytes at file offset 17827451909 Sequence Frame 233312(0-I) / Time 2:09:44 : Info: End of MPEG2 sequence Sequence Summary: File Size Processed: 16.60 GB, Play Time: 02h:09m:44s 1920 x 1080, 29.97 fps, 17.00 Mbps (16.98 Mbps Average). Average Video Quality: 69.14 KB/Frame, 0.27 Bits/Pixel. AC3 Audio: 3/2 Channels (L, C, R, SL, SR) + LFE, 48.0 kHz, 384 kbps. Dialog Normalization: -24.0 dB, Center Mix Level: -3.0 dB, Surround Mix Level: -3.0 dB 12 of 233312 video frames found with errors. 5 of 243260 audio frames found with errors. 7320 corrupted video bytes in file. 0.000000 seconds of video timestamp gaps. 0.000000 seconds of audio timestamp gaps. End of Log

The overall bitrate of the file is 18Mbps so I assume that’s why I’m having issues since Infuse won’t exceed ~15Mbps.

Now, I use Plex as well and the bitrates it handles is much larger (confirmed by my network monitoring)

Any idea why the app doesn’t use more bandwidth?

Are you using an ATV4 or ATV4K?

There is limited support for interlaced 1080 content on Apple TV 4, but these will play much better on the Apple TV 4K.

ATV4.

But Plex can stream at a higher bitrate without transcoding the video

The issue here is the interlaced nature of the video. This unfortunately isn’t supported by the hardware decoder, and will need to be played in software - which is slower.

I believe transcoding would be required in Plex for this video.