Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playing 4K videos with VLC failed ! #98

Open
ChayMahajj opened this issue Dec 12, 2023 · 6 comments
Open

Playing 4K videos with VLC failed ! #98

ChayMahajj opened this issue Dec 12, 2023 · 6 comments

Comments

@ChayMahajj
Copy link

Hello everyone,

I am trying to play 4K videos with VLC but vlc fails.
Command line :
cvlc vide_name.mp4
Result - Output :

[a57106e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[a57106e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[a57106e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[a57106e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[a57106e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[a57106e0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

I am using Compute Module 4 and Bullseye

Best regards,
Chayma.

@jc-kynesim
Copy link

What video type? HEVC/H265, H264, AV1? The only one that is expected to work is H265 (being the only one with h/w accel).

@ChayMahajj
Copy link
Author

The video Type is H264
I got this Info from VLC in my desktop
mediainfo

@jc-kynesim
Copy link

Then I'm not surprised it doesn't work. Pi 4 doesn't have the CPU power to do that and its h/w H264 decode is only good to HD (its basically the same block that was in a Pi 1). This falls into the realm of "can't fix".

@ChayMahajj
Copy link
Author

So teh video should be scaled to lower resolution or we can encode it to H265 so vlc can play it ?
What do you think ?

Thank you for your help!

@jc-kynesim
Copy link

H265 4k should generally work as long as you are using DRM output (windowed output will fail), HD H264 will also work.

@ChayMahajj
Copy link
Author

Thank you for this valuable Information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants