当前位置: 首页 > news >正文

深圳哪些公司做网站做文案策划需要用到的网站

深圳哪些公司做网站,做文案策划需要用到的网站,建设网站都需要准备什么材料,最新网络推广方法目录 一、问题背景 二、问题现象 2.1 ffmpeg测试例程 2.2 编译脚本 2.3 错误提示 三、问题排查 3.1 关于提示找不到“stdio iostream头文件的问题 3.1.1查看工具链头文件检索位置 3.1.2 根据工具链路径查找头文件 3.1.3 在编译脚本中指定头文件路径…目录 一、问题背景 二、问题现象 2.1 ffmpeg测试例程 2.2 编译脚本 2.3 错误提示 三、问题排查 3.1 关于提示找不到“stdio iostream头文件的问题 3.1.1查看工具链头文件检索位置 3.1.2 根据工具链路径查找头文件 3.1.3 在编译脚本中指定头文件路径 3.2 关于提示找不到ffmpeg动态库的问题 3.2.1 问题现象 3.2.2 排查指定的动态库路径是否错误 3.2.3 排查动态库路径中是否存在文件缺失 3.2.4 有效解决方案 四、修改后的编译脚本 五、测试效果 5.1 查看编译生成的hello_world 5.2 imx6ull上运行ffmpeg测试文件 一、问题背景 硬件平台正点原子-imx6ull 背景介绍在imx6ull已经移植好了ffmpeg在进行ffmpeg编程过程中使用雷神的例程无法交叉编译通过。下面针对出现的现象、排查思路、解决方案进行讲解。 二、问题现象 使用ffmpeg例程时使用gcc x86工具链能够正常编译。但是使用arm平台则无法交叉编译通过。 2.1 ffmpeg测试例程 C/C编程linux上安装ffmpeg_OceanStar的学习笔记的博客-CSDN博客 /** * 最简单的FFmpeg Helloworld程序 * Simplest FFmpeg HelloWorld * * 雷霄骅 Lei Xiaohua * leixiaohua1020126.com * 中国传媒大学/数字电视技术 * Communication University of China / Digital TV Technology * http://blog.csdn.net/leixiaohua1020 * * * 本程序是基于FFmpeg函数的最简单的程序。它可以打印出FFmpeg类库的下列信息 * Protocol: FFmpeg类库支持的协议 * AVFormat: FFmpeg类库支持的封装格式 * AVCodec: FFmpeg类库支持的编解码器 * AVFilter: FFmpeg类库支持的滤镜 * Configure: FFmpeg类库的配置信息 * * This is the simplest program based on FFmpeg API. It can show following * informations about FFmpeg library: * Protocol: Protocols supported by FFmpeg. * AVFormat: Container format supported by FFmpeg. * AVCodec: Encoder/Decoder supported by FFmpeg. * AVFilter: Filters supported by FFmpeg. * Configure: configure information of FFmpeg. * */#include stdio.h#define __STDC_CONSTANT_MACROS#ifdef _WIN32 //Windows extern C { #include libavcodec/avcodec.h #include libavformat/avformat.h #include libavfilter/avfilter.h }; #else //Linux... #ifdef __cplusplus extern C { #endif #include libavcodec/avcodec.h #include libavformat/avformat.h #include libavfilter/avfilter.h #ifdef __cplusplus }; #endif #endif//FIX struct URLProtocol; /** * Protocol Support Information */ char * urlprotocolinfo(){char *info(char *)malloc(40000);memset(info,0,40000);av_register_all();struct URLProtocol *pup NULL;//Inputstruct URLProtocol **p_temp pup;avio_enum_protocols((void **)p_temp, 0);while ((*p_temp) ! NULL){sprintf(info, %s[In ][%10s]\n, info, avio_enum_protocols((void **)p_temp, 0));}pup NULL;//Outputavio_enum_protocols((void **)p_temp, 1);while ((*p_temp) ! NULL){sprintf(info, %s[Out][%10s]\n, info, avio_enum_protocols((void **)p_temp, 1));}return info; }/** * AVFormat Support Information */ char * avformatinfo(){char *info(char *)malloc(40000);memset(info,0,40000);av_register_all();AVInputFormat *if_temp av_iformat_next(NULL);AVOutputFormat *of_temp av_oformat_next(NULL);//Inputwhile(if_temp!NULL){sprintf(info, %s[In ] %10s\n, info, if_temp-name);if_tempif_temp-next;}//Outputwhile (of_temp ! NULL){sprintf(info, %s[Out] %10s\n, info, of_temp-name);of_temp of_temp-next;}return info; }/** * AVCodec Support Information */ char * avcodecinfo() {char *info(char *)malloc(40000);memset(info,0,40000);av_register_all();AVCodec *c_temp av_codec_next(NULL);while(c_temp!NULL){if (c_temp-decode!NULL){sprintf(info, %s[Dec], info);}else{sprintf(info, %s[Enc], info);}switch (c_temp-type){case AVMEDIA_TYPE_VIDEO:sprintf(info, %s[Video], info);break;case AVMEDIA_TYPE_AUDIO:sprintf(info, %s[Audio], info);break;default:sprintf(info, %s[Other], info);break;}sprintf(info, %s %10s\n, info, c_temp-name);c_tempc_temp-next;}return info; }/** * AVFilter Support Information */ char * avfilterinfo() {char *info(char *)malloc(40000);memset(info,0,40000);avfilter_register_all();AVFilter *f_temp (AVFilter *)avfilter_next(NULL);while (f_temp ! NULL){sprintf(info, %s[%15s]\n, info, f_temp-name);f_tempf_temp-next;}return info; }/** * Configuration Information */ char * configurationinfo() {char *info(char *)malloc(40000);memset(info,0,40000);av_register_all();sprintf(info, %s\n, avcodec_configuration());return info; }int main(int argc, char* argv[]) {char *infostrNULL;infostrconfigurationinfo();printf(\nConfiguration\n%s,infostr);free(infostr);infostrurlprotocolinfo();printf(\nURLProtocol\n%s,infostr);free(infostr);infostravformatinfo();printf(\nAVFormat\n%s,infostr);free(infostr);infostravcodecinfo();printf(\nAVCodec\n%s,infostr);free(infostr);infostravfilterinfo();printf(\nAVFilter\n%s,infostr);free(infostr);return 0; } 2.2 编译脚本 编译脚本中能够使用x86的gcc工具链以及arm开发板的交叉编译工具链进行编译。 其中gcc工具链经过测试可以使用。但是arm交叉编译工具链无法正常运行提示错误如下。 2.3 错误提示 错误提示链接器ld无法找到对应的动态库。 三、问题排查 3.1 关于提示找不到“stdio iostream头文件的问题 3.1.1查看工具链头文件检索位置 echo | arm-linux-gnueabihf-g -v -x c -E - 3.1.2 根据工具链路径查找头文件 find /usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.4/../../../../arm-linux-gnueabihf/* -name iostream          根据上述查找结果可以知道arm-linux-gnueabihf-工具链的头文件路径为/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/arm-lnux-gnueabihf/include/c/4.94。 3.1.3 在编译脚本中指定头文件路径 -I /usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c/4.9.4 3.2 关于提示找不到ffmpeg动态库的问题 3.2.1 问题现象         提示libavfilter\libavcodec动态库没有找到以及由于没有找到动态库而出现的未定义引用的错误。 3.2.2 排查指定的动态库路径是否错误 3.2.3 排查动态库路径中是否存在文件缺失 3.2.4 有效解决方案   经过3.2.2 3.2.3的排查发现都没有存在问题此时排查陷入困境。   通过网上查阅资料通过参考 关于C#链接libavcodec和libavformat未定义的引用 | 码农家园 (codenong.com)添加-lswcale与-lswresample的动态库连接。即可消除未找到libavfilter libavcodec动态库的错误。 四、修改后的编译脚本 五、测试效果 5.1 查看编译生成的hello_world  5.2 imx6ull上运行ffmpeg测试文件
http://www.w-s-a.com/news/792276/

相关文章:

  • 白云网站建设多少钱WORDPRESS添加前台会员注册
  • 商业网站模板中国字体设计网站
  • 做网站闵行网站建设中英语
  • 写作网站大全如何简单制作生理盐水
  • 云南网站建设维护互联网广告是做什么的
  • 网站 谁建设 谁负责做网站项目
  • 网站建设子栏目怎么弄海口专门做网站
  • 网站建设 温州建设网上银行个人网上银行登
  • 黄页网站推广方案wordpress 压缩插件
  • 网站建设常州网站简介 title
  • 惠州市网站建设个人深圳网站优化价格
  • 营销型网站工程专业网站开发公司
  • 两个路由器做双网站西安关键词优化服务
  • 企业建站系统信息远象建设 网站
  • 移动建站平台物业管理系统app
  • 济南网站建设多少钱郑州公司做网站
  • 在阿里云网站建设wordpress模板如何修改字体
  • 网站推广方案设计购物网站模块例子
  • 潍坊网站定制公司网站图片放大特效怎么做的
  • 淘宝店铺买卖湘潭seo优化价格
  • 最好的网站建设用途合肥企业网站建设
  • 计算机编程与网站建设好玩的网页传奇
  • 商务网站建设找哪家本地推广找哪些网站
  • 手机h5网站企业网站管理系统的运维服务
  • 南京建设网站公司网站游戏怎么制作
  • 成都建站程序苏州市建设局招标网站首页
  • 自助建网站市场公司起名大全2020最新版的
  • dede网站模板北京 网站开发 大兴
  • 网站优化师招聘建设牌安全带官方网站
  • 南京网站建设网站做视频网站用什么格式