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

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

最简单的基于FFMPEG+SDL的音频播放器 2.2

后端 32.36MB 46 需要积分: 1
立即下载

资源介绍:

本程序实现了音频的解码和播放。是最简单的FFmpeg音频解码方面的教程。 通过学习本例子可以了解FFmpeg的解码流程。 项目包含3个工程: simplest_ffmpeg_audio_player:基于FFmpeg+SDL的音频解码器 simplest_ffmpeg_audio_decoder:音频解码器。使用了libavcodec和libavformat。 simplest_audio_play_sdl2:使用SDL2播放PCM采样数据的例子。
/** * 最简单的基于FFmpeg的音频播放器 2 * Simplest FFmpeg Audio Player 2 * * 雷霄骅 Lei Xiaohua * leixiaohua1020@126.com * 中国传媒大学/数字电视技术 * Communication University of China / Digital TV Technology * http://blog.csdn.net/leixiaohua1020 * * 本程序实现了音频的解码和播放。 * 是最简单的FFmpeg音频解码方面的教程。 * 通过学习本例子可以了解FFmpeg的解码流程。 * * 该版本使用SDL 2.0替换了第一个版本中的SDL 1.0。 * 注意:SDL 2.0中音频解码的API并无变化。唯一变化的地方在于 * 其回调函数的中的Audio Buffer并没有完全初始化,需要手动初始化。 * 本例子中即SDL_memset(stream, 0, len); * * This software decode and play audio streams. * Suitable for beginner of FFmpeg. * * This version use SDL 2.0 instead of SDL 1.2 in version 1 * Note:The good news for audio is that, with one exception, * it's entirely backwards compatible with 1.2. * That one really important exception: The audio callback * does NOT start with a fully initialized buffer anymore. * You must fully write to the buffer in all cases. In this * example it is SDL_memset(stream, 0, len); * * Version 2.0 */ #include #include #include #define __STDC_CONSTANT_MACROS #ifdef _WIN32 //Windows extern "C" { #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libswresample/swresample.h" #include "SDL2/SDL.h" }; #else //Linux... #ifdef __cplusplus extern "C" { #endif #include #include #include #include #ifdef __cplusplus }; #endif #endif #define MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio //Output PCM #define OUTPUT_PCM 1 //Use SDL #define USE_SDL 1 //Buffer: //|-----------|-------------| //chunk-------pos---len-----| static Uint8 *audio_chunk; static Uint32 audio_len; static Uint8 *audio_pos; /* The audio function callback takes the following parameters: * stream: A pointer to the audio buffer to be filled * len: The length (in bytes) of the audio buffer */ void fill_audio(void *udata,Uint8 *stream,int len){ //SDL 2.0 SDL_memset(stream, 0, len); if(audio_len==0) /* Only play if we have data left */ return; len=(len>audio_len?audio_len:len); /* Mix as much data as possible */ SDL_MixAudio(stream,audio_pos,len,SDL_MIX_MAXVOLUME); audio_pos += len; audio_len -= len; } //----------------- int main(int argc, char* argv[]) { AVFormatContext *pFormatCtx; int i, audioStream; AVCodecContext *pCodecCtx; AVCodec *pCodec; AVPacket *packet; uint8_t *out_buffer; AVFrame *pFrame; SDL_AudioSpec wanted_spec; int ret; uint32_t len = 0; int got_picture; int index = 0; int64_t in_channel_layout; struct SwrContext *au_convert_ctx; FILE *pFile=NULL; char url[]="WavinFlag.aac"; av_register_all(); avformat_network_init(); pFormatCtx = avformat_alloc_context(); //Open if(avformat_open_input(&pFormatCtx,url,NULL,NULL)!=0){ printf("Couldn't open input stream.\n"); return -1; } // Retrieve stream information if(avformat_find_stream_info(pFormatCtx,NULL)<0){ printf("Couldn't find stream information.\n"); return -1; } // Dump valid information onto standard error av_dump_format(pFormatCtx, 0, url, false); // Find the first audio stream audioStream=-1; for(i=0; i < pFormatCtx->nb_streams; i++) if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_AUDIO){ audioStream=i; break; } if(audioStream==-1){ printf("Didn't find a audio stream.\n"); return -1; } // Get a pointer to the codec context for the audio stream pCodecCtx=pFormatCtx->streams[audioStream]->codec; // Find the decoder for the audio stream pCodec=avcodec_find_decoder(pCodecCtx->codec_id); if(pCodec==NULL){ printf("Codec not found.\n"); return -1; } // Open codec if(avcodec_open2(pCodecCtx, pCodec,NULL)<0){ printf("Could not open codec.\n"); return -1; } #if OUTPUT_PCM pFile=fopen("output.pcm", "wb"); #endif packet=(AVPacket *)av_malloc(sizeof(AVPacket)); av_init_packet(packet); //Out Audio Param uint64_t out_channel_layout=AV_CH_LAYOUT_STEREO; //nb_samples: AAC-1024 MP3-1152 int out_nb_samples=pCodecCtx->frame_size; AVSampleFormat out_sample_fmt=AV_SAMPLE_FMT_S16; int out_sample_rate=44100; int out_channels=av_get_channel_layout_nb_channels(out_channel_layout); //Out Buffer Size int out_buffer_size=av_samples_get_buffer_size(NULL,out_channels ,out_nb_samples,out_sample_fmt, 1); out_buffer=(uint8_t *)av_malloc(MAX_AUDIO_FRAME_SIZE*2); pFrame=av_frame_alloc(); //SDL------------------ #if USE_SDL //Init if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) { printf( "Could not initialize SDL - %s\n", SDL_GetError()); return -1; } //SDL_AudioSpec wanted_spec.freq = out_sample_rate; wanted_spec.format = AUDIO_S16SYS; wanted_spec.channels = out_channels; wanted_spec.silence = 0; wanted_spec.samples = out_nb_samples; wanted_spec.callback = fill_audio; wanted_spec.userdata = pCodecCtx; if (SDL_OpenAudio(&wanted_spec, NULL)<0){ printf("can't open audio.\n"); return -1; } #endif //FIX:Some Codec's Context Information is missing in_channel_layout=av_get_default_channel_layout(pCodecCtx->channels); //Swr au_convert_ctx = swr_alloc(); au_convert_ctx=swr_alloc_set_opts(au_convert_ctx,out_channel_layout, out_sample_fmt, out_sample_rate, in_channel_layout,pCodecCtx->sample_fmt , pCodecCtx->sample_rate,0, NULL); swr_init(au_convert_ctx); while(av_read_frame(pFormatCtx, packet)>=0){ if(packet->stream_index==audioStream){ ret = avcodec_decode_audio4( pCodecCtx, pFrame,&got_picture, packet); if ( ret < 0 ) { printf("Error in decoding audio frame.\n"); return -1; } if ( got_picture > 0 ){ swr_convert(au_convert_ctx,&out_buffer, MAX_AUDIO_FRAME_SIZE,(const uint8_t **)pFrame->data , pFrame->nb_samples); #if 1 printf("index:%5d\t pts:%lld\t packet size:%d\n",index,packet->pts,packet->size); #endif #if OUTPUT_PCM //Write PCM fwrite(out_buffer, 1, out_buffer_size, pFile); #endif index++; } #if USE_SDL while(audio_len>0)//Wait until finish SDL_Delay(1); //Set audio buffer (PCM data) audio_chunk = (Uint8 *) out_buffer; //Audio buffer length audio_len =out_buffer_size; audio_pos = audio_chunk; //Play SDL_PauseAudio(0); #endif } av_free_packet(packet); } swr_free(&au_convert_ctx); #if USE_SDL SDL_CloseAudio();//Close SDL SDL_Quit(); #endif // Close file #if OUTPUT_PCM fclose(pFile); #endif av_free(out_buffer); // Close the codec avcodec_close(pCodecCtx); // Close the video file avformat_close_input(&pFormatCtx); return 0; }

资源文件列表:

simplest_ffmpeg_audio_player_2.2.zip 大约有401个文件
  1. .gitignore 32B
  2. ReadMe.txt 1.66KB
  3. simplest_audio_play_sdl2/
  4. simplest_audio_play_sdl2/.gitignore 68B
  5. simplest_audio_play_sdl2/NocturneNo2inEflat_44.1k_s16le.pcm 3.7MB
  6. simplest_audio_play_sdl2/ReadMe.txt 1.16KB
  7. simplest_audio_play_sdl2/SDL2.dll 983.5KB
  8. simplest_audio_play_sdl2/compile_cl.bat 585B
  9. simplest_audio_play_sdl2/compile_gcc.sh 449B
  10. simplest_audio_play_sdl2/compile_mingw.sh 469B
  11. simplest_audio_play_sdl2/include/
  12. simplest_audio_play_sdl2/include/sdl/
  13. simplest_audio_play_sdl2/include/sdl/SDL.h 5.41KB
  14. simplest_audio_play_sdl2/include/sdl/SDL_assert.h 10.74KB
  15. simplest_audio_play_sdl2/include/sdl/SDL_atomic.h 9.06KB
  16. simplest_audio_play_sdl2/include/sdl/SDL_audio.h 20.15KB
  17. simplest_audio_play_sdl2/include/sdl/SDL_bits.h 2.56KB
  18. simplest_audio_play_sdl2/include/sdl/SDL_blendmode.h 2.26KB
  19. simplest_audio_play_sdl2/include/sdl/SDL_clipboard.h 1.99KB
  20. simplest_audio_play_sdl2/include/sdl/SDL_config.h 5.56KB
  21. simplest_audio_play_sdl2/include/sdl/SDL_cpuinfo.h 4.12KB
  22. simplest_audio_play_sdl2/include/sdl/SDL_endian.h 6.04KB
  23. simplest_audio_play_sdl2/include/sdl/SDL_error.h 2.24KB
  24. simplest_audio_play_sdl2/include/sdl/SDL_events.h 26.21KB
  25. simplest_audio_play_sdl2/include/sdl/SDL_filesystem.h 5.26KB
  26. simplest_audio_play_sdl2/include/sdl/SDL_gamecontroller.h 10.56KB
  27. simplest_audio_play_sdl2/include/sdl/SDL_gesture.h 2.19KB
  28. simplest_audio_play_sdl2/include/sdl/SDL_haptic.h 38.79KB
  29. simplest_audio_play_sdl2/include/sdl/SDL_hints.h 19.79KB
  30. simplest_audio_play_sdl2/include/sdl/SDL_joystick.h 8.2KB
  31. simplest_audio_play_sdl2/include/sdl/SDL_keyboard.h 6.49KB
  32. simplest_audio_play_sdl2/include/sdl/SDL_keycode.h 14.83KB
  33. simplest_audio_play_sdl2/include/sdl/SDL_loadso.h 2.88KB
  34. simplest_audio_play_sdl2/include/sdl/SDL_log.h 6.14KB
  35. simplest_audio_play_sdl2/include/sdl/SDL_main.h 4.5KB
  36. simplest_audio_play_sdl2/include/sdl/SDL_messagebox.h 4.64KB
  37. simplest_audio_play_sdl2/include/sdl/SDL_mouse.h 7.47KB
  38. simplest_audio_play_sdl2/include/sdl/SDL_mutex.h 6.75KB
  39. simplest_audio_play_sdl2/include/sdl/SDL_name.h 1.16KB
  40. simplest_audio_play_sdl2/include/sdl/SDL_opengl.h 632.54KB
  41. simplest_audio_play_sdl2/include/sdl/SDL_opengles.h 1.24KB
  42. simplest_audio_play_sdl2/include/sdl/SDL_opengles2.h 131.29KB
  43. simplest_audio_play_sdl2/include/sdl/SDL_pixels.h 15.15KB
  44. simplest_audio_play_sdl2/include/sdl/SDL_platform.h 4.49KB
  45. simplest_audio_play_sdl2/include/sdl/SDL_power.h 2.48KB
  46. simplest_audio_play_sdl2/include/sdl/SDL_quit.h 2.11KB
  47. simplest_audio_play_sdl2/include/sdl/SDL_rect.h 4.17KB
  48. simplest_audio_play_sdl2/include/sdl/SDL_render.h 33.27KB
  49. simplest_audio_play_sdl2/include/sdl/SDL_revision.h 79B
  50. simplest_audio_play_sdl2/include/sdl/SDL_rwops.h 7.3KB
  51. simplest_audio_play_sdl2/include/sdl/SDL_scancode.h 14.99KB
  52. simplest_audio_play_sdl2/include/sdl/SDL_shape.h 5.69KB
  53. simplest_audio_play_sdl2/include/sdl/SDL_stdinc.h 14.18KB
  54. simplest_audio_play_sdl2/include/sdl/SDL_surface.h 18.59KB
  55. simplest_audio_play_sdl2/include/sdl/SDL_system.h 6.94KB
  56. simplest_audio_play_sdl2/include/sdl/SDL_syswm.h 7.23KB
  57. simplest_audio_play_sdl2/include/sdl/SDL_test.h 1.99KB
  58. simplest_audio_play_sdl2/include/sdl/SDL_test_assert.h 3.11KB
  59. simplest_audio_play_sdl2/include/sdl/SDL_test_common.h 4.97KB
  60. simplest_audio_play_sdl2/include/sdl/SDL_test_compare.h 2.13KB
  61. simplest_audio_play_sdl2/include/sdl/SDL_test_crc32.h 3.43KB
  62. simplest_audio_play_sdl2/include/sdl/SDL_test_font.h 2.36KB
  63. simplest_audio_play_sdl2/include/sdl/SDL_test_fuzzer.h 13.13KB
  64. simplest_audio_play_sdl2/include/sdl/SDL_test_harness.h 4.27KB
  65. simplest_audio_play_sdl2/include/sdl/SDL_test_images.h 2.2KB
  66. simplest_audio_play_sdl2/include/sdl/SDL_test_log.h 1.87KB
  67. simplest_audio_play_sdl2/include/sdl/SDL_test_md5.h 4.65KB
  68. simplest_audio_play_sdl2/include/sdl/SDL_test_random.h 3.19KB
  69. simplest_audio_play_sdl2/include/sdl/SDL_thread.h 10.15KB
  70. simplest_audio_play_sdl2/include/sdl/SDL_timer.h 3.49KB
  71. simplest_audio_play_sdl2/include/sdl/SDL_touch.h 2.36KB
  72. simplest_audio_play_sdl2/include/sdl/SDL_types.h 1.04KB
  73. simplest_audio_play_sdl2/include/sdl/SDL_version.h 5.2KB
  74. simplest_audio_play_sdl2/include/sdl/SDL_video.h 33.49KB
  75. simplest_audio_play_sdl2/include/sdl/begin_code.h 4.17KB
  76. simplest_audio_play_sdl2/include/sdl/close_code.h 1.42KB
  77. simplest_audio_play_sdl2/lib/
  78. simplest_audio_play_sdl2/lib/SDL2.lib 113.67KB
  79. simplest_audio_play_sdl2/lib/SDL2main.lib 39.59KB
  80. simplest_audio_play_sdl2/simplest_audio_play_sdl2.cpp 3.24KB
  81. simplest_audio_play_sdl2/simplest_audio_play_sdl2.vcxproj 4.71KB
  82. simplest_audio_play_sdl2/simplest_audio_play_sdl2.vcxproj.filters 1KB
  83. simplest_audio_play_sdl2/simplest_audio_play_sdl2.vcxproj.user 143B
  84. simplest_ffmpeg_audio_decoder/
  85. simplest_ffmpeg_audio_decoder/.gitignore 75B
  86. simplest_ffmpeg_audio_decoder/Readme.txt 466B
  87. simplest_ffmpeg_audio_decoder/avcodec-55.dll 18.06MB
  88. simplest_ffmpeg_audio_decoder/avdevice-55.dll 1.28MB
  89. simplest_ffmpeg_audio_decoder/avfilter-4.dll 1.94MB
  90. simplest_ffmpeg_audio_decoder/avformat-55.dll 5.1MB
  91. simplest_ffmpeg_audio_decoder/avutil-52.dll 408.5KB
  92. simplest_ffmpeg_audio_decoder/compile_cl.bat 642B
  93. simplest_ffmpeg_audio_decoder/compile_gcc.sh 467B
  94. simplest_ffmpeg_audio_decoder/compile_mingw.sh 475B
  95. simplest_ffmpeg_audio_decoder/include/
  96. simplest_ffmpeg_audio_decoder/include/_mingw.h 8.07KB
  97. simplest_ffmpeg_audio_decoder/include/inttypes.h 5.86KB
  98. simplest_ffmpeg_audio_decoder/include/libavcodec/
  99. simplest_ffmpeg_audio_decoder/include/libavcodec/avcodec.h 176.49KB
  100. simplest_ffmpeg_audio_decoder/include/libavcodec/avfft.h 3.15KB
  101. simplest_ffmpeg_audio_decoder/include/libavcodec/dxva2.h 2.43KB
  102. simplest_ffmpeg_audio_decoder/include/libavcodec/old_codec_ids.h 10.79KB
  103. simplest_ffmpeg_audio_decoder/include/libavcodec/vaapi.h 4.08KB
  104. simplest_ffmpeg_audio_decoder/include/libavcodec/vda.h 4.16KB
  105. simplest_ffmpeg_audio_decoder/include/libavcodec/vdpau.h 6.26KB
  106. simplest_ffmpeg_audio_decoder/include/libavcodec/version.h 5.62KB
  107. simplest_ffmpeg_audio_decoder/include/libavcodec/xvmc.h 6.09KB
  108. simplest_ffmpeg_audio_decoder/include/libavdevice/
  109. simplest_ffmpeg_audio_decoder/include/libavdevice/avdevice.h 16.73KB
  110. simplest_ffmpeg_audio_decoder/include/libavdevice/version.h 1.87KB
  111. simplest_ffmpeg_audio_decoder/include/libavfilter/
  112. simplest_ffmpeg_audio_decoder/include/libavfilter/asrc_abuffer.h 3.33KB
  113. simplest_ffmpeg_audio_decoder/include/libavfilter/avcodec.h 3.8KB
  114. simplest_ffmpeg_audio_decoder/include/libavfilter/avfilter.h 57.05KB
  115. simplest_ffmpeg_audio_decoder/include/libavfilter/avfiltergraph.h 1003B
  116. simplest_ffmpeg_audio_decoder/include/libavfilter/buffersink.h 7.56KB
  117. simplest_ffmpeg_audio_decoder/include/libavfilter/buffersrc.h 4.94KB
  118. simplest_ffmpeg_audio_decoder/include/libavfilter/version.h 3.51KB
  119. simplest_ffmpeg_audio_decoder/include/libavformat/
  120. simplest_ffmpeg_audio_decoder/include/libavformat/avformat.h 99.19KB
  121. simplest_ffmpeg_audio_decoder/include/libavformat/avio.h 18.07KB
  122. simplest_ffmpeg_audio_decoder/include/libavformat/version.h 2.84KB
  123. simplest_ffmpeg_audio_decoder/include/libavutil/
  124. simplest_ffmpeg_audio_decoder/include/libavutil/adler32.h 1.6KB
  125. simplest_ffmpeg_audio_decoder/include/libavutil/aes.h 1.85KB
  126. simplest_ffmpeg_audio_decoder/include/libavutil/attributes.h 4.29KB
  127. simplest_ffmpeg_audio_decoder/include/libavutil/audio_fifo.h 4.46KB
  128. simplest_ffmpeg_audio_decoder/include/libavutil/audioconvert.h 88B
  129. simplest_ffmpeg_audio_decoder/include/libavutil/avassert.h 2.13KB
  130. simplest_ffmpeg_audio_decoder/include/libavutil/avconfig.h 218B
  131. simplest_ffmpeg_audio_decoder/include/libavutil/avstring.h 12.53KB
  132. simplest_ffmpeg_audio_decoder/include/libavutil/avutil.h 8.69KB
  133. simplest_ffmpeg_audio_decoder/include/libavutil/base64.h 2.1KB
  134. simplest_ffmpeg_audio_decoder/include/libavutil/blowfish.h 2.33KB
  135. simplest_ffmpeg_audio_decoder/include/libavutil/bprint.h 7.76KB
  136. simplest_ffmpeg_audio_decoder/include/libavutil/bswap.h 2.94KB
  137. simplest_ffmpeg_audio_decoder/include/libavutil/buffer.h 9.81KB
  138. simplest_ffmpeg_audio_decoder/include/libavutil/channel_layout.h 9.1KB
  139. simplest_ffmpeg_audio_decoder/include/libavutil/common.h 14.11KB
  140. simplest_ffmpeg_audio_decoder/include/libavutil/cpu.h 4.73KB
  141. simplest_ffmpeg_audio_decoder/include/libavutil/crc.h 2.8KB
  142. simplest_ffmpeg_audio_decoder/include/libavutil/dict.h 6.53KB
  143. simplest_ffmpeg_audio_decoder/include/libavutil/downmix_info.h 3.2KB
  144. simplest_ffmpeg_audio_decoder/include/libavutil/error.h 4.76KB
  145. simplest_ffmpeg_audio_decoder/include/libavutil/eval.h 5.29KB
  146. simplest_ffmpeg_audio_decoder/include/libavutil/ffversion.h 132B
  147. simplest_ffmpeg_audio_decoder/include/libavutil/fifo.h 4.69KB
  148. simplest_ffmpeg_audio_decoder/include/libavutil/file.h 2.42KB
  149. simplest_ffmpeg_audio_decoder/include/libavutil/frame.h 23.22KB
  150. simplest_ffmpeg_audio_decoder/include/libavutil/hmac.h 2.9KB
  151. simplest_ffmpeg_audio_decoder/include/libavutil/imgutils.h 7.86KB
  152. simplest_ffmpeg_audio_decoder/include/libavutil/intfloat.h 1.76KB
  153. simplest_ffmpeg_audio_decoder/include/libavutil/intfloat_readwrite.h 1.57KB
  154. simplest_ffmpeg_audio_decoder/include/libavutil/intreadwrite.h 18.17KB
  155. simplest_ffmpeg_audio_decoder/include/libavutil/lfg.h 2KB
  156. simplest_ffmpeg_audio_decoder/include/libavutil/log.h 10.12KB
  157. simplest_ffmpeg_audio_decoder/include/libavutil/lzo.h 2.06KB
  158. simplest_ffmpeg_audio_decoder/include/libavutil/macros.h 1.22KB
  159. simplest_ffmpeg_audio_decoder/include/libavutil/mathematics.h 5.22KB
  160. simplest_ffmpeg_audio_decoder/include/libavutil/md5.h 1.99KB
  161. simplest_ffmpeg_audio_decoder/include/libavutil/mem.h 14.4KB
  162. simplest_ffmpeg_audio_decoder/include/libavutil/murmur3.h 1.22KB
  163. simplest_ffmpeg_audio_decoder/include/libavutil/old_pix_fmts.h 14.24KB
  164. simplest_ffmpeg_audio_decoder/include/libavutil/opt.h 34.92KB
  165. simplest_ffmpeg_audio_decoder/include/libavutil/parseutils.h 7.26KB
  166. simplest_ffmpeg_audio_decoder/include/libavutil/pixdesc.h 13.27KB
  167. simplest_ffmpeg_audio_decoder/include/libavutil/pixfmt.h 27.98KB
  168. simplest_ffmpeg_audio_decoder/include/libavutil/random_seed.h 1.41KB
  169. simplest_ffmpeg_audio_decoder/include/libavutil/rational.h 4.25KB
  170. simplest_ffmpeg_audio_decoder/include/libavutil/replaygain.h 1.62KB
  171. simplest_ffmpeg_audio_decoder/include/libavutil/ripemd.h 2.05KB
  172. simplest_ffmpeg_audio_decoder/include/libavutil/samplefmt.h 10.1KB
  173. simplest_ffmpeg_audio_decoder/include/libavutil/sha.h 1.97KB
  174. simplest_ffmpeg_audio_decoder/include/libavutil/sha512.h 2.05KB
  175. simplest_ffmpeg_audio_decoder/include/libavutil/stereo3d.h 3.68KB
  176. simplest_ffmpeg_audio_decoder/include/libavutil/time.h 1.29KB
  177. simplest_ffmpeg_audio_decoder/include/libavutil/timecode.h 5.34KB
  178. simplest_ffmpeg_audio_decoder/include/libavutil/timestamp.h 2.63KB
  179. simplest_ffmpeg_audio_decoder/include/libavutil/version.h 4.52KB
  180. simplest_ffmpeg_audio_decoder/include/libavutil/xtea.h 1.89KB
  181. simplest_ffmpeg_audio_decoder/include/libpostproc/
  182. simplest_ffmpeg_audio_decoder/include/libpostproc/postprocess.h 2.92KB
  183. simplest_ffmpeg_audio_decoder/include/libpostproc/version.h 1.68KB
  184. simplest_ffmpeg_audio_decoder/include/libswresample/
  185. simplest_ffmpeg_audio_decoder/include/libswresample/swresample.h 11.85KB
  186. simplest_ffmpeg_audio_decoder/include/libswresample/version.h 1.7KB
  187. simplest_ffmpeg_audio_decoder/include/libswscale/
  188. simplest_ffmpeg_audio_decoder/include/libswscale/swscale.h 12.32KB
  189. simplest_ffmpeg_audio_decoder/include/libswscale/version.h 2.13KB
  190. simplest_ffmpeg_audio_decoder/include/stdint.h 5.92KB
  191. simplest_ffmpeg_audio_decoder/lib/
  192. simplest_ffmpeg_audio_decoder/lib/avcodec.lib 218.52KB
  193. simplest_ffmpeg_audio_decoder/lib/avdevice.lib 9.22KB
  194. simplest_ffmpeg_audio_decoder/lib/avfilter.lib 66.06KB
  195. simplest_ffmpeg_audio_decoder/lib/avformat.lib 122.13KB
  196. simplest_ffmpeg_audio_decoder/lib/avutil.lib 320.93KB
  197. simplest_ffmpeg_audio_decoder/lib/postproc.lib 8.03KB
  198. simplest_ffmpeg_audio_decoder/lib/swresample.lib 75.54KB
  199. simplest_ffmpeg_audio_decoder/lib/swscale.lib 27.8KB
  200. simplest_ffmpeg_audio_decoder/output.pk 38.83KB
  201. simplest_ffmpeg_audio_decoder/simplest_ffmpeg_audio_decoder.cpp 4.36KB
  202. simplest_ffmpeg_audio_decoder/simplest_ffmpeg_audio_decoder.vcxproj 6.18KB
  203. simplest_ffmpeg_audio_decoder/simplest_ffmpeg_audio_decoder.vcxproj.filters 967B
  204. simplest_ffmpeg_audio_decoder/simplest_ffmpeg_audio_decoder.vcxproj.user 143B
  205. simplest_ffmpeg_audio_decoder/skycity1.mp3 360.28KB
  206. simplest_ffmpeg_audio_decoder/swresample-0.dll 269.5KB
  207. simplest_ffmpeg_audio_decoder/swscale-2.dll 424KB
  208. simplest_ffmpeg_audio_player/
  209. simplest_ffmpeg_audio_player/.gitignore 75B
  210. simplest_ffmpeg_audio_player/ReadMe.txt 1.04KB
  211. simplest_ffmpeg_audio_player/SDL2.dll 983.5KB
  212. simplest_ffmpeg_audio_player/WavinFlag.aac 3.37MB
  213. simplest_ffmpeg_audio_player/avcodec-55.dll 18.06MB
  214. simplest_ffmpeg_audio_player/avdevice-55.dll 1.28MB
  215. simplest_ffmpeg_audio_player/avfilter-4.dll 1.94MB
  216. simplest_ffmpeg_audio_player/avformat-55.dll 5.1MB
  217. simplest_ffmpeg_audio_player/avutil-52.dll 408.5KB
  218. simplest_ffmpeg_audio_player/compile_cl.bat 682B
  219. simplest_ffmpeg_audio_player/compile_gcc.sh 486B
  220. simplest_ffmpeg_audio_player/compile_mingw.sh 504B
  221. simplest_ffmpeg_audio_player/include/
  222. simplest_ffmpeg_audio_player/include/SDL2/
  223. simplest_ffmpeg_audio_player/include/SDL2/SDL.h 5.41KB
  224. simplest_ffmpeg_audio_player/include/SDL2/SDL_assert.h 10.74KB
  225. simplest_ffmpeg_audio_player/include/SDL2/SDL_atomic.h 9.06KB
  226. simplest_ffmpeg_audio_player/include/SDL2/SDL_audio.h 20.15KB
  227. simplest_ffmpeg_audio_player/include/SDL2/SDL_bits.h 2.56KB
  228. simplest_ffmpeg_audio_player/include/SDL2/SDL_blendmode.h 2.26KB
  229. simplest_ffmpeg_audio_player/include/SDL2/SDL_clipboard.h 1.99KB
  230. simplest_ffmpeg_audio_player/include/SDL2/SDL_config.h 5.56KB
  231. simplest_ffmpeg_audio_player/include/SDL2/SDL_cpuinfo.h 4.12KB
  232. simplest_ffmpeg_audio_player/include/SDL2/SDL_endian.h 6.04KB
  233. simplest_ffmpeg_audio_player/include/SDL2/SDL_error.h 2.24KB
  234. simplest_ffmpeg_audio_player/include/SDL2/SDL_events.h 26.21KB
  235. simplest_ffmpeg_audio_player/include/SDL2/SDL_filesystem.h 5.26KB
  236. simplest_ffmpeg_audio_player/include/SDL2/SDL_gamecontroller.h 10.56KB
  237. simplest_ffmpeg_audio_player/include/SDL2/SDL_gesture.h 2.19KB
  238. simplest_ffmpeg_audio_player/include/SDL2/SDL_haptic.h 38.79KB
  239. simplest_ffmpeg_audio_player/include/SDL2/SDL_hints.h 19.79KB
  240. simplest_ffmpeg_audio_player/include/SDL2/SDL_joystick.h 8.2KB
  241. simplest_ffmpeg_audio_player/include/SDL2/SDL_keyboard.h 6.49KB
  242. simplest_ffmpeg_audio_player/include/SDL2/SDL_keycode.h 14.83KB
  243. simplest_ffmpeg_audio_player/include/SDL2/SDL_loadso.h 2.88KB
  244. simplest_ffmpeg_audio_player/include/SDL2/SDL_log.h 6.14KB
  245. simplest_ffmpeg_audio_player/include/SDL2/SDL_main.h 4.5KB
  246. simplest_ffmpeg_audio_player/include/SDL2/SDL_messagebox.h 4.64KB
  247. simplest_ffmpeg_audio_player/include/SDL2/SDL_mouse.h 7.47KB
  248. simplest_ffmpeg_audio_player/include/SDL2/SDL_mutex.h 6.75KB
  249. simplest_ffmpeg_audio_player/include/SDL2/SDL_name.h 1.16KB
  250. simplest_ffmpeg_audio_player/include/SDL2/SDL_opengl.h 632.54KB
  251. simplest_ffmpeg_audio_player/include/SDL2/SDL_opengles.h 1.24KB
  252. simplest_ffmpeg_audio_player/include/SDL2/SDL_opengles2.h 131.29KB
  253. simplest_ffmpeg_audio_player/include/SDL2/SDL_pixels.h 15.15KB
  254. simplest_ffmpeg_audio_player/include/SDL2/SDL_platform.h 4.49KB
  255. simplest_ffmpeg_audio_player/include/SDL2/SDL_power.h 2.48KB
  256. simplest_ffmpeg_audio_player/include/SDL2/SDL_quit.h 2.11KB
  257. simplest_ffmpeg_audio_player/include/SDL2/SDL_rect.h 4.17KB
  258. simplest_ffmpeg_audio_player/include/SDL2/SDL_render.h 33.27KB
  259. simplest_ffmpeg_audio_player/include/SDL2/SDL_revision.h 79B
  260. simplest_ffmpeg_audio_player/include/SDL2/SDL_rwops.h 7.3KB
  261. simplest_ffmpeg_audio_player/include/SDL2/SDL_scancode.h 14.99KB
  262. simplest_ffmpeg_audio_player/include/SDL2/SDL_shape.h 5.69KB
  263. simplest_ffmpeg_audio_player/include/SDL2/SDL_stdinc.h 14.18KB
  264. simplest_ffmpeg_audio_player/include/SDL2/SDL_surface.h 18.59KB
  265. simplest_ffmpeg_audio_player/include/SDL2/SDL_system.h 6.94KB
  266. simplest_ffmpeg_audio_player/include/SDL2/SDL_syswm.h 7.23KB
  267. simplest_ffmpeg_audio_player/include/SDL2/SDL_test.h 1.99KB
  268. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_assert.h 3.11KB
  269. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_common.h 4.97KB
  270. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_compare.h 2.13KB
  271. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_crc32.h 3.43KB
  272. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_font.h 2.36KB
  273. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_fuzzer.h 13.13KB
  274. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_harness.h 4.27KB
  275. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_images.h 2.2KB
  276. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_log.h 1.87KB
  277. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_md5.h 4.65KB
  278. simplest_ffmpeg_audio_player/include/SDL2/SDL_test_random.h 3.19KB
  279. simplest_ffmpeg_audio_player/include/SDL2/SDL_thread.h 10.15KB
  280. simplest_ffmpeg_audio_player/include/SDL2/SDL_timer.h 3.49KB
  281. simplest_ffmpeg_audio_player/include/SDL2/SDL_touch.h 2.36KB
  282. simplest_ffmpeg_audio_player/include/SDL2/SDL_types.h 1.04KB
  283. simplest_ffmpeg_audio_player/include/SDL2/SDL_version.h 5.2KB
  284. simplest_ffmpeg_audio_player/include/SDL2/SDL_video.h 33.49KB
  285. simplest_ffmpeg_audio_player/include/SDL2/begin_code.h 4.17KB
  286. simplest_ffmpeg_audio_player/include/SDL2/close_code.h 1.42KB
  287. simplest_ffmpeg_audio_player/include/_mingw.h 8.07KB
  288. simplest_ffmpeg_audio_player/include/inttypes.h 5.86KB
  289. simplest_ffmpeg_audio_player/include/libavcodec/
  290. simplest_ffmpeg_audio_player/include/libavcodec/avcodec.h 176.49KB
  291. simplest_ffmpeg_audio_player/include/libavcodec/avfft.h 3.15KB
  292. simplest_ffmpeg_audio_player/include/libavcodec/dxva2.h 2.43KB
  293. simplest_ffmpeg_audio_player/include/libavcodec/old_codec_ids.h 10.79KB
  294. simplest_ffmpeg_audio_player/include/libavcodec/vaapi.h 4.08KB
  295. simplest_ffmpeg_audio_player/include/libavcodec/vda.h 4.16KB
  296. simplest_ffmpeg_audio_player/include/libavcodec/vdpau.h 6.26KB
  297. simplest_ffmpeg_audio_player/include/libavcodec/version.h 5.62KB
  298. simplest_ffmpeg_audio_player/include/libavcodec/xvmc.h 6.09KB
  299. simplest_ffmpeg_audio_player/include/libavdevice/
  300. simplest_ffmpeg_audio_player/include/libavdevice/avdevice.h 16.73KB
  301. simplest_ffmpeg_audio_player/include/libavdevice/version.h 1.87KB
  302. simplest_ffmpeg_audio_player/include/libavfilter/
  303. simplest_ffmpeg_audio_player/include/libavfilter/asrc_abuffer.h 3.33KB
  304. simplest_ffmpeg_audio_player/include/libavfilter/avcodec.h 3.8KB
  305. simplest_ffmpeg_audio_player/include/libavfilter/avfilter.h 57.05KB
  306. simplest_ffmpeg_audio_player/include/libavfilter/avfiltergraph.h 1003B
  307. simplest_ffmpeg_audio_player/include/libavfilter/buffersink.h 7.56KB
  308. simplest_ffmpeg_audio_player/include/libavfilter/buffersrc.h 4.94KB
  309. simplest_ffmpeg_audio_player/include/libavfilter/version.h 3.51KB
  310. simplest_ffmpeg_audio_player/include/libavformat/
  311. simplest_ffmpeg_audio_player/include/libavformat/avformat.h 99.19KB
  312. simplest_ffmpeg_audio_player/include/libavformat/avio.h 18.07KB
  313. simplest_ffmpeg_audio_player/include/libavformat/version.h 2.84KB
  314. simplest_ffmpeg_audio_player/include/libavutil/
  315. simplest_ffmpeg_audio_player/include/libavutil/adler32.h 1.6KB
  316. simplest_ffmpeg_audio_player/include/libavutil/aes.h 1.85KB
  317. simplest_ffmpeg_audio_player/include/libavutil/attributes.h 4.29KB
  318. simplest_ffmpeg_audio_player/include/libavutil/audio_fifo.h 4.46KB
  319. simplest_ffmpeg_audio_player/include/libavutil/audioconvert.h 88B
  320. simplest_ffmpeg_audio_player/include/libavutil/avassert.h 2.13KB
  321. simplest_ffmpeg_audio_player/include/libavutil/avconfig.h 218B
  322. simplest_ffmpeg_audio_player/include/libavutil/avstring.h 12.53KB
  323. simplest_ffmpeg_audio_player/include/libavutil/avutil.h 8.69KB
  324. simplest_ffmpeg_audio_player/include/libavutil/base64.h 2.1KB
  325. simplest_ffmpeg_audio_player/include/libavutil/blowfish.h 2.33KB
  326. simplest_ffmpeg_audio_player/include/libavutil/bprint.h 7.76KB
  327. simplest_ffmpeg_audio_player/include/libavutil/bswap.h 2.94KB
  328. simplest_ffmpeg_audio_player/include/libavutil/buffer.h 9.81KB
  329. simplest_ffmpeg_audio_player/include/libavutil/channel_layout.h 9.1KB
  330. simplest_ffmpeg_audio_player/include/libavutil/common.h 14.11KB
  331. simplest_ffmpeg_audio_player/include/libavutil/cpu.h 4.73KB
  332. simplest_ffmpeg_audio_player/include/libavutil/crc.h 2.8KB
  333. simplest_ffmpeg_audio_player/include/libavutil/dict.h 6.53KB
  334. simplest_ffmpeg_audio_player/include/libavutil/downmix_info.h 3.2KB
  335. simplest_ffmpeg_audio_player/include/libavutil/error.h 4.76KB
  336. simplest_ffmpeg_audio_player/include/libavutil/eval.h 5.29KB
  337. simplest_ffmpeg_audio_player/include/libavutil/ffversion.h 132B
  338. simplest_ffmpeg_audio_player/include/libavutil/fifo.h 4.69KB
  339. simplest_ffmpeg_audio_player/include/libavutil/file.h 2.42KB
  340. simplest_ffmpeg_audio_player/include/libavutil/frame.h 23.22KB
  341. simplest_ffmpeg_audio_player/include/libavutil/hmac.h 2.9KB
  342. simplest_ffmpeg_audio_player/include/libavutil/imgutils.h 7.86KB
  343. simplest_ffmpeg_audio_player/include/libavutil/intfloat.h 1.76KB
  344. simplest_ffmpeg_audio_player/include/libavutil/intfloat_readwrite.h 1.57KB
  345. simplest_ffmpeg_audio_player/include/libavutil/intreadwrite.h 18.17KB
  346. simplest_ffmpeg_audio_player/include/libavutil/lfg.h 2KB
  347. simplest_ffmpeg_audio_player/include/libavutil/log.h 10.12KB
  348. simplest_ffmpeg_audio_player/include/libavutil/lzo.h 2.06KB
  349. simplest_ffmpeg_audio_player/include/libavutil/macros.h 1.22KB
  350. simplest_ffmpeg_audio_player/include/libavutil/mathematics.h 5.22KB
  351. simplest_ffmpeg_audio_player/include/libavutil/md5.h 1.99KB
  352. simplest_ffmpeg_audio_player/include/libavutil/mem.h 14.4KB
  353. simplest_ffmpeg_audio_player/include/libavutil/murmur3.h 1.22KB
  354. simplest_ffmpeg_audio_player/include/libavutil/old_pix_fmts.h 14.24KB
  355. simplest_ffmpeg_audio_player/include/libavutil/opt.h 34.92KB
  356. simplest_ffmpeg_audio_player/include/libavutil/parseutils.h 7.26KB
  357. simplest_ffmpeg_audio_player/include/libavutil/pixdesc.h 13.27KB
  358. simplest_ffmpeg_audio_player/include/libavutil/pixfmt.h 27.98KB
  359. simplest_ffmpeg_audio_player/include/libavutil/random_seed.h 1.41KB
  360. simplest_ffmpeg_audio_player/include/libavutil/rational.h 4.25KB
  361. simplest_ffmpeg_audio_player/include/libavutil/replaygain.h 1.62KB
  362. simplest_ffmpeg_audio_player/include/libavutil/ripemd.h 2.05KB
  363. simplest_ffmpeg_audio_player/include/libavutil/samplefmt.h 10.1KB
  364. simplest_ffmpeg_audio_player/include/libavutil/sha.h 1.97KB
  365. simplest_ffmpeg_audio_player/include/libavutil/sha512.h 2.05KB
  366. simplest_ffmpeg_audio_player/include/libavutil/stereo3d.h 3.68KB
  367. simplest_ffmpeg_audio_player/include/libavutil/time.h 1.29KB
  368. simplest_ffmpeg_audio_player/include/libavutil/timecode.h 5.34KB
  369. simplest_ffmpeg_audio_player/include/libavutil/timestamp.h 2.63KB
  370. simplest_ffmpeg_audio_player/include/libavutil/version.h 4.52KB
  371. simplest_ffmpeg_audio_player/include/libavutil/xtea.h 1.89KB
  372. simplest_ffmpeg_audio_player/include/libpostproc/
  373. simplest_ffmpeg_audio_player/include/libpostproc/postprocess.h 2.92KB
  374. simplest_ffmpeg_audio_player/include/libpostproc/version.h 1.68KB
  375. simplest_ffmpeg_audio_player/include/libswresample/
  376. simplest_ffmpeg_audio_player/include/libswresample/swresample.h 11.85KB
  377. simplest_ffmpeg_audio_player/include/libswresample/version.h 1.7KB
  378. simplest_ffmpeg_audio_player/include/libswscale/
  379. simplest_ffmpeg_audio_player/include/libswscale/swscale.h 12.32KB
  380. simplest_ffmpeg_audio_player/include/libswscale/version.h 2.13KB
  381. simplest_ffmpeg_audio_player/include/stdint.h 5.92KB
  382. simplest_ffmpeg_audio_player/lib/
  383. simplest_ffmpeg_audio_player/lib/SDL2.lib 113.67KB
  384. simplest_ffmpeg_audio_player/lib/SDL2main.lib 39.59KB
  385. simplest_ffmpeg_audio_player/lib/avcodec.lib 218.52KB
  386. simplest_ffmpeg_audio_player/lib/avdevice.lib 9.22KB
  387. simplest_ffmpeg_audio_player/lib/avfilter.lib 66.06KB
  388. simplest_ffmpeg_audio_player/lib/avformat.lib 122.13KB
  389. simplest_ffmpeg_audio_player/lib/avutil.lib 320.93KB
  390. simplest_ffmpeg_audio_player/lib/postproc.lib 8.03KB
  391. simplest_ffmpeg_audio_player/lib/swresample.lib 75.54KB
  392. simplest_ffmpeg_audio_player/lib/swscale.lib 27.8KB
  393. simplest_ffmpeg_audio_player/output.pk 6.75KB
  394. simplest_ffmpeg_audio_player/simplest_ffmpeg_audio_player.cpp 6.85KB
  395. simplest_ffmpeg_audio_player/simplest_ffmpeg_audio_player.vcxproj 4.92KB
  396. simplest_ffmpeg_audio_player/simplest_ffmpeg_audio_player.vcxproj.filters 1.01KB
  397. simplest_ffmpeg_audio_player/simplest_ffmpeg_audio_player.vcxproj.user 143B
  398. simplest_ffmpeg_audio_player/swresample-0.dll 269.5KB
  399. simplest_ffmpeg_audio_player/swscale-2.dll 424KB
  400. simplest_ffmpeg_audio_player2.sln 1.94KB
  401. simplest_ffmpeg_audio_player2.suo 30KB
0评论
提交 加载更多评论
其他资源 Visual.Assist.X.V10.8.2007原版安装文件及破解补丁Patch
vc助手 Visual assist的2013.11.15发行的最新2007版本的补丁和原版的安装文件。下载的压缩包内提供了原版的安装文件和破解补丁,为了方便各位使用,具体更新列表以及补丁的使用方法参见我的博客(特别是无法破解的朋友,还有不知道如何破解VC2012的朋友,如果发现有破解不了的情况,一定是你们自己的操作哪里除了问题),因为所有的补丁都是本人在win7/win8以及VC2008,VC2010和VC2012中亲测可用的。 http://blog.csdn.net/PiggyXP
myeclipse 2017 ci 5 文件 下载
微梦联科 myeclipse 2017 ci 5 文件 1.运行keygen目录的crack.bat a.输入Usercode: 任意字母或者数字 b.选择Blue c.点击SystemId(点两次才会生成) d.点击Active e.点击菜单栏->Tools->2.saveProperties 2. 用patch文件夹下的文件覆盖myeclipse2017安装目录下的 plugins 3. 重启myeclipse2017
error: Microsoft Visual C++ 14.0 or greater is required. BUG解决包!
问题解决包,下载他,问题一通百通,一键解决你的烦恼~ 这类错误一般出现在windows环境下,因为windows环境下没有默认安装c的环境。
Versions-1.3.1破解
iOS&Swift高级编程群 Versions-1.3.1破解 支持Mac OS X 10.10 Yosemite
最简单的基于FFmpeg的AVFilter例子(叠加水印)
FFMPEG工程浩大,可以参考的书籍又不是很多,因此很多刚学习FFMPEG的人常常感觉到无从下手。因此特地制作了一个基于FFmpeg中的AVFilter的简单的水印叠加器。 本程序使用FFmpeg的AVfilter实现了视频的水印叠加功能。 可以将一张PNG图片作为水印叠加到视频上。 是最简单的FFmpeg的AVFilter方面的教程。 适合FFmpeg的初学者。 工程基于VC2010。 使用了2014.5.6版本的FFmpeg类库。
Qt (高仿Visio)流程图组件开发,源码分享
内容概要:Qt6.4/c++开发,仿visio实现基本流程图功能,可拖动创建图元,图元之间连线,图元编辑,磁吸线,图元类型可扩建等等。代码功能完备,编写规范,注释清晰。 适用人群:适合有流程图功能开发需求的初学者。 主要涉及类:QGraphicsScene、QGraphicsView、QGraphicsItem。 能学到什么:学习QT视口类、场景类的使用,如何设计并实现一个简单的软件。
115转存助手ui优化版3.9.1网友魔改-转存提取全修复-user
115转存助手ui优化版3.9.1网友魔改_转存提取全修复_user
C/C++中文参考手册离线最新版
C/C++中文参考手册(C++23标准) 离线chm最新版是一份详尽的C++23标准参考手册,适用于C++程序员和开发人员。该手册提供了全面的C++23标准库和语言特性的介绍,包括语法、关键字、数据类型、控制结构、函数、指针、类和对象、继承、多态性、模板和异常处理等内容。 该手册以离线chm格式提供,方便用户在没有互联网连接的情况下查阅和使用。用户只需下载并安装该文件,即可在本地计算机上随时随地查看C++23标准的详细信息。 该手册还提供了大量的示例代码和实用的技巧,帮助用户更好地理解和应用C++23标准。此外,该手册还包含了C++23标准的最新更新和改进,帮助用户跟上最新的技术发展趋势。 总之,C/C++中文参考手册(C++23标准) 离线chm最新版是一份非常有价值的C++参考资源,适用于任何对C++编程感兴趣的人士。