Comments (1)
其实这个现象是正常的,因为初始是横屏分辨率,编码器和 MediaProjection 初始化的时候就是以横屏分辨率来编码的,如果想要横屏转竖屏,需要中途将 meta-data 重新通知编码器,并且解码器也需要再次解析,会导致很多问题,实现也并非不可,但是付出的代价还不如改一下策略,如果是直播的话就中途断一下。如果是录制到本地,那就中断再次初始化,市面上很难看到一会儿横屏一会儿竖屏的这种视频流吧?
from screenrecorder.
Related Issues (20)
- 可以修改推流的分辨率吗
- 大佬 dequeueOutputBuffer 这个api经常返回-1 解码慢,有没有好的办法解决 HOT 1
- 64 位 so 调 close 方法 crash
- 发现存在音视频不同步的问题,请问这个该怎么优化解决? HOT 3
- 搭建的 Nginx + rtmp 流媒体服务器 HOT 1
- 把他们拷贝至新建项目中,一直报错找不到RtmpClient的open方法,是不是需要修改so文件的什么地方呀??
- 拉流的时候,声音有间断性,大家都是怎么处理的
- 请求如何拿到录制过程裸数据 HOT 1
- 录屏推流过程中切换横竖屏怎么改变录制视频长宽? HOT 1
- 大佬 我启动之后开启录屏 提示 E/AndroidRuntime: FATAL EXCEPTION: AudioSenderThread 能告诉我怎么解决吗谢谢 HOT 3
- 报错没有找到C++的那个代码怎么办 HOT 2
- 这里什么问题啊库找不到了?大佬 HOT 1
- senderQueue is full,abandon 这怎么办啊
- 录屏推流一段时间后就没有声音了,哪里出问题呢? HOT 1
- 找不到so库screenrecorderrtmp HOT 4
- 镜头推流直接崩溃! HOT 4
- 请问点击屏幕推流按钮后,能不能保持显示当前页面? HOT 3
- 请教大佬录屏的数据能通过UDP发送,客户端使用ijk播放吗 HOT 1
- 用b站播放器拉流一开始延时
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from screenrecorder.