话题框架与类库 › FFmpeg

框架与类库:FFmpeg

HLS流媒体技术:畅享高清视频,忘却MP4卡顿的烦恼!

转转学堂视频播放卡顿问题通过多次尝试最终解决。最初采用腾讯云TCPlayer播放器,虽改善样式但未根治卡顿。随后优化视频参数,减少体积,但仍存在上传繁琐和卡顿。最终采用HLS流媒体技术,将视频切片为m3u8格式,显著提升加载速度和播放流畅度,彻底解决了卡顿问题。

用 NAudio 做一个音频播放器及原理

今天带大家拆解音频播放器的实现原理!用C#的NAudio库就能轻松搞定,从文件读取到声卡播放,核心就是PCM数据转换+双缓冲机制。音量调节、淡入效果都是对音频样本的数学处理,超有趣!Windows的WinMM和WASAPI底层API被完美封装,门店收银机播背景音乐so easy~代码示例超详细,跟着做半小时就能撸出播放器Demo!

如何使用whisper+ollama+ffmpeg为视频添加中文字幕

在日常学习生活中,许多有价值的资料都是非中文的,例如 Andrej Karpathy 推出的几个与大模型相关的视频,例如经久不衰的 MIT 6.824 分布式系统课程,这些视频系统地讲解了特定领域的知识,时长较长,往往从一小时起步。如果逐句翻译,将耗费大量时间。然而,随着大型模型技术的快速发展,我们可以利用这些技术来翻译和学习这些视频,使我们的学习之路更加顺畅。本文将介绍如何使用 Whisper、Ollama 和 FFmpeg 组建一套完善的非中文视频翻译流程。

自研点直播转码核心

考虑转码业务的扩展,需要进行转码核心的自研,替换ffmpeg命令行工具。

FFmpeg前端视频合成实践

本文介绍的是一种基于FFmpeg + WebAssembly开发的视频合成能力。

在安卓项目中使用 FFmpeg 实现 GIF 拼接

在我的项目 隐云图解制作 中,有一个功能是按照一定规则将多张 gif 拼接成一张 gif。

当然,这里说的拼接是类似于拼图一样的拼接,而不是简单粗暴的把多个 gif 合成一个 gif 并按顺序播放。

WebAssembly 在 ACC 音频编码中的应用

本章节将先介绍编解码的一些基础知识,然后介绍如何将 FFmpeg 库编译为 WebAssembly 并在浏览器的 JavaScript 环境中进行 ACC 音频编码。

OpenAI Whisper + FFmpeg + TTS:动态实现跨语言视频音频翻译

随着全球化的推进,多语言的视频可以帮助内容创作者快速将视频本地化,降本增效。

基于FFmpeg和Wasm的Web端视频截帧方案

一种使用FFmpeg和WebAssembly的Web端视频截帧方案,以实现更高效、更灵活的视频截帧功能。

How to create GIFs with FFmpeg

I used to create GIFs in Adobe Photoshop. However, long and smooth animations have to be created using workarounds, as Photoshop has a 500 frames limit. It’s time-consuming and Photoshop is not my primary design tool anyway, so I had to look for the other options. Giffox records only selected snippets of the screen but doesn’t allow to upload videos from a local folder. Also, in the free version, it puts watermark and doesn’t make GIFs longer than 10 seconds. Not to mention that it’s available only on Mac while FFmpeg is cross-platform and doesn’t have such limitations. Ezgif has an upload limit of 2000 files and max file size of 6MB each or 100MB in total. Among online converters, it is one of the best, but it limits FPS depending on the video duration. FFmpeg has good performance and can work with large files.

High quality GIF with FFmpeg

About two years ago, I tried to improve the support of the GIF encoding in FFmpeg to make it at least decent. This notably led to the addition of the transparency mechanism in the GIF encoder. While this is not always optimal depending on your source, it is in the most common cases. Still, this was merely an attempt to prevent shaming the encoder too much.

But recently at Stupeflix, we needed a way to generate high quality GIF for the Legend app, so I decided to work on this again.

All the features presented in this blog post are available in FFmpeg 2.6, and will be used in the next version of Legend app (probably around March 26th).

硬编硬解在云端渲染中的应用

在云端渲染场景中,服务端高性能硬件除了可以快速处理特效,也可以利用其实现快速编解码的操作,为云端特效处理提速。本文将介绍如何利用服务端GPU实现硬编硬解及一些特殊场景下的优化。

Cutter - Web视频剪辑工具原理浅析

最近一直在开发 web视频剪辑工具(cutter),这个工具可以方便老师们编辑拍摄好的视频。本期主要介绍下其大体流程,方便大家对其原理有一个简单认知。

初探视频原理和FFmpeg

阅读本文你将获得以下知识:了解视频的基本原理。了解 FFmpeg 是什么,和一些常用的用法。用 FFmpeg 搭建简单的视频直播推流。FFmpeg 在 NodeJS 中的一些用法。

GIFs (sane) playback control using WASM and FFmpeg

Not having playback control on GIFs always annoyed me a bit. I always secretly hoped that one day browsers would support this. This day never arrived, and I decided to take matters into my own hands.

一文读懂 Android FFmpeg 视频解码过程与实战分析

本文首先以 FFmpeg 视频解码为主题,主要介绍了 FFmpeg 进行解码视频时的主要流程、基本原理;其次,文章还讲述了与 FFmpeg 视频解码有关的简单应用,包括如何在原有的 FFmpeg 视频解码的基础上按照一定时间轴顺序播放视频、如何在播放视频时加入 seek 的逻辑;除此之外,文章重点介绍了解码视频时可能容易遗漏的细节,最后是简单地阐述了下如何封装一个具有基本的视频解码功能的 VideoDecoder。

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.148.3. UTC+08:00, 2026-01-09 02:17
浙ICP备14020137号-1 $mapa de visitantes$