popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.02k stars 333 forks source link

Get a flashing green screen with profile 77 [Video: h264 (Main)], when output to a 1k device or higher #447

Closed tzraeq closed 7 years ago

tzraeq commented 8 years ago

When raspberry pi palying a mp4 output to a 1k device or higher resolution using hdmi, I got a flashing green screen. I checked the video's information, the profile is 77, "Video : h264 (Main)". Would you please help me to fix this problem?

jehutting commented 8 years ago

Have you set the 'gpu_mem' or 'gpu_mem_256' to 128 in the /boot/config.txt?

popcornmix commented 8 years ago

Could you start by posting mediainfo of file?

tzraeq commented 8 years ago

It seems that default value of gpu_mem is 128. And there is another circumstance.I am using omxd,this omxd can hold a playlist. It fork 2 omxplayer proc, and pause the second proc, then play the second one at the first's ending, an so on.When the system boot up, I run a playlist using omxd, the first video on the list is very ok, but from the second one, any video with profile 77 played by omxplayer gives me a flashing green screen, and video with profile 100 is also ok. I gauss there is some problom with the codec selection code,or pi's hardcodec problem. Would you please check the code again?

tzraeq commented 8 years ago

The video plays very well,also with audio, but only the output device get a flashing green screen. It happens when the output resolution is 1k or higher. It is ok on the 720p device.

popcornmix commented 8 years ago

Could you start by posting mediainfo of file?

tzraeq commented 8 years ago

@popcornmix I'm sorry, yesterday I did'n understand what the mediainfo is! The mediainfo is here, 2.mp4.txt

Thank you very much!

popcornmix commented 8 years ago

The mediainfo details look okay. If the file is run directly using omxplayer to a HDMI display that is, say, 1920x1080 then you see a flashing green screen, correct?

Can I get hold of the file? Looks to only be 10 seconds long and quite small. A site like google drive or dropbox can be used.

tzraeq commented 8 years ago

@popcornmix Hi, here is the google driver link. https://drive.google.com/folderview?id=0B9cEHrCtBPRybTRlTWlNQ0lNd3M&usp=sharing.

Thank you very much!

jehutting commented 8 years ago

A 1k device is just a FULL HD tv with a 1920x1080 resolution. @tzraeq I played your files and I don't see a green flash. Probably similar to #425. It could be an issue of omxd. Have you asked @subogero (here), the creator of omxd?

jehutting commented 8 years ago

@tzraeq @subogero Any update/progress/comment on 'it could be an omxd issue'?

jehutting commented 7 years ago

@tzraeq I guess with the latest omxplayer version your issue is solved?

Ruffio commented 7 years ago

@jehutting I guess this can be closed...

jehutting commented 7 years ago

@Ruffio I agree. So @popcornmix can you close this one?

Ruffio commented 7 years ago

@popcornmix this should be closed due to possible resolve of issue/lack of response