首页 > 其他 > 详细

ffmpeg 指定网络连接模式TCP

时间:2014-09-27 11:52:10      阅读:384      评论:0      收藏:0      [点我收藏+]

 

AVFormatContext *formatCtx = NULL;  
formatCtx = avformat_alloc_context();  
  
AVDictionary* options = NULL;  
av_dict_set(&options, "rtsp_transport", "tcp", 0);  
  
avformat_open_input(&formatCtx, pszURLPath, NULL, &options);  

 

 

 

ffmpeg 指定网络连接模式TCP

原文:http://www.cnblogs.com/onetaste/p/3996128.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!