随笔分类 -  ffmpeg

ERROR: libass not found using pkg-config 执行ffmpeg ./configure的时候
摘要:编译ffmpeg遇到的环境变量的问题 # export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH 添加环境变量 阅读全文

posted @ 2016-09-23 16:45 wetung 阅读(2400) 评论(0) 推荐(0)

3D视频上下转化左右交织格式YUV
摘要:3D视频中,有的是上下格式的,但是无论是裸眼3D还是3D眼镜都需要左右格式的,下面就是转换的算法,利用ffmpeg解码,进行YUV切割,实现左右视频交织,可以在裸眼3D手机或者pad上观看3D效果。必须要先熟悉YUV数据格式。 FILE *yuvFile = fopen("yuv_fi... 阅读全文

posted @ 2016-01-23 15:18 wetung 阅读(1869) 评论(1) 推荐(0)

ffmpeg 关键帧截图
摘要:#include #include "iostream"#include extern "C"{#include "libavcodec/avcodec.h"#include "libavformat/avformat.h"#include "libswscale/swscale.h"#includ... 阅读全文

posted @ 2016-01-21 19:18 wetung 阅读(2070) 评论(0) 推荐(0)

ffmpeg基本命令(转)
摘要:1.分离视频音频流ffmpeg -i input_file -vcodec copy -an output_file_video //分离视频流ffmpeg -i input_file -acodec copy -vn output_file_audio //分离音频流2.视频解复用ffmpeg... 阅读全文

posted @ 2016-01-20 18:06 wetung 阅读(2941) 评论(0) 推荐(0)

导航