Ai
1 Star 0 Fork 0

greenleaf/SDLClient

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
log.txt 519 Bytes
一键复制 编辑 原始数据 按行查看 历史
greenleaf 提交于 2025-04-23 08:45 +08:00 . first commit
// 固定文件路径
const char *src_filename = "F:\\迅雷下载\\lost.mkv";
const char *video_dst_filename = "lost_video.yuv";
const char *audio_dst_filename = "lost_audio.pcm";
Play the output video file with the command:
ffplay -f rawvideo -pix_fmt yuv420p -video_size 1280x720 lost_video.yuv
Warning: the sample format the decoder produced is planar (fltp). This example will output the first channel only.
Play the output audio file with the command:
ffplay -f f32le -ac 1 -ar 44100 lost_audio.pcm
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/codefarmer_admin/SDLClient.git
git@gitee.com:codefarmer_admin/SDLClient.git
codefarmer_admin
SDLClient
SDLClient
master

搜索帮助