
ffmpeg
shizheng163
一步一步向前走
展开
-
ffmpeg-设置推流,拉流使用的协议类型(TCP/UDP)
拉流(设置TCP/UDP)//设置参数AVDictionary *format_opts = NULL;av_dict_set(&format_opts, "stimeout", std::to_string( 2* 1000000).c_str(), 0); //设置链接超时时间(us)av_dict_set(&format_opts, &a原创 2018-05-28 09:58:23 · 10222 阅读 · 5 评论 -
ffmpeg- 部分错误码-av_interleaved_write_frame/av_write_frame
部分返回值错误码Linux error_base.hav_interleaved_write_frame/av_write_frame 返回值如有错误,请指正,谢谢。部分返回值错误码ffmpeg源码部分返回值形式为:**AVERROR(EINVAL)****AVERROR(EPIPE)****AVERROR(ENOMEM)**......再看一下ffmp...原创 2018-05-28 10:29:39 · 14413 阅读 · 10 评论 -
使用ffmpeg添加rtsp字幕流 (t140)
如有错误请指正,谢谢。使用ffmpeg添加rtsp字幕流 (t140)使用ffmpeg推送一个视频文件到rtsp非常简单:ffmpeg -re -i subtitle.mkv -vcodec copy -acodec copy -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:10554/sVideo但如果想要把视频中的字幕流也推送到rtsp服...原创 2018-10-22 20:59:47 · 4418 阅读 · 2 评论 -
Windows下编译可调试的ffmpeg, 包含ffplay
Windows下编译可调试的ffmpeg, 包含ffplay作者:史正邮箱:shizheng163@126.com如有错误还请及时指正如果有错误的描述给您带来不便还请见谅如需交流请发送邮件,欢迎联系我的csdn : https://blog.youkuaiyun.com/shizheng163我的github : https://github.com/shizheng163文章目...原创 2019-01-05 21:25:42 · 26742 阅读 · 5 评论 -
从零实现简易播放器:4.ffmpeg 解码视频为yuv数据-使用avcodec_send_packet与avcodec_receive_frame
ffmpeg 解码视频为yuv数据作者:史正邮箱:shizheng163@126.com如有错误还请及时指正如果有错误的描述给您带来不便还请见谅如需交流请发送邮件,欢迎联系csdn : https://blog.youkuaiyun.com/shizheng163github : https://github.com/shizheng163文章目录ffmpeg 解码视频为yuv数据简...原创 2019-01-13 18:50:20 · 3214 阅读 · 3 评论