摘要: 1.分配一个AVFormatContext,FFMPEG所有的操作都要通过这个AVFormatContext来进行 2.接着调用打开视频文件 3.文件打开成功后就是查找文件中的视频流了: 6.现在开始读取视频了 7.关闭解码器 代码地址:https://github.com/hgstudy/FFmp 阅读全文
posted @ 2019-08-08 11:12 hu9977 阅读(8775) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/ouening/article/details/70947759 阅读全文
posted @ 2019-06-16 23:34 hu9977 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 链接: https://blog.csdn.net/ZCShouCSDN/article/details/84375260 阅读全文
posted @ 2019-06-14 17:24 hu9977 阅读(348) 评论(0) 推荐(0) 编辑
摘要: mount -t nfs -o nolock,nfsvers=3,vers=3 192.168.0.220:/home/hg/mybin /mnt 阅读全文
posted @ 2019-02-18 17:17 hu9977 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 程序地址:https://github.com/hgstudy/MP4V2.git 这份代码可以分析h264文件。 遇到的问题: 2.can't load library 'libstdc++.so.6'3.MP4V2调用了C++,所以如此解决方法:需要加入 链接设定 -static 这样程序在链接 阅读全文
posted @ 2019-01-18 17:09 hu9977 阅读(1579) 评论(0) 推荐(0) 编辑
摘要: mount -t vfat /dev/mmcblk0p1 /mntudisk/ 应该是这样的 其mmcblk0是SD的名,并不是其分区的情况 阅读全文
posted @ 2019-01-18 10:50 hu9977 阅读(17970) 评论(0) 推荐(1) 编辑
摘要: 这个SDK里面有一个三路编码h264的流,另外一个是JPEG抓拍的。 虽然文档里面建议通道0进行抓拍,SDK用的通道1. 将其入到三路码流之后。通道3。 开始一直错误,VpssChn = 3;没有设定,设定如下: 之后就是绑定和获取图片 三个图可以直观的观察vpss: 阅读全文
posted @ 2018-12-24 22:47 hu9977 阅读(620) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/explorer_day/article/details/78641723 阅读全文
posted @ 2018-11-08 17:00 hu9977 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 代码: 运行结果: /timetestDouble: 1.2Seconds: 1Microseconds: 200000 Double: -2.3Seconds: -2Microseconds: 300000 Double: 0Seconds: 0Microseconds: 0 Double: 4S 阅读全文
posted @ 2018-11-07 12:40 hu9977 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 讲YUV的文章很多,我就不总结了,这有一篇https://glumes.com/post/ffmpeg/understand-yuv-format/ 说一下我遇到的问题,我的摄像头是YUV422的,打包格式(打包和平面格式了解一下)的。生成的.yuv,用软件打开如下 这个软件有个格式选择,YUV42 阅读全文
posted @ 2018-09-28 01:07 hu9977 阅读(161) 评论(0) 推荐(0) 编辑