Opened 15 years ago
Closed 15 years ago
#5831 closed bug (fixed)
mp4 video losing colors
Reported by: | khallebal | Owned by: | dlmcpaul |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Audio & Video | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description (last modified by )
when playing an mp4 movie the colors fade to grey and come back again to normal every few seconds til the movie is finnished; but that occurs only when playing with the mediaplayer not with vlc,and the cpu goes 100%. i'm using the R1A2 rc rev:36447.
Interesting, I see 2 things:
- Quite a lot of errors from the H264 decoder in the stream.
- The preferred output is RGB24_BIG but we reset to RGB32.
So some questions.
- Are you able to upload the video or a sample?
- Is your screen set to 24bit?
From your description I suspect that the RGB32 is being read as RGB24. Are you able to test this by changing the screen to a true 32 bit?
Attachments (6)
Change History (17)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 15 years ago
Attachment: | Capture d'écran 1.png added |
---|
by , 15 years ago
by , 15 years ago
Attachment: | mediaplayer output added |
---|
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Status: | assigned → in-progress |
follow-up: 4 comment:3 by , 15 years ago
follow-up: 5 comment:4 by , 15 years ago
Replying to khallebal:
my screen is set to 32bit how do i upload the video or a sample? the file is too big 13MB
Try using a site like this http://www.filedropper.com/ and send me the link
dlmcpaul AT gmail.com
comment:5 by , 15 years ago
Replying to dlmcpaul:
Replying to khallebal:
my screen is set to 32bit how do i upload the video or a sample? the file is too big 13MB
Try using a site like this http://www.filedropper.com/ and send me the link
dlmcpaul AT gmail.com
update: you might want take a look at ticket #5758 these 2 problems may related even though it's about a different graphics card?
comment:6 by , 15 years ago
My testing of the file shows the issue occurs when frames are dropped. Looking at your logs it is clear that decoding is not happening fast enough for the video to play.
Out of curiousity what CPU are you using? My Atom CPU is not fast enough but it seems to be faster than yours. Could you attach a sysinfo?
I am working on some changes to the mp4 reader that might help with dropped frames, it should resync on a sync frame
Performance can be increased by using a gfx card with supported overlay but at the moment turning on some of the ffmpeg optimisations is not possible although we might retry with the 0.51 release.
I will keep the file as a test case and see if I can improve it on my Atom CPU
by , 15 years ago
follow-up: 8 comment:7 by , 15 years ago
Cool thanks. Another question sorry.
How much cpu does VLC use decoding that video?
Just want to understand how far behind we are :-|
comment:8 by , 15 years ago
Replying to dlmcpaul:
Cool thanks. Another question sorry.
How much cpu does VLC use decoding that video?
Just want to understand how far behind we are :-|
i lost the file i but tried with another one,so with vlc it goes up between 60- 80% of cpu usage,but if i double the window size it goes up to 100%,and if i try to replay it it takes several seconds to start the video and drops alot of frames and complains about a slow pc.
follow-up: 10 comment:9 by , 15 years ago
Can you test with this new mp4_reader?
You may want to save your old mp4_reader plugin.
by , 15 years ago
Attachment: | mediaplayer output.2 added |
---|
comment:10 by , 15 years ago
Replying to dlmcpaul:
Can you test with this new mp4_reader?
You may want to save your old mp4_reader plugin.
i tried the mp4-reader,the CPU goes up to 100% and the video is severly stuttering. but the "grey effect" is gone. i've sent you the output.
comment:11 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Ok I have implemented the changes I made to the mp4_reader I sent you.
Seeking of video should be better and the issue with the gray output should be fixed (off by 1 frame when seeking)
There were some performance changes done as well but I don't expect them to help with your playback. The h264 decoder still needs more of the ffmpeg performance patches.
my screen is set to 32bit how do i upload the video or a sample? the file is too big 13MB