Comments (9)
调试堆栈停在sdl_audio_callback,不知道时sdl库的问题,还是什么的问题
请问你是怎么配置成功的啊,我配置好久都跑不起来
from playerdemo.
那得先说说你是怎么配置的。。其实具体SDL 和 ffmpeg的配置过程,网上有好多教程
from playerdemo.
楼主解决了吗,我也是这个问题一模一样,而且视频播放完也会闪退
from playerdemo.
楼主解决了吗,我也是这个问题一模一样,而且视频播放完也会闪退
解决了,记得是关闭音频设备时函数调用错了,对照原版的ffplay看一下就能找到
from playerdemo.
楼主解决了吗,我也是这个问题一模一样,而且视频播放完也会闪退
解决了,记得是关闭音频设备时函数调用错了,对照原版的ffplay看一下就能找到
可以请问一下楼主具体是如何解决的吗,是哪里的函数有问题?
from playerdemo.
找到问题了本人解决方式如下:
VideoCtl::OnStop()
函数内加上
SDL_PauseAudioDevice(audio_dev,1);
还有一个问题双击切换其他文件播放时也会出现相同的崩溃 可以尝试在
Show::OnPlay(QString strFile)
函数内加上一句
emit VideoCtl::GetInstance()->SigStop();
但是本人也不理解为什么希望可以有人帮忙解答一下
from playerdemo.
楼主解决了吗,我也是这个问题一模一样,而且视频播放完也会闪退
解决了,记得是关闭音频设备时函数调用错了,对照原版的ffplay看一下就能找到
可以请问一下楼主具体是如何解决的吗,是哪里的函数有问题?
在videoctl类,stream_compnent_close中SDL_CloseAudio();替换为SDL_CloseAudioDevice(audio_dev);
from playerdemo.
在videoctl类,stream_compnent_close中SDL_CloseAudio();替换为SDL_CloseAudioDevice(audio_dev);
谢谢大佬
from playerdemo.
那得先说说你是怎么配置的。。其实具体SDL 和 ffmpeg的配置过程,网上有好多教程
是这样的,我运行的时候出现了没有SDL2.dll文件的异常。我的文件结构是这样的
$$PWD
--lib
--SDL2
--lib
--libSDL2.a
--libSDL2.dll.a
--libSDL2main.a
--libSDL2_test.a
--SDL2.dll
from playerdemo.
Related Issues (20)
- 求编译好的Mac版 HOT 3
- ubuntu编译时,在ui_ctrlbar.h下找不到CustomSlider.h HOT 3
- 无法启动 HOT 2
- api
- https://ffmpeg.zeranoe.com/builds/ 挂掉了
- Mac端编译运行后播放窗口是透明的,导入视频就闪退 HOT 3
- 编译错误
- 播放结束后,进度条上的时间还在增加
- 播放过程中,快进或快退后,视频播放会停止
- 请问Windows下怎么连接ffmpeg的动态库 HOT 1
- 视频去噪功能
- screen was not declared HOT 1
- 播放视频没声音
- 全屏后无法退出全屏状态 HOT 1
- 请问一下项目是如何解决窗口移动画面无法刷新的问题
- 声音与音量问题 HOT 2
- macOS编译问题
- bin目录是在项目根目录下新建一个吗?没看到哪里有bin目录 HOT 2
- 新版的FFMPEG有许多api已经废弃了,能提供下项目内某些函数的思路嘛?
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 playerdemo.