4:2:2 video on AMD

Hi! I’ve got a Framework 13 AMD:

Ryzen 5 7640U (760M Graphics);

Crucial 2x16 GB Ram 5600MHz;

WD_BLACK SN850 1TB.

I understand that AMD cannot have anything to do with this type of video subsampling. Unfortunately, I only learned this after purchasing. :face_with_open_eyes_and_hand_over_mouth: Not that this is particularly easy to find information. Where is this discussed on the web? I’ve seen videos, read articles…even AMD support has been of dubious use. They only talk about the good performance of the integrated graphics.

But I was wondering: am I the only one who has run into a similar problem? What trick do you camera owners (mine is a Sony 7IV) use to view similar videos?

I can’t play them at all with VLC, even disabling hardware acceleration, or changing the output to OpenGL, OpenGL for Windows, Direct3D11, Direct3D9…
Furthermore, CPU usage spikes between 70% and 100% when trying to accomplish such tasks.

An unfortunate discovery. I hope I can get by with a workaround.

(While we’re here, I’ll ask you: can iPhones play these videos? Unfortunately, I can’t on Android with Snapdragon 8 Gen 2).

I think you’ve got some other kind of issue going on. I think I’ve read that AMDs GPUs up to this point didn’t have hardware encode and decode for H265, 10 bit, 422 video, so it’s probably not quite as efficient playing them, and more importantly, editing and encoding them. But I can play H265, 10 bit, 4:2:2 video from Sony cameras with zero issues in VLC. FW 13, Ryzen 7840U. I’ve even edited them on a FW 16. The fan really cranked, but it edits 4K, 10 bit, 4:2:2 video from Sony cameras just fine.

Also, welcome to the community!

1 Like

The performance difference between your chip and mine is not that huge. Maybe you are right, and the cause of the problem lies elsewhere.

I guess I’ll wait for some more testimonies on the matter. Maybe someone else encountered my same issue.

Thanks for the welcome!

1 Like

I wish I could do more to help. Hopefully it something simple, because that’s a frustrating issue. On Linux, I did have trouble playing them with the included video player (the one included with Fedora/Gnome). That’s why I got VLC and it plays them no problem.

1 Like

This is due to legal issues. Open-source video players supporting many formats are effectively illegal in the United States due to laws on software patents, so many Linux distributions do not ship them. VLC is based in the EU, where this does not apply.

This would not affect Windows.

1 Like

Wow, I didn’t know that.

If I understand you right, you’re saying that using VLC on Windows shouldn’t give this kind of issue? I’m not entirely sure I’m getting you.

Anyway, I’m actually on Windows right now. And I live in Europe.

1 Like

I have used Davinci Resolve on a FW 16 (AMD with Windows) to play and edit the videos with no problems. However, I just tried to play back one of the videos using VLC on Windows, and sure enough, it glitched out and wouldn’t play. It even seemed to glitch out VLC, making me have to use the task manager to force it to close. Really strange. The files play just fine on my FW 13 W/AMD processor using VLC in Linux. I’m thinking it’s a Windows/VLC issue, more so than an AMD issue.

It is true that Windows and Linux won’t normally include a player for H265 files. I normally just play them in my editor (Davinci Resolve). On my FW 13 I installed VLC so I could preview files and sort them. The files play fine there.

1 Like

@mwei I saw you in this thread (I’m sorry I’m summoning you): AMD or 13th Intel for video editing.

I guess you have the knowledge that is required here. Do you have any insight into what BigT experienced both in Windows and in Linux?

Where did you find the information you reported in that other conversation?
It is extremely difficult to find it. People just recommend AMD CPUs for integrated graphics (for video editing, for light gaming), but this (not unimportant) information is never mentioned.

As I mentioned in that thread. It seems like the thread starter uses Sony A7IV, and depending on the settings it could be falling into the XAVC HS 10bit 4:2:2 issue.

If so, what you can do without changing the codec or computer hardware is to use a proxy clip generated either from the camera or from the editing software.

I did not remember well whether VLC or any other media player can play the clip even with the hardware support and H.265 codec support/license paid from Microsoft Store. Also if you are using DaVinci Resolve you have to use the paid Studio version since free version does not work with the video.

Apple’s SoCs are more like video focused and it does support that codec playback well even on the iPhones. (Tested on iPhone 15 Pro Max)

Recently NVIDIA’s 50 series GPU is also supporting that codec and I hope AMD is catching up.

1 Like

Thank you!

It remains a mistery, though, why Linux doesn’t seem to show any of these problems.

I was wondering: have you read these pieces of information in some official documentation by AMD, or does it boil down to testing the chip when it comes?

For what concerns mobile SoCs, I also tested on my brother’s IPhone 12 Mini. It worked. I wasn’t lucky though, with my Snaldragon 8 Gen 2.

Again, finding information on this kind of support for these chips is not easy.

Btw I tried playing XAVC HS 10bit 4:2:2 4k60p video on my laptop with 7840U, with VLC 3.0.21 on Debian Linux, it seems to be smooth for me despite raised CPU usage. I haven’t tried running DaVinci Resolve on the laptop though.

1 Like

Quoting from Sony’s website:

To play back movies on a Windows computer, the Video Codec extension provided by Microsoft must be installed on a computer with Windows10 or later.

You’ll need to install this plugin HEVC Video Extensions - Download and install on Windows | Microsoft Store (because MPEG-LA license fees it is a paid plugin)

There’s also some ways you can get around it, but I won’t mention the details for possible legal issues.

1 Like

That just makes it even weirder.

I’ll link a video of what I can see (I know you all can’t do much, but it might be fun): Registrazione 2025-02-14 124413.mp4 - Google Drive.

As you can see, I already bought the video extension for Windows.

What’s worse, is that the page you link does not mention issues with XAVC-S (on Windows or Android). But, as a matter of fact, I cannot reproduce XAVC-S files on my PC or on my smartphone if they have 4:2:2 subsampling: Registrazione 2025-02-14 125259.mp4 - Google Drive.

Windows video players are either paying the patent royalties or are based in the EU like VLC. I’m not aware of any notable cases where a Windows video player is unable to support patent-encumbered codecs.

1 Like

I am guessing that there could be a lacking of proper video driver for general playback, or the bandwidth to access to your video files.

  • Could you confirm that there is a video driver provided by Framework installed properly?
  • Your video seems to be from OneCloud, is it synced back to your PC? The video is like 200mbps and is very large even though it is a small clip.
1 Like

Also the information I got is from here: https://www.pugetsystems.com/labs/articles/what-h-264-and-h-265-hardware-decoding-is-supported-in-davinci-resolve-studio-2122/

Could you screenshot the Tree view of MediaInfo on the video files in question?

1 Like

Thank you for the link. It is gold.
The videos in question sit on my desktop, which isn’t uploaded to OneDrive.

This is the MediaInfo tree:

I guess there might be an issue here:

Should it say something different in the driver properties?