Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi ,ijkplayer怎么将高分辨率的视频缩放。 #86

Closed
yyl7886908 opened this issue Oct 13, 2014 · 8 comments
Closed

Hi ,ijkplayer怎么将高分辨率的视频缩放。 #86

yyl7886908 opened this issue Oct 13, 2014 · 8 comments
Labels

Comments

@yyl7886908
Copy link

Hi, 你好

ijkplayer怎么将高分辨率的视频缩放,例如视频的分辨率是1280x720 ,我想在500x600的空间来显示,不想让视频全屏,这个功能怎么做到。

我修改过videoview里面的一些高度和宽度,但是视频在播放的时候又恢复了

谢谢

@alonhar
Copy link

alonhar commented Oct 13, 2014

I use the widget and in the videoView their is setLayout function.. you can change the details in this function

@bbcallen
Copy link
Contributor

As alonhar said

@bbcallen bbcallen added the FAQ label Oct 14, 2014
@yyl7886908
Copy link
Author

Hi alonhar ,能给个videoview修改后可以控制视频大小的videoview.java码?我尝试修改了videoview 里面的很多宽和高,连jni里面都尝试修改过,视频一直都是全屏。非常感谢!

@yyl7886908
Copy link
Author

已经解决,谢谢了。

@Catherinelhl
Copy link

How to do it?now i have the same problem that needs to be solved!

@limeng10086
Copy link

@yyl7886908 请问您是怎么解决分辨率问题的,我的都是显示不全的问题

@cubegao
Copy link

cubegao commented Aug 9, 2017

我有点疑问,视频缩放你不按照比例来,不会变形吗

@Lscyzq
Copy link

Lscyzq commented Feb 9, 2024

I made it! I made a videoplayer named aliang-media. You can see the project on my profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants