Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
862 views
in Technique[技术] by (71.8m points)

.net - Stretch video of AxWindowsMediaPlayer without maintaining aspect ration in C#

Using the AxWindowsMediaPlayer I need to stretch a video to take up the entire screen. The issue with stretchToFit = true, is that stretchToFit maintains the aspect ratio of the video, creating blackbars if the video or monitor is not of the same ratio. I do not want these black bars. I do not want to maintain the aspect ratio when I stretch the video.

I have been looking for an answer to this problem for a long time and have read countless questions posed by others. As far as I can tell, no one has any solution.

*I am posting this question despite there being an exact question already posted since the other question was posted a year ago with no answers.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

WMP doesn't allow stretching of the video without maintaining the aspect ratio.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...