首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

最简单的基于FFmpeg的内存读写的例子 1.1

后端 35.89MB 34 需要积分: 1
立即下载

资源介绍:

本程序实现了FFmpeg对内存中的视频数据的读写。包含两个工程: simplest_ffmpeg_mem_player:播放内存中视频数据的播放器。 simplest_ffmpeg_mem_transcoder:转码内存中数据的转码器。 1.1版本增加了多平台下编译的支持:Windows,MacOS,以及Linux。
/** * 最简单的基于FFmpeg的内存读写例子(内存转码器) * Simplest FFmpeg mem Transcoder * * 雷霄骅,张晖 * leixiaohua1020@126.com * 中国传媒大学/数字电视技术 * Communication University of China / Digital TV Technology * http://blog.csdn.net/leixiaohua1020 * * 本程序实现了任意格式视频数据(例如MPEG2)转码为H.264码流数据。 * 本程序并不是对文件进行处理,而是对内存中的视频数据进行处理。 * 它从内存读取数据,并且将转码后的数据输出到内存中。 * 是最简单的使用FFmpeg读写内存的例子。 * * This software convert video bitstream (Such as MPEG2) to H.264 * bitstream. It read video bitstream from memory (not from a file), * convert it to H.264 bitstream, and finally output to another memory. * It's the simplest example to use FFmpeg to read (or write) from * memory. * */ #include #define __STDC_CONSTANT_MACROS #ifdef _WIN32 //Windows extern "C" { #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libavutil/avutil.h" #include "libavutil/opt.h" #include "libavutil/pixdesc.h" }; #else //Linux... #ifdef __cplusplus extern "C" { #endif #include #include #include #include #include #ifdef __cplusplus }; #endif #endif FILE *fp_open; FILE *fp_write; //Read File int read_buffer(void *opaque, uint8_t *buf, int buf_size){ if(!feof(fp_open)){ int true_size=fread(buf,1,buf_size,fp_open); return true_size; }else{ return -1; } } //Write File int write_buffer(void *opaque, uint8_t *buf, int buf_size){ if(!feof(fp_write)){ int true_size=fwrite(buf,1,buf_size,fp_write); return true_size; }else{ return -1; } } int flush_encoder(AVFormatContext *fmt_ctx,unsigned int stream_index) { int ret; int got_frame; AVPacket enc_pkt; if (!(fmt_ctx->streams[stream_index]->codec->codec->capabilities & CODEC_CAP_DELAY)) return 0; while (1) { av_log(NULL, AV_LOG_INFO, "Flushing stream #%u encoder\n", stream_index); //ret = encode_write_frame(NULL, stream_index, &got_frame); enc_pkt.data = NULL; enc_pkt.size = 0; av_init_packet(&enc_pkt); ret = avcodec_encode_video2 (fmt_ctx->streams[stream_index]->codec, &enc_pkt, NULL, &got_frame); av_frame_free(NULL); if (ret < 0) break; if (!got_frame) {ret=0;break;} /* prepare packet for muxing */ enc_pkt.stream_index = stream_index; enc_pkt.dts = av_rescale_q_rnd(enc_pkt.dts, fmt_ctx->streams[stream_index]->codec->time_base, fmt_ctx->streams[stream_index]->time_base, (AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX)); enc_pkt.pts = av_rescale_q_rnd(enc_pkt.pts, fmt_ctx->streams[stream_index]->codec->time_base, fmt_ctx->streams[stream_index]->time_base, (AVRounding)(AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX)); enc_pkt.duration = av_rescale_q(enc_pkt.duration, fmt_ctx->streams[stream_index]->codec->time_base, fmt_ctx->streams[stream_index]->time_base); av_log(NULL, AV_LOG_DEBUG, "Muxing frame\n"); /* mux encoded frame */ ret = av_write_frame(fmt_ctx, &enc_pkt); if (ret < 0) break; } return ret; } int main(int argc, char* argv[]) { int ret; AVFormatContext* ifmt_ctx=NULL; AVFormatContext* ofmt_ctx=NULL; AVPacket packet,enc_pkt; AVFrame *frame = NULL; enum AVMediaType type; unsigned int stream_index; unsigned int i=0; int got_frame,enc_got_frame; AVStream *out_stream; AVStream *in_stream; AVCodecContext *dec_ctx, *enc_ctx; AVCodec *encoder; fp_open = fopen("cuc60anniversary_start.ts", "rb"); //视频源文件 fp_write=fopen("cuc60anniversary_start.h264","wb+"); //输出文件 av_register_all(); ifmt_ctx=avformat_alloc_context(); avformat_alloc_output_context2(&ofmt_ctx, NULL, "h264", NULL); unsigned char* inbuffer=NULL; unsigned char* outbuffer=NULL; inbuffer=(unsigned char*)av_malloc(32768); outbuffer=(unsigned char*)av_malloc(32768); AVIOContext *avio_in=NULL; AVIOContext *avio_out=NULL; /*open input file*/ avio_in =avio_alloc_context(inbuffer, 32768,0,NULL,read_buffer,NULL,NULL); if(avio_in==NULL) goto end; /*open output file*/ avio_out =avio_alloc_context(outbuffer, 32768,0,NULL,NULL,write_buffer,NULL); if(avio_out==NULL) goto end; ifmt_ctx->pb=avio_in; ifmt_ctx->flags=AVFMT_FLAG_CUSTOM_IO; if ((ret = avformat_open_input(&ifmt_ctx, "whatever", NULL, NULL)) < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot open input file\n"); return ret; } if ((ret = avformat_find_stream_info(ifmt_ctx, NULL)) < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot find stream information\n"); return ret; } for (i = 0; i < ifmt_ctx->nb_streams; i++) { AVStream *stream; AVCodecContext *codec_ctx; stream = ifmt_ctx->streams[i]; codec_ctx = stream->codec; /* Reencode video & audio and remux subtitles etc. */ if (codec_ctx->codec_type == AVMEDIA_TYPE_VIDEO){ /* Open decoder */ ret = avcodec_open2(codec_ctx, avcodec_find_decoder(codec_ctx->codec_id), NULL); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Failed to open decoder for stream #%u\n", i); return ret; } } } //av_dump_format(ifmt_ctx, 0, "whatever", 0); //avio_out->write_packet=write_packet; ofmt_ctx->pb=avio_out; ofmt_ctx->flags=AVFMT_FLAG_CUSTOM_IO; for (i = 0; i < 1; i++) { out_stream = avformat_new_stream(ofmt_ctx, NULL); if (!out_stream) { av_log(NULL, AV_LOG_ERROR, "Failed allocating output stream\n"); return AVERROR_UNKNOWN; } in_stream = ifmt_ctx->streams[i]; dec_ctx = in_stream->codec; enc_ctx = out_stream->codec; if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { encoder = avcodec_find_encoder(AV_CODEC_ID_H264); enc_ctx->height = dec_ctx->height; enc_ctx->width = dec_ctx->width; enc_ctx->sample_aspect_ratio = dec_ctx->sample_aspect_ratio; enc_ctx->pix_fmt = encoder->pix_fmts[0]; enc_ctx->time_base = dec_ctx->time_base; //enc_ctx->time_base.num = 1; //enc_ctx->time_base.den = 25; //H264的必备选项,没有就会错 enc_ctx->me_range=16; enc_ctx->max_qdiff = 4; enc_ctx->qmin = 10; enc_ctx->qmax = 51; enc_ctx->qcompress = 0.6; enc_ctx->refs=3; enc_ctx->bit_rate = 500000; ret = avcodec_open2(enc_ctx, encoder, NULL); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot open video encoder for stream #%u\n", i); return ret; } } else if (dec_ctx->codec_type == AVMEDIA_TYPE_UNKNOWN) { av_log(NULL, AV_LOG_FATAL, "Elementary stream #%d is of unknown type, cannot proceed\n", i); return AVERROR_INVALIDDATA; } else { /* if this stream must be remuxed */ ret = avcodec_copy_context(ofmt_ctx->streams[i]->codec, ifmt_ctx->streams[i]->codec); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Copying stream context failed\n"); return ret; } } if (ofmt_ctx->oformat->flags & AVFMT_GLOBALHEADER) enc_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER; } //av_dump_format(ofmt_ctx, 0, "whatever", 1); /* init muxer, write output file header */ ret = avformat_write_header(ofmt_ctx, NULL); if (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Error occurred when opening output file\n"); return ret; } i=0; /* read all packets */ while (1) { i++; if ((ret = av_read_frame(ifmt_ctx, &packet)) < 0) break; stream_index = packet.stream_index; if(stream_index!=0) continue; type = ifmt_ctx->streams[packet.stream_index]->codec->codec_type; av_log(NULL, AV_LOG_DEBUG, "Demuxer gave frame of stream_index %u\n", stream_index); av_log(NULL, AV_LOG_DEBUG, "Going to reencode the frame\n"); frame = av_frame_alloc(); if (!frame) { ret = AVERROR(ENOMEM); break; } packet.dts = av_rescale_q_rnd(packet.dts, ifmt_ctx->streams[stream_index]->time_bas

资源文件列表:

simplest_ffmpeg_mem_handler_1.1.zip 大约有343个文件
  1. .gitignore 29B
  2. ReadMe.txt 642B
  3. simplest_ffmpeg_mem_handler.sln 1.41KB
  4. simplest_ffmpeg_mem_handler.suo 21KB
  5. simplest_ffmpeg_mem_player/
  6. simplest_ffmpeg_mem_player/.gitignore 67B
  7. simplest_ffmpeg_mem_player/ReadMe.txt 498B
  8. simplest_ffmpeg_mem_player/SDL.dll 296.5KB
  9. simplest_ffmpeg_mem_player/avcodec-55.dll 18.06MB
  10. simplest_ffmpeg_mem_player/avdevice-55.dll 1.28MB
  11. simplest_ffmpeg_mem_player/avfilter-4.dll 1.94MB
  12. simplest_ffmpeg_mem_player/avformat-55.dll 5.1MB
  13. simplest_ffmpeg_mem_player/avutil-52.dll 408.5KB
  14. simplest_ffmpeg_mem_player/compile_cl.bat 698B
  15. simplest_ffmpeg_mem_player/compile_gcc.sh 482B
  16. simplest_ffmpeg_mem_player/compile_gcc_mac.sh 499B
  17. simplest_ffmpeg_mem_player/compile_mingw.sh 505B
  18. simplest_ffmpeg_mem_player/cuc60anniversary_start.mkv 3.79MB
  19. simplest_ffmpeg_mem_player/include/
  20. simplest_ffmpeg_mem_player/include/SDL/
  21. simplest_ffmpeg_mem_player/include/SDL/SDL.h 3.16KB
  22. simplest_ffmpeg_mem_player/include/SDL/SDL_active.h 1.89KB
  23. simplest_ffmpeg_mem_player/include/SDL/SDL_audio.h 10.95KB
  24. simplest_ffmpeg_mem_player/include/SDL/SDL_byteorder.h 986B
  25. simplest_ffmpeg_mem_player/include/SDL/SDL_cdrom.h 5.91KB
  26. simplest_ffmpeg_mem_player/include/SDL/SDL_config.h 1.44KB
  27. simplest_ffmpeg_mem_player/include/SDL/SDL_config_dreamcast.h 2.74KB
  28. simplest_ffmpeg_mem_player/include/SDL/SDL_config_macos.h 2.74KB
  29. simplest_ffmpeg_mem_player/include/SDL/SDL_config_macosx.h 4.09KB
  30. simplest_ffmpeg_mem_player/include/SDL/SDL_config_minimal.h 1.94KB
  31. simplest_ffmpeg_mem_player/include/SDL/SDL_config_nds.h 2.91KB
  32. simplest_ffmpeg_mem_player/include/SDL/SDL_config_os2.h 3.55KB
  33. simplest_ffmpeg_mem_player/include/SDL/SDL_config_symbian.h 3.03KB
  34. simplest_ffmpeg_mem_player/include/SDL/SDL_config_win32.h 4.47KB
  35. simplest_ffmpeg_mem_player/include/SDL/SDL_copying.h 869B
  36. simplest_ffmpeg_mem_player/include/SDL/SDL_cpuinfo.h 2.17KB
  37. simplest_ffmpeg_mem_player/include/SDL/SDL_endian.h 5.91KB
  38. simplest_ffmpeg_mem_player/include/SDL/SDL_error.h 1.83KB
  39. simplest_ffmpeg_mem_player/include/SDL/SDL_events.h 12.74KB
  40. simplest_ffmpeg_mem_player/include/SDL/SDL_getenv.h 979B
  41. simplest_ffmpeg_mem_player/include/SDL/SDL_joystick.h 5.4KB
  42. simplest_ffmpeg_mem_player/include/SDL/SDL_keyboard.h 4KB
  43. simplest_ffmpeg_mem_player/include/SDL/SDL_keysym.h 7.32KB
  44. simplest_ffmpeg_mem_player/include/SDL/SDL_loadso.h 2.67KB
  45. simplest_ffmpeg_mem_player/include/SDL/SDL_main.h 2.8KB
  46. simplest_ffmpeg_mem_player/include/SDL/SDL_mouse.h 4.64KB
  47. simplest_ffmpeg_mem_player/include/SDL/SDL_mutex.h 5.72KB
  48. simplest_ffmpeg_mem_player/include/SDL/SDL_name.h 183B
  49. simplest_ffmpeg_mem_player/include/SDL/SDL_opengl.h 328.66KB
  50. simplest_ffmpeg_mem_player/include/SDL/SDL_platform.h 2.64KB
  51. simplest_ffmpeg_mem_player/include/SDL/SDL_quit.h 1.96KB
  52. simplest_ffmpeg_mem_player/include/SDL/SDL_rwops.h 4.84KB
  53. simplest_ffmpeg_mem_player/include/SDL/SDL_stdinc.h 16.09KB
  54. simplest_ffmpeg_mem_player/include/SDL/SDL_syswm.h 6.17KB
  55. simplest_ffmpeg_mem_player/include/SDL/SDL_thread.h 4.14KB
  56. simplest_ffmpeg_mem_player/include/SDL/SDL_timer.h 4.42KB
  57. simplest_ffmpeg_mem_player/include/SDL/SDL_types.h 979B
  58. simplest_ffmpeg_mem_player/include/SDL/SDL_version.h 2.58KB
  59. simplest_ffmpeg_mem_player/include/SDL/SDL_video.h 37.13KB
  60. simplest_ffmpeg_mem_player/include/SDL/begin_code.h 5.11KB
  61. simplest_ffmpeg_mem_player/include/SDL/close_code.h 1.45KB
  62. simplest_ffmpeg_mem_player/include/_mingw.h 7.79KB
  63. simplest_ffmpeg_mem_player/include/inttypes.h 5.59KB
  64. simplest_ffmpeg_mem_player/include/libavcodec/
  65. simplest_ffmpeg_mem_player/include/libavcodec/avcodec.h 171.5KB
  66. simplest_ffmpeg_mem_player/include/libavcodec/avfft.h 3.04KB
  67. simplest_ffmpeg_mem_player/include/libavcodec/dxva2.h 2.34KB
  68. simplest_ffmpeg_mem_player/include/libavcodec/old_codec_ids.h 10.4KB
  69. simplest_ffmpeg_mem_player/include/libavcodec/vaapi.h 3.91KB
  70. simplest_ffmpeg_mem_player/include/libavcodec/vda.h 4KB
  71. simplest_ffmpeg_mem_player/include/libavcodec/vdpau.h 6.05KB
  72. simplest_ffmpeg_mem_player/include/libavcodec/version.h 5.46KB
  73. simplest_ffmpeg_mem_player/include/libavcodec/xvmc.h 5.92KB
  74. simplest_ffmpeg_mem_player/include/libavdevice/
  75. simplest_ffmpeg_mem_player/include/libavdevice/avdevice.h 16.25KB
  76. simplest_ffmpeg_mem_player/include/libavdevice/version.h 1.82KB
  77. simplest_ffmpeg_mem_player/include/libavfilter/
  78. simplest_ffmpeg_mem_player/include/libavfilter/asrc_abuffer.h 3.24KB
  79. simplest_ffmpeg_mem_player/include/libavfilter/avcodec.h 3.7KB
  80. simplest_ffmpeg_mem_player/include/libavfilter/avfilter.h 55.55KB
  81. simplest_ffmpeg_mem_player/include/libavfilter/avfiltergraph.h 975B
  82. simplest_ffmpeg_mem_player/include/libavfilter/buffersink.h 7.36KB
  83. simplest_ffmpeg_mem_player/include/libavfilter/buffersrc.h 4.78KB
  84. simplest_ffmpeg_mem_player/include/libavfilter/version.h 3.42KB
  85. simplest_ffmpeg_mem_player/include/libavformat/
  86. simplest_ffmpeg_mem_player/include/libavformat/avformat.h 96.65KB
  87. simplest_ffmpeg_mem_player/include/libavformat/avio.h 17.58KB
  88. simplest_ffmpeg_mem_player/include/libavformat/version.h 2.76KB
  89. simplest_ffmpeg_mem_player/include/libavutil/
  90. simplest_ffmpeg_mem_player/include/libavutil/adler32.h 1.55KB
  91. simplest_ffmpeg_mem_player/include/libavutil/aes.h 1.79KB
  92. simplest_ffmpeg_mem_player/include/libavutil/attributes.h 4.13KB
  93. simplest_ffmpeg_mem_player/include/libavutil/audio_fifo.h 4.31KB
  94. simplest_ffmpeg_mem_player/include/libavutil/audioconvert.h 82B
  95. simplest_ffmpeg_mem_player/include/libavutil/avassert.h 2.06KB
  96. simplest_ffmpeg_mem_player/include/libavutil/avconfig.h 211B
  97. simplest_ffmpeg_mem_player/include/libavutil/avstring.h 12.18KB
  98. simplest_ffmpeg_mem_player/include/libavutil/avutil.h 8.36KB
  99. simplest_ffmpeg_mem_player/include/libavutil/base64.h 2.03KB
  100. simplest_ffmpeg_mem_player/include/libavutil/blowfish.h 2.26KB
  101. simplest_ffmpeg_mem_player/include/libavutil/bprint.h 7.55KB
  102. simplest_ffmpeg_mem_player/include/libavutil/bswap.h 2.83KB
  103. simplest_ffmpeg_mem_player/include/libavutil/buffer.h 9.54KB
  104. simplest_ffmpeg_mem_player/include/libavutil/channel_layout.h 8.88KB
  105. simplest_ffmpeg_mem_player/include/libavutil/common.h 13.65KB
  106. simplest_ffmpeg_mem_player/include/libavutil/cpu.h 4.62KB
  107. simplest_ffmpeg_mem_player/include/libavutil/crc.h 2.72KB
  108. simplest_ffmpeg_mem_player/include/libavutil/dict.h 6.37KB
  109. simplest_ffmpeg_mem_player/include/libavutil/downmix_info.h 3.09KB
  110. simplest_ffmpeg_mem_player/include/libavutil/error.h 4.65KB
  111. simplest_ffmpeg_mem_player/include/libavutil/eval.h 5.18KB
  112. simplest_ffmpeg_mem_player/include/libavutil/ffversion.h 128B
  113. simplest_ffmpeg_mem_player/include/libavutil/fifo.h 4.55KB
  114. simplest_ffmpeg_mem_player/include/libavutil/file.h 2.35KB
  115. simplest_ffmpeg_mem_player/include/libavutil/frame.h 22.5KB
  116. simplest_ffmpeg_mem_player/include/libavutil/hmac.h 2.8KB
  117. simplest_ffmpeg_mem_player/include/libavutil/imgutils.h 7.66KB
  118. simplest_ffmpeg_mem_player/include/libavutil/intfloat.h 1.69KB
  119. simplest_ffmpeg_mem_player/include/libavutil/intfloat_readwrite.h 1.52KB
  120. simplest_ffmpeg_mem_player/include/libavutil/intreadwrite.h 17.56KB
  121. simplest_ffmpeg_mem_player/include/libavutil/lfg.h 1.94KB
  122. simplest_ffmpeg_mem_player/include/libavutil/log.h 9.78KB
  123. simplest_ffmpeg_mem_player/include/libavutil/lzo.h 2KB
  124. simplest_ffmpeg_mem_player/include/libavutil/macros.h 1.17KB
  125. simplest_ffmpeg_mem_player/include/libavutil/mathematics.h 5.06KB
  126. simplest_ffmpeg_mem_player/include/libavutil/md5.h 1.92KB
  127. simplest_ffmpeg_mem_player/include/libavutil/mem.h 14.03KB
  128. simplest_ffmpeg_mem_player/include/libavutil/murmur3.h 1.19KB
  129. simplest_ffmpeg_mem_player/include/libavutil/old_pix_fmts.h 14.07KB
  130. simplest_ffmpeg_mem_player/include/libavutil/opt.h 34.09KB
  131. simplest_ffmpeg_mem_player/include/libavutil/parseutils.h 7.08KB
  132. simplest_ffmpeg_mem_player/include/libavutil/pixdesc.h 12.93KB
  133. simplest_ffmpeg_mem_player/include/libavutil/pixfmt.h 27.57KB
  134. simplest_ffmpeg_mem_player/include/libavutil/random_seed.h 1.37KB
  135. simplest_ffmpeg_mem_player/include/libavutil/rational.h 4.09KB
  136. simplest_ffmpeg_mem_player/include/libavutil/replaygain.h 1.57KB
  137. simplest_ffmpeg_mem_player/include/libavutil/ripemd.h 1.98KB
  138. simplest_ffmpeg_mem_player/include/libavutil/samplefmt.h 9.85KB
  139. simplest_ffmpeg_mem_player/include/libavutil/sha.h 1.9KB
  140. simplest_ffmpeg_mem_player/include/libavutil/sha512.h 1.98KB
  141. simplest_ffmpeg_mem_player/include/libavutil/stereo3d.h 3.53KB
  142. simplest_ffmpeg_mem_player/include/libavutil/time.h 1.25KB
  143. simplest_ffmpeg_mem_player/include/libavutil/timecode.h 5.2KB
  144. simplest_ffmpeg_mem_player/include/libavutil/timestamp.h 2.55KB
  145. simplest_ffmpeg_mem_player/include/libavutil/version.h 4.38KB
  146. simplest_ffmpeg_mem_player/include/libavutil/xtea.h 1.82KB
  147. simplest_ffmpeg_mem_player/include/libpostproc/
  148. simplest_ffmpeg_mem_player/include/libpostproc/postprocess.h 2.82KB
  149. simplest_ffmpeg_mem_player/include/libpostproc/version.h 1.64KB
  150. simplest_ffmpeg_mem_player/include/libswresample/
  151. simplest_ffmpeg_mem_player/include/libswresample/swresample.h 11.54KB
  152. simplest_ffmpeg_mem_player/include/libswresample/version.h 1.65KB
  153. simplest_ffmpeg_mem_player/include/libswscale/
  154. simplest_ffmpeg_mem_player/include/libswscale/swscale.h 11.97KB
  155. simplest_ffmpeg_mem_player/include/libswscale/version.h 2.07KB
  156. simplest_ffmpeg_mem_player/include/sdl/
  157. simplest_ffmpeg_mem_player/include/sdl/SDL.h 3.16KB
  158. simplest_ffmpeg_mem_player/include/sdl/SDL_active.h 1.89KB
  159. simplest_ffmpeg_mem_player/include/sdl/SDL_audio.h 10.95KB
  160. simplest_ffmpeg_mem_player/include/sdl/SDL_byteorder.h 986B
  161. simplest_ffmpeg_mem_player/include/sdl/SDL_cdrom.h 5.91KB
  162. simplest_ffmpeg_mem_player/include/sdl/SDL_config.h 1.44KB
  163. simplest_ffmpeg_mem_player/include/sdl/SDL_config_dreamcast.h 2.74KB
  164. simplest_ffmpeg_mem_player/include/sdl/SDL_config_macos.h 2.74KB
  165. simplest_ffmpeg_mem_player/include/sdl/SDL_config_macosx.h 4.09KB
  166. simplest_ffmpeg_mem_player/include/sdl/SDL_config_minimal.h 1.94KB
  167. simplest_ffmpeg_mem_player/include/sdl/SDL_config_nds.h 2.91KB
  168. simplest_ffmpeg_mem_player/include/sdl/SDL_config_os2.h 3.55KB
  169. simplest_ffmpeg_mem_player/include/sdl/SDL_config_symbian.h 3.03KB
  170. simplest_ffmpeg_mem_player/include/sdl/SDL_config_win32.h 4.47KB
  171. simplest_ffmpeg_mem_player/include/sdl/SDL_copying.h 869B
  172. simplest_ffmpeg_mem_player/include/sdl/SDL_cpuinfo.h 2.17KB
  173. simplest_ffmpeg_mem_player/include/sdl/SDL_endian.h 5.91KB
  174. simplest_ffmpeg_mem_player/include/sdl/SDL_error.h 1.83KB
  175. simplest_ffmpeg_mem_player/include/sdl/SDL_events.h 12.74KB
  176. simplest_ffmpeg_mem_player/include/sdl/SDL_getenv.h 979B
  177. simplest_ffmpeg_mem_player/include/sdl/SDL_joystick.h 5.4KB
  178. simplest_ffmpeg_mem_player/include/sdl/SDL_keyboard.h 4KB
  179. simplest_ffmpeg_mem_player/include/sdl/SDL_keysym.h 7.32KB
  180. simplest_ffmpeg_mem_player/include/sdl/SDL_loadso.h 2.67KB
  181. simplest_ffmpeg_mem_player/include/sdl/SDL_main.h 2.8KB
  182. simplest_ffmpeg_mem_player/include/sdl/SDL_mouse.h 4.64KB
  183. simplest_ffmpeg_mem_player/include/sdl/SDL_mutex.h 5.72KB
  184. simplest_ffmpeg_mem_player/include/sdl/SDL_name.h 183B
  185. simplest_ffmpeg_mem_player/include/sdl/SDL_opengl.h 328.66KB
  186. simplest_ffmpeg_mem_player/include/sdl/SDL_platform.h 2.64KB
  187. simplest_ffmpeg_mem_player/include/sdl/SDL_quit.h 1.96KB
  188. simplest_ffmpeg_mem_player/include/sdl/SDL_rwops.h 4.84KB
  189. simplest_ffmpeg_mem_player/include/sdl/SDL_stdinc.h 16.09KB
  190. simplest_ffmpeg_mem_player/include/sdl/SDL_syswm.h 6.17KB
  191. simplest_ffmpeg_mem_player/include/sdl/SDL_thread.h 4.14KB
  192. simplest_ffmpeg_mem_player/include/sdl/SDL_timer.h 4.42KB
  193. simplest_ffmpeg_mem_player/include/sdl/SDL_types.h 979B
  194. simplest_ffmpeg_mem_player/include/sdl/SDL_version.h 2.58KB
  195. simplest_ffmpeg_mem_player/include/sdl/SDL_video.h 37.13KB
  196. simplest_ffmpeg_mem_player/include/sdl/begin_code.h 5.11KB
  197. simplest_ffmpeg_mem_player/include/sdl/close_code.h 1.45KB
  198. simplest_ffmpeg_mem_player/include/stdint.h 5.79KB
  199. simplest_ffmpeg_mem_player/lib/
  200. simplest_ffmpeg_mem_player/lib/SDL.lib 41.53KB
  201. simplest_ffmpeg_mem_player/lib/SDLmain.lib 8.02KB
  202. simplest_ffmpeg_mem_player/lib/avcodec.lib 218.52KB
  203. simplest_ffmpeg_mem_player/lib/avdevice.lib 9.22KB
  204. simplest_ffmpeg_mem_player/lib/avfilter.lib 66.06KB
  205. simplest_ffmpeg_mem_player/lib/avformat.lib 122.13KB
  206. simplest_ffmpeg_mem_player/lib/avutil.lib 320.93KB
  207. simplest_ffmpeg_mem_player/lib/postproc.lib 8.03KB
  208. simplest_ffmpeg_mem_player/lib/swresample.lib 75.54KB
  209. simplest_ffmpeg_mem_player/lib/swscale.lib 27.8KB
  210. simplest_ffmpeg_mem_player/postproc-52.dll 118.5KB
  211. simplest_ffmpeg_mem_player/simplest_ffmpeg_mem_player.cpp 5.24KB
  212. simplest_ffmpeg_mem_player/simplest_ffmpeg_mem_player.vcxproj 4.82KB
  213. simplest_ffmpeg_mem_player/simplest_ffmpeg_mem_player.vcxproj.filters 1006B
  214. simplest_ffmpeg_mem_player/simplest_ffmpeg_mem_player.vcxproj.user 141B
  215. simplest_ffmpeg_mem_player/stderr.txt
  216. simplest_ffmpeg_mem_player/stdout.txt
  217. simplest_ffmpeg_mem_player/swresample-0.dll 269.5KB
  218. simplest_ffmpeg_mem_player/swscale-2.dll 424KB
  219. simplest_ffmpeg_mem_transcoder/
  220. simplest_ffmpeg_mem_transcoder/.gitignore 61B
  221. simplest_ffmpeg_mem_transcoder/ReadMe.txt 853B
  222. simplest_ffmpeg_mem_transcoder/avcodec-55.dll 18.06MB
  223. simplest_ffmpeg_mem_transcoder/avdevice-55.dll 1.28MB
  224. simplest_ffmpeg_mem_transcoder/avfilter-4.dll 1.94MB
  225. simplest_ffmpeg_mem_transcoder/avformat-55.dll 5.1MB
  226. simplest_ffmpeg_mem_transcoder/avutil-52.dll 408.5KB
  227. simplest_ffmpeg_mem_transcoder/compile_cl.bat 650B
  228. simplest_ffmpeg_mem_transcoder/compile_gcc.sh 516B
  229. simplest_ffmpeg_mem_transcoder/compile_mingw.sh 537B
  230. simplest_ffmpeg_mem_transcoder/cuc60anniversary_start.h264 768KB
  231. simplest_ffmpeg_mem_transcoder/cuc60anniversary_start.ts 7.53MB
  232. simplest_ffmpeg_mem_transcoder/include/
  233. simplest_ffmpeg_mem_transcoder/include/_mingw.h 7.79KB
  234. simplest_ffmpeg_mem_transcoder/include/inttypes.h 5.59KB
  235. simplest_ffmpeg_mem_transcoder/include/libavcodec/
  236. simplest_ffmpeg_mem_transcoder/include/libavcodec/avcodec.h 171.5KB
  237. simplest_ffmpeg_mem_transcoder/include/libavcodec/avfft.h 3.04KB
  238. simplest_ffmpeg_mem_transcoder/include/libavcodec/dxva2.h 2.34KB
  239. simplest_ffmpeg_mem_transcoder/include/libavcodec/old_codec_ids.h 10.4KB
  240. simplest_ffmpeg_mem_transcoder/include/libavcodec/vaapi.h 3.91KB
  241. simplest_ffmpeg_mem_transcoder/include/libavcodec/vda.h 4KB
  242. simplest_ffmpeg_mem_transcoder/include/libavcodec/vdpau.h 6.05KB
  243. simplest_ffmpeg_mem_transcoder/include/libavcodec/version.h 5.46KB
  244. simplest_ffmpeg_mem_transcoder/include/libavcodec/xvmc.h 5.92KB
  245. simplest_ffmpeg_mem_transcoder/include/libavdevice/
  246. simplest_ffmpeg_mem_transcoder/include/libavdevice/avdevice.h 16.25KB
  247. simplest_ffmpeg_mem_transcoder/include/libavdevice/version.h 1.82KB
  248. simplest_ffmpeg_mem_transcoder/include/libavfilter/
  249. simplest_ffmpeg_mem_transcoder/include/libavfilter/asrc_abuffer.h 3.24KB
  250. simplest_ffmpeg_mem_transcoder/include/libavfilter/avcodec.h 3.7KB
  251. simplest_ffmpeg_mem_transcoder/include/libavfilter/avfilter.h 55.55KB
  252. simplest_ffmpeg_mem_transcoder/include/libavfilter/avfiltergraph.h 975B
  253. simplest_ffmpeg_mem_transcoder/include/libavfilter/buffersink.h 7.36KB
  254. simplest_ffmpeg_mem_transcoder/include/libavfilter/buffersrc.h 4.78KB
  255. simplest_ffmpeg_mem_transcoder/include/libavfilter/version.h 3.42KB
  256. simplest_ffmpeg_mem_transcoder/include/libavformat/
  257. simplest_ffmpeg_mem_transcoder/include/libavformat/avformat.h 96.65KB
  258. simplest_ffmpeg_mem_transcoder/include/libavformat/avio.h 17.58KB
  259. simplest_ffmpeg_mem_transcoder/include/libavformat/version.h 2.76KB
  260. simplest_ffmpeg_mem_transcoder/include/libavutil/
  261. simplest_ffmpeg_mem_transcoder/include/libavutil/adler32.h 1.55KB
  262. simplest_ffmpeg_mem_transcoder/include/libavutil/aes.h 1.79KB
  263. simplest_ffmpeg_mem_transcoder/include/libavutil/attributes.h 4.13KB
  264. simplest_ffmpeg_mem_transcoder/include/libavutil/audio_fifo.h 4.31KB
  265. simplest_ffmpeg_mem_transcoder/include/libavutil/audioconvert.h 82B
  266. simplest_ffmpeg_mem_transcoder/include/libavutil/avassert.h 2.06KB
  267. simplest_ffmpeg_mem_transcoder/include/libavutil/avconfig.h 211B
  268. simplest_ffmpeg_mem_transcoder/include/libavutil/avstring.h 12.18KB
  269. simplest_ffmpeg_mem_transcoder/include/libavutil/avutil.h 8.36KB
  270. simplest_ffmpeg_mem_transcoder/include/libavutil/base64.h 2.03KB
  271. simplest_ffmpeg_mem_transcoder/include/libavutil/blowfish.h 2.26KB
  272. simplest_ffmpeg_mem_transcoder/include/libavutil/bprint.h 7.55KB
  273. simplest_ffmpeg_mem_transcoder/include/libavutil/bswap.h 2.83KB
  274. simplest_ffmpeg_mem_transcoder/include/libavutil/buffer.h 9.54KB
  275. simplest_ffmpeg_mem_transcoder/include/libavutil/channel_layout.h 8.88KB
  276. simplest_ffmpeg_mem_transcoder/include/libavutil/common.h 13.65KB
  277. simplest_ffmpeg_mem_transcoder/include/libavutil/cpu.h 4.62KB
  278. simplest_ffmpeg_mem_transcoder/include/libavutil/crc.h 2.72KB
  279. simplest_ffmpeg_mem_transcoder/include/libavutil/dict.h 6.37KB
  280. simplest_ffmpeg_mem_transcoder/include/libavutil/downmix_info.h 3.09KB
  281. simplest_ffmpeg_mem_transcoder/include/libavutil/error.h 4.65KB
  282. simplest_ffmpeg_mem_transcoder/include/libavutil/eval.h 5.18KB
  283. simplest_ffmpeg_mem_transcoder/include/libavutil/ffversion.h 128B
  284. simplest_ffmpeg_mem_transcoder/include/libavutil/fifo.h 4.55KB
  285. simplest_ffmpeg_mem_transcoder/include/libavutil/file.h 2.35KB
  286. simplest_ffmpeg_mem_transcoder/include/libavutil/frame.h 22.5KB
  287. simplest_ffmpeg_mem_transcoder/include/libavutil/hmac.h 2.8KB
  288. simplest_ffmpeg_mem_transcoder/include/libavutil/imgutils.h 7.66KB
  289. simplest_ffmpeg_mem_transcoder/include/libavutil/intfloat.h 1.69KB
  290. simplest_ffmpeg_mem_transcoder/include/libavutil/intfloat_readwrite.h 1.52KB
  291. simplest_ffmpeg_mem_transcoder/include/libavutil/intreadwrite.h 17.56KB
  292. simplest_ffmpeg_mem_transcoder/include/libavutil/lfg.h 1.94KB
  293. simplest_ffmpeg_mem_transcoder/include/libavutil/log.h 9.78KB
  294. simplest_ffmpeg_mem_transcoder/include/libavutil/lzo.h 2KB
  295. simplest_ffmpeg_mem_transcoder/include/libavutil/macros.h 1.17KB
  296. simplest_ffmpeg_mem_transcoder/include/libavutil/mathematics.h 5.06KB
  297. simplest_ffmpeg_mem_transcoder/include/libavutil/md5.h 1.92KB
  298. simplest_ffmpeg_mem_transcoder/include/libavutil/mem.h 14.03KB
  299. simplest_ffmpeg_mem_transcoder/include/libavutil/murmur3.h 1.19KB
  300. simplest_ffmpeg_mem_transcoder/include/libavutil/old_pix_fmts.h 14.07KB
  301. simplest_ffmpeg_mem_transcoder/include/libavutil/opt.h 34.09KB
  302. simplest_ffmpeg_mem_transcoder/include/libavutil/parseutils.h 7.08KB
  303. simplest_ffmpeg_mem_transcoder/include/libavutil/pixdesc.h 12.93KB
  304. simplest_ffmpeg_mem_transcoder/include/libavutil/pixfmt.h 27.57KB
  305. simplest_ffmpeg_mem_transcoder/include/libavutil/random_seed.h 1.37KB
  306. simplest_ffmpeg_mem_transcoder/include/libavutil/rational.h 4.09KB
  307. simplest_ffmpeg_mem_transcoder/include/libavutil/replaygain.h 1.57KB
  308. simplest_ffmpeg_mem_transcoder/include/libavutil/ripemd.h 1.98KB
  309. simplest_ffmpeg_mem_transcoder/include/libavutil/samplefmt.h 9.85KB
  310. simplest_ffmpeg_mem_transcoder/include/libavutil/sha.h 1.9KB
  311. simplest_ffmpeg_mem_transcoder/include/libavutil/sha512.h 1.98KB
  312. simplest_ffmpeg_mem_transcoder/include/libavutil/stereo3d.h 3.53KB
  313. simplest_ffmpeg_mem_transcoder/include/libavutil/time.h 1.25KB
  314. simplest_ffmpeg_mem_transcoder/include/libavutil/timecode.h 5.2KB
  315. simplest_ffmpeg_mem_transcoder/include/libavutil/timestamp.h 2.55KB
  316. simplest_ffmpeg_mem_transcoder/include/libavutil/version.h 4.38KB
  317. simplest_ffmpeg_mem_transcoder/include/libavutil/xtea.h 1.82KB
  318. simplest_ffmpeg_mem_transcoder/include/libpostproc/
  319. simplest_ffmpeg_mem_transcoder/include/libpostproc/postprocess.h 2.82KB
  320. simplest_ffmpeg_mem_transcoder/include/libpostproc/version.h 1.64KB
  321. simplest_ffmpeg_mem_transcoder/include/libswresample/
  322. simplest_ffmpeg_mem_transcoder/include/libswresample/swresample.h 11.54KB
  323. simplest_ffmpeg_mem_transcoder/include/libswresample/version.h 1.65KB
  324. simplest_ffmpeg_mem_transcoder/include/libswscale/
  325. simplest_ffmpeg_mem_transcoder/include/libswscale/swscale.h 11.97KB
  326. simplest_ffmpeg_mem_transcoder/include/libswscale/version.h 2.07KB
  327. simplest_ffmpeg_mem_transcoder/include/stdint.h 5.79KB
  328. simplest_ffmpeg_mem_transcoder/lib/
  329. simplest_ffmpeg_mem_transcoder/lib/avcodec.lib 218.52KB
  330. simplest_ffmpeg_mem_transcoder/lib/avdevice.lib 9.22KB
  331. simplest_ffmpeg_mem_transcoder/lib/avfilter.lib 66.06KB
  332. simplest_ffmpeg_mem_transcoder/lib/avformat.lib 122.13KB
  333. simplest_ffmpeg_mem_transcoder/lib/avutil.lib 320.93KB
  334. simplest_ffmpeg_mem_transcoder/lib/postproc.lib 8.03KB
  335. simplest_ffmpeg_mem_transcoder/lib/swresample.lib 75.54KB
  336. simplest_ffmpeg_mem_transcoder/lib/swscale.lib 27.8KB
  337. simplest_ffmpeg_mem_transcoder/postproc-52.dll 118.5KB
  338. simplest_ffmpeg_mem_transcoder/simplest_ffmpeg_mem_transcoder.cpp 10.35KB
  339. simplest_ffmpeg_mem_transcoder/simplest_ffmpeg_mem_transcoder.vcxproj 4.73KB
  340. simplest_ffmpeg_mem_transcoder/simplest_ffmpeg_mem_transcoder.vcxproj.filters 1010B
  341. simplest_ffmpeg_mem_transcoder/simplest_ffmpeg_mem_transcoder.vcxproj.user 141B
  342. simplest_ffmpeg_mem_transcoder/swresample-0.dll 269.5KB
  343. simplest_ffmpeg_mem_transcoder/swscale-2.dll 424KB
0评论
提交 加载更多评论
其他资源 RFX2401C参考设计 包括PCB、原理图
Silicon Labs EM35x Reference Design with RFX2401C,可以学习到RFX2401C的电路设计方法,像我这样的新手就直接抄了,特别是天线部分,可以套用到其他2.4GHz模块上
RFX2401C参考设计 包括PCB、原理图 RFX2401C参考设计 包括PCB、原理图 RFX2401C参考设计 包括PCB、原理图
基于BP算法的人脸识别程序(MATLAB)
人脸库用的事ORL库,本程序用的是matlab写的一个简单的人脸识别程序,在运行程序时,需要更改代码中两个地方,一是BP_Train里面的一个路径,而是Accuracy里的文件路径,需要把两个路径都改为当前存放的路径。参考本程序需要有一定的matlab基础。
基于BP算法的人脸识别程序(MATLAB) 基于BP算法的人脸识别程序(MATLAB) 基于BP算法的人脸识别程序(MATLAB)
上海一网通办 社保插件:FileOperatorWSInstaller.zip
上海一网通办 社保插件:FileOperatorWSInstaller.zip
MPU6050.zip
MPU6050.zip
SQL Server 2005傻瓜书
SQL Server 2005傻瓜书
mybatis-3.1.1架包
mybatis-3.1.1.zip 包含mybaties的jar和英文api
FastDPM完整代码,C++,CPU。代码实际上仍有很大优化空间。
http://blog.csdn.net/yu_xianguo/article/details/49742903
基于鲸鱼优化算法优化VMD参数试看效果代码(目标函数为样本熵)
1.采用鲸鱼算法优化VMD分解层数和惩罚系数的MATLAB代码,目标函数根据样本熵计算。直接运行,可以换数据。 2.核心算法加密,有需要请在CSDN联系作者。