Opened 18 years ago
Last modified 14 years ago
#778 new defect
resize automatically if video exceeds maximum overlay size
Reported by: | compn | Owned by: | reimar |
---|---|---|---|
Priority: | normal | Component: | core |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | stranche@…, bugzilla.mplayerhq.hu@…, luis6674@…, gilesbathgate@… | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
how about an option to automatically scale if video is greater than maximum
overlay?
similar to -lavdopts lowres=1,1024 ...
[xv] Source image dimensions are too high: 1280x720 (maximum is 1024x1088)
Change History (6)
comment:1 by , 18 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
comment:4 by , 14 years ago
Cc: | added |
---|
comment:5 by , 14 years ago
Cc: | added |
---|
comment:6 by , 14 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
This would solve my problem I have when using directx. When I try to view a video of 950x540 I get the error message: <vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
After supplying -v an error code is also spit out which I have googled and found to be DDERR_TOOBIGSIZE "Size requested by DirectDraw is too large, but the individual height and width are OK."
(it might be handy to include something like the following code in the dx driver to give a better clue as to the problem http://www.koders.com/cpp/fidEA98EA108909A12B31CB54222EBDDEF48D3532C3.aspx)
I can work around the problem by supplying -vf scale=700
Using this option is obviously faster for me than using -vo directx:noaccel
I would welcome code to automatically detect the direct draw overlay size and scale the video as needed.