# Buffering during home video playback

**URL:** https://forums.plex.tv/t/buffering-during-home-video-playback/163149
**Category:** Apps & Creations
**Created:** [October 14, 2016, 2:59pm UTC](https://forums.plex.tv/t/buffering-during-home-video-playback/163149 "2016-10-14T14:59:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jazingenberg](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jazingenberg](https://forums.plex.tv/u/jazingenberg)
#### Post date: [October 14, 2016, 2:59pm UTC](https://forums.plex.tv/t/buffering-during-home-video-playback/163149/1 "2016-10-14T14:59:19Z")

</div>

I just tried to connect my RPi3 to my new samsung tv but I’m having some trouble with home video playback. No matter what type of file I use the image freezes during playback and then caches up a few seconds later. It’s not at specific intervals as it would be if it was a framerate issue and I can have long periodes of playback without freezing or buffering. It only happens with my home video files, Not with movies. Some home videos are running 25fps and some 30fps, while movies are running 23.976fps, but I have a few movies running PAL or 25fps and they seem to be running fine. Some files are called.MTS some are mp4, but common for all is that they are appended to each other in a .mkv container.  
I’ve set my rasplex settings to always change refresh rate to video playback, but turning it off doesn’t change anything. It’s still buffering.  
When I connect the same RPi3 to my older samsung tv (LE32C650) I get flawless playback when running all files. It only happen when using my new samsung tv (UE40H6505). Also when I run the home video files using the samsung tv plex app on my new tv I also get flawless playback, so the tv is capable of playing the files, which means it’s got something to do with the combination of rasplex and the new tv.  
I’ve also checked if it for some reason was triggering transcoding and that’s why it was buffering, but my QNAP ts-251+ NAS isn’t transcoding during playback and ram and cpu usage is steady.  
Here are a few info files showing what files is causing the buffering. If you need more info please tell me and i’ll deliver.  
Hope someone can help! It’s really frustrating my new tv is performing worse than my old.

General  
Unique ID : 212763481160243812251473250282178959595 (0xA010C18589650A3B89D1653424AD58EB)  
Complete name : E:\Rejser\Costa Rica 2014.mkv  
Format : Matroska  
Format version : Version 4 / Version 2  
File size : 20.8 GiB  
Duration : 3 h 9 min  
Overall bit rate mode : Variable  
Overall bit rate : 15.7 Mb/s  
Encoded date : UTC 2016-09-16 19:01:25  
Writing application : mkvmerge v9.4.2 (‘So High’) 64bit  
Writing library : libebml v1.3.4 + libmatroska v1.4.5

Video  
ID : 1  
Format : AVC  
Format/Info : Advanced Video Codec  
Format profile : High@L4  
Format settings, CABAC : Yes  
Format settings, ReFrames : 4 frames  
Format settings, GOP : M=3, N=12  
Codec ID : V\_MPEG4/ISO/AVC  
Duration : 3 h 9 min  
Bit rate mode : Variable  
Bit rate : 15.3 Mb/s  
Maximum bit rate : 16.8 Mb/s  
Width : 1 920 pixels  
Height : 1 080 pixels  
Display aspect ratio : 16:9  
Frame rate mode : Variable  
Frame rate : 50.000 FPS  
Original frame rate : 25.000 FPS  
Color space : YUV  
Chroma subsampling : 4:2:0  
Bit depth : 8 bits  
Scan type : Interlaced  
Scan type, store method : Separated fields  
Scan order : Top Field First  
Bits/(Pixel\*Frame) : 0.148  
Stream size : 20.3 GiB (98%)  
Default : Yes  
Forced : No

Audio  
ID : 2  
Format : AC-3  
Format/Info : Audio Coding 3  
Mode extension : CM (complete main)  
Format settings, Endianness : Big  
Codec ID : A\_AC3  
Duration : 3 h 9 min  
Bit rate mode : Constant  
Bit rate : 384 kb/s  
Channel(s) : 6 channels  
Channel positions : Front: L C R, Side: L R, LFE  
Sampling rate : 48.0 kHz  
Frame rate : 31.250 FPS (1536 spf)  
Compression mode : Lossy  
Stream size : 521 MiB (2%)  
Default : Yes  
Forced : No

General  
Unique ID : 163849585980393195494086188896898488096 (0x7B44484B771D9E779FAE8258770F9720)  
Complete name : E:\Rejser\Borneo 2006.mkv  
Format : Matroska  
Format version : Version 2  
File size : 16.9 GiB  
Duration : 2 h 28 min  
Overall bit rate : 16.3 Mb/s  
Encoded date : UTC 2016-09-26T04:23:32Z  
Writing application : HandBrake 0.10.5 2016021100  
Writing library : Lavf55.12.0 / Lavf55.12.0

Video  
ID : 1  
Format : AVC  
Format/Info : Advanced Video Codec  
Format profile : High@L4.1  
Format settings, CABAC : Yes  
Format settings, ReFrames : 5 frames  
Codec ID : V\_MPEG4/ISO/AVC  
Duration : 2 h 28 min  
Width : 640 pixels  
Height : 480 pixels  
Display aspect ratio : 4:3  
Frame rate mode : Constant  
Frame rate : 30.000 FPS  
Color space : YUV  
Chroma subsampling : 4:2:0  
Bit depth : 8 bits  
Scan type : Progressive  
Writing library : x264 core 142 r2479 dd79a61  
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy\_rd=1.00:0.00 / mixed\_ref=1 / me\_range=16 / chroma\_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast\_pskip=1 / chroma\_qp\_offset=-2 / threads=6 / 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=300 / keyint\_min=30 / scenecut=40 / intra\_refresh=0 / rc\_lookahead=50 / rc=crf / mbtree=1 / crf=10.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv\_maxrate=62500 / vbv\_bufsize=78125 / crf\_max=0.0 / nal\_hrd=none / filler=0 / ip\_ratio=1.40 / aq=1:1.00  
Default : Yes  
Forced : No  
Color range : Limited  
Color primaries : BT.601 NTSC  
Transfer characteristics : BT.709  
Matrix coefficients : BT.601

Audio  
ID : 2  
Format : AAC  
Format/Info : Advanced Audio Codec  
Format profile : LC  
Codec ID : A\_AAC  
Duration : 2 h 28 min  
Channel(s) : 2 channels  
Channel positions : Front: L R  
Sampling rate : 44.1 kHz  
Frame rate : 43.066 FPS (1024 spf)  
Compression mode : Lossy  
Delay relative to video : -23 ms  
Title : Stereo  
Default : Yes  
Forced : No

General  
Unique ID : 215773078820441379937290331564057844800 (0xA25462247D696C3FAC2D33F82BA45C40)  
Complete name : E:\Rejser\Canada 2015.mkv  
Format : Matroska  
Format version : Version 4 / Version 2  
File size : 7.22 GiB  
Duration : 43 min  
Overall bit rate : 23.8 Mb/s  
Encoded date : UTC 2016-09-12 19:03:53  
Writing application : mkvmerge v9.4.2 (‘So High’) 64bit  
Writing library : libebml v1.3.4 + libmatroska v1.4.5

Video  
ID : 1  
Format : AVC  
Format/Info : Advanced Video Codec  
Format profile : High@L4.1  
Format settings, CABAC : Yes  
Format settings, ReFrames : 2 frames  
Format settings, GOP : M=3, N=15  
Codec ID : V\_MPEG4/ISO/AVC  
Duration : 43 min  
Bit rate : 23.7 Mb/s  
Width : 1 920 pixels  
Height : 1 080 pixels  
Display aspect ratio : 16:9  
Frame rate mode : Constant  
Frame rate : 29.970 (30000/1001) FPS  
Color space : YUV  
Chroma subsampling : 4:2:0  
Bit depth : 8 bits  
Scan type : Progressive  
Bits/(Pixel\*Frame) : 0.381  
Stream size : 7.18 GiB (99%)  
Language : English  
Default : Yes  
Forced : No  
Color range : Limited  
Color primaries : BT.709  
Transfer characteristics : BT.709  
Matrix coefficients : BT.709

Audio  
ID : 2  
Format : AAC  
Format/Info : Advanced Audio Codec  
Format profile : LC  
Codec ID : A\_AAC  
Duration : 43 min  
Bit rate : 127 kb/s  
Channel(s) : 2 channels  
Channel positions : Front: L R  
Sampling rate : 48.0 kHz  
Frame rate : 46.875 FPS (1024 spf)  
Compression mode : Lossy  
Stream size : 39.5 MiB (1%)  
Language : English  
Default : Yes  
Forced : No

---

<div class="post-metadata">

### Author: ![Valdhor](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Valdhor](https://forums.plex.tv/u/Valdhor)
#### Post date: [October 14, 2016, 7:04pm UTC](https://forums.plex.tv/t/buffering-during-home-video-playback/163149/2 "2016-10-14T19:04:42Z")

</div>

I am hazarding a guess here so take it with a grain of salt.

My guess is that it has something to do with resolution switching. The old TV probably couldn’t do it while the new TV can. My system is here in the US so i generally run NTSC video. I do get my Rugby from New Zealand so those video’s are PAL. Rather than have my TV switch, I leave it at max resolution for the TV (1080p/60) and play the video’s. I’ve never had a problem. Try that and see what happens.

---

<div class="post-metadata">

### Author: ![jazingenberg](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jazingenberg](https://forums.plex.tv/u/jazingenberg)
#### Post date: [October 15, 2016, 2:52pm UTC](https://forums.plex.tv/t/buffering-during-home-video-playback/163149/3 "2016-10-15T14:52:35Z")

</div>

> @Valdhor said:  
> I am hazarding a guess here so take it with a grain of salt.
> 
> My guess is that it has something to do with resolution switching. The old TV probably couldn’t do it while the new TV can. My system is here in the US so i generally run NTSC video. I do get my Rugby from New Zealand so those video’s are PAL. Rather than have my TV switch, I leave it at max resolution for the TV (1080p/60) and play the video’s. I’ve never had a problem. Try that and see what happens.

Thanks for replying.  
I seem to have solved the problem. It had something to do with the refresh rate. I tried to swich my refresh rate from 60hz to 50hz, keeping it at 1080p and keeping the “adjust display refresh rate” on. This made everything run smoothly. I then tried to switch it back to 60hz to see if it would make it freeze again, but it didn’t. So for some reason I had to swich the refresh rate to trick the tv to update the hz correctly. Weird, but now it works.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [January 8, 2020, 7:25pm UTC](https://forums.plex.tv/t/buffering-during-home-video-playback/163149/4 "2020-01-08T19:25:54Z")

</div>


