- 博客(16)
- 资源 (2)
- 收藏
- 关注
原创 Explanation of AVOptions settings in ffmpeg 【EDVAS】
在ffmpeg中的help中,大量的EDVAS,查了几个文档,各个单词的意思如下:E = EncodeD = DecodeV = VideoA = AudioS = Subtitle下面的例子AVCodecContext AVOptions: -b E.V.. set bitrate (in bits/s) -a
2017-05-11 18:55:48
402
原创 SDL2 Qt Mingw编译
这个找了很久,终于找到一个博文(在QT5中搭建SDL2环境以及显示bmp图片),内容很详细。不过调试过程中,发现程序崩溃。进行了下面的尝试,希望对大家有帮助:使用了错误的SDL库(i686-w64-mingw32、x86_64-w64-mingw32、SDL2-devel-2.0.x-VC)各种尝试,发现都可以正常运行QtCreator环境异常了
2017-05-10 10:36:09
1127
原创 【笔记】An ffmpeg and SDL Tutorial 02《视频播放》
文章《An ffmpeg and SDL Tutorial 02》将的实在是太简略了,我们可以参考雷霄骅的文章《最简单的视音频播放示例7:SDL2播放RGB/YUV》。概述 在这里使用的版本是SDL2。实际上SDL本身并不提供视音频播放的功能,它只是封装了视音频播放的底层API。在Windows平台下,SDL封装了Direct3D这类的API用于播放视频;封装
2017-04-19 16:54:21
411
原创 【笔记】An ffmpeg and SDL Tutorial 01《视频帧保存到PPM文件》
概述本节讲述了从一个视频文件中截取图片的过程。参考Git(https://git.oschina.net/MyFFMpeg/MyPlayer)下的《\src\An-ffmpeg-and-SDL-Tutorial\tutorial01》工程。该工程简单的封装了FFmpeg的数据结构,便于阅读。媒体文件是由一定的格式组织而成,文件本身成为容器,
2017-04-18 19:01:30
625
原创 PPM文件格式详解
PPM图像格式是由Jef Poskanzer 在1991年所创造的。PPM(Portable Pixmap Format)还有两位兄长,大哥名叫「PBM」,二哥人称「PGM」,他们三兄弟各有所长,下面为你们一一介绍:PBM 是位图(bitmap),仅有黑与白,没有灰PGM 是灰度图(grayscale)PPM 是通过RGB三种颜色显现的图像(pixmaps)每个图像
2017-04-18 11:19:21
45405
原创 【笔记】An ffmpeg and SDL Tutorial 00
ps:本来想翻译《An ffmpeg and SDL Tutorial 》这个教程的,无奈英文实在不好,怕耽误了大家,改成了笔记。下面是几个资源。雷霄骅的播放器视频教程链接:http://pan.baidu.com/s/1dEPqgPr 密码:hdrb只有图像显示,没有声音原文源码http://download.youkuaiyun.com/detail/kingh
2017-04-14 11:55:05
457
原创 如何在不到1000行的情况下编写视频播放器【导读】
开篇06年换了家公司,开始了影音视频相关的工作,从0开始的我,碰了无数的坑,也有了这说不完的话,在这里记录下来,供大家参考。ps:其实从毕业开始就进了一家视频公司,不过但是实在啥都不懂,只是写了简单的界面和其他辅助功能,现在回到这个行业,算是缘分吧。说到影音视频,先列几个表大家看看:
2017-04-13 18:26:57
319
转载 An ffmpeg and SDL Tutorial 08
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next What now?So we have a working player, but it's certainly not as nice as it could be. We did a lot of handwaving, and there are a
2017-04-13 18:19:45
282
转载 An ffmpeg and SDL Tutorial 06
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next Text versionTutorial 06: Synching AudioCode: tutorial06.cSynching AudioSo now we have a decent enough player to watch a mov
2017-04-13 18:18:48
289
转载 An ffmpeg and SDL Tutorial 07
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next Text versionTutorial 07: SeekingCode: tutorial07.cHandling the seek commandNow we're going to add some seeking capabilities
2017-04-13 18:18:11
239
转载 An ffmpeg and SDL Tutorial 05
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next Text versionTutorial 05: Synching VideoCode: tutorial05.cCAVEATWhen I first made this tutorial, all of my syncing code was
2017-04-13 18:17:29
242
转载 An ffmpeg and SDL Tutorial 04
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next Text versionTutorial 04: Spawning ThreadsCode: tutorial04.cOverviewLast time we added audio support by taking advantage of
2017-04-13 18:15:55
342
转载 An ffmpeg and SDL Tutorial 03
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next Text versionTutorial 03: Playing SoundCode: tutorial03.cAudioSo now we want to play sound. SDL also gives us methods for ou
2017-04-13 18:15:15
549
转载 An ffmpeg and SDL Tutorial 00
An ffmpeg and SDL TutorialorHow to Write a Video Player inLess Than 1000 LinesPage 1 2 3 4 5 6 7 EndPrev Home Next UPDATE: This tutorial is up to date as of February 2015.ffmpeg is a w
2017-04-13 17:56:44
245
转载 An ffmpeg and SDL Tutorial 02
An ffmpeg and SDL TutorialPage 1 2 3 4 5 6 7 EndPrev Home Next Text versionTutorial 02: Outputting to the ScreenCode: tutorial02.cSDL and VideoTo draw to the screen, we're going to use S
2017-04-13 17:42:55
217
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人