I have a 4K-capable TV and an external hard drive containing movies ranging from Full HD to 4K. Most of the files use the H.265/HEVC codec, which my TV does not recognize, although it plays H.264 files without a problem. I can connect my laptop to the TV over HDMI and play the files from the laptop, but the laptop's built-in display is only Full HD. Would that limit the resolution sent to the TV, or can the TV still receive and display the original 4K video? What would be the best way to watch these files in their highest available quality without replacing or re-encoding them?
4 Answers
The laptop’s own screen resolution does not determine the resolution available on the TV. Connect it by HDMI and configure the TV as an extended or external display rather than mirroring the laptop screen. Then set the external display to 4K if the laptop, HDMI port, cable, and graphics hardware support it. You can play the files with software such as VLC, and the laptop will handle the H.265 decoding.
Connecting the laptop directly with HDMI is perfectly valid and does not automatically reduce a 4K movie to Full HD. The laptop display can be Full HD while the TV receives a separate 4K signal, provided the laptop’s graphics hardware and HDMI output support the required resolution and refresh rate. Use an appropriate HDMI cable, select the TV’s native resolution in the operating system, and avoid display mirroring if it forces both screens to share one resolution.
A small media-player box is probably the simplest solution. Look for one with USB storage support and hardware H.265/HEVC decoding, 4K output, and the audio formats you need. Connect the box to the TV by HDMI and plug the hard drive into the box. This avoids relying on the TV’s built-in codec support and is usually easier than re-encoding the entire library.
A Blu-ray player or similar device with a USB video player can also work, but check its supported file containers, codecs, subtitles, and maximum drive size before buying.
You can use a media-server setup such as Plex, Emby, or Jellyfin. Install the server on the laptop or another computer, add the hard-drive folders as media libraries, and use the matching app on the TV or on a streaming box. If the TV cannot play H.265 directly, the server can transcode the video into a compatible format, though that may reduce quality or require enough processing power. Direct playback is preferable when the client supports H.265.
Would the server still use my own files locally, or do I need to upload them somewhere? I’d prefer everything to remain on my hard drive.

So I should use the TV as a separate display instead of cloning the laptop screen, then check whether the laptop can output 4K over HDMI?