Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308375 - AVI video in games-arcade/stepmania-3.9-r2 does not work under ffmpeg-5.0-r1
Summary: AVI video in games-arcade/stepmania-3.9-r2 does not work under ffmpeg-5.0-r1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2010-03-07 20:48 UTC by Wai Ling
Modified: 2011-12-22 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix_video_pixfmt.patch (blank_video.patch,336 bytes, patch)
2010-03-07 20:49 UTC, Wai Ling
Details | Diff
fix_video_pixfmt.patch (fix_pixel_format.patch,409 bytes, patch)
2010-03-09 19:54 UTC, Wai Ling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wai Ling 2010-03-07 20:48:15 UTC
stepmania-3.9-r2 can be compiled against ffmpeg-0.5 just fine.  However, song that include avi video as background will be shown as a black background instead.  After a long investigation, I discovered the problem lies in the pixel format define.  Please find attached for the patch that fix this problem.

Reproducible: Always

Steps to Reproduce:
1.emerge =ffmpeg-0.5-r1
2.emerge =stepmania-3.9-r2
3.play song with avi video background

Actual Results:  
video background becomes black
Comment 1 Wai Ling 2010-03-07 20:49:00 UTC
Created attachment 222573 [details, diff]
fix_video_pixfmt.patch
Comment 2 Reimar Döffinger 2010-03-09 17:30:42 UTC
The colour bit masks are wrong after your patch, they were right for 555.
Also I suspect that 565 should be added instead of replacing 555, though I haven't looked at the surrounding code.
Either way I think it would be better to report this to upstream (note that I am not a Gentoo developer though).
Comment 3 Wai Ling 2010-03-09 19:26:30 UTC
Thanks for the advice.  I have modified the patch to include pixel format 565 instead of replacing 555.  Stepmania 3.9 does not have any maintainer upstream.  I have chatted with the developer on IRC, they think making stepmania-3.9 works is not worth their time, so this is the only sensible place I can put my patches.
Comment 4 Wai Ling 2010-03-09 19:54:08 UTC
Created attachment 222891 [details, diff]
fix_video_pixfmt.patch

Added RGB565 and fixed bit mask.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2011-12-22 16:18:06 UTC
This package is no longer in the tree.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2011-12-22 16:21:54 UTC
closing.