Project for learning FFmpeg with C++.
Read file and play.
- compile code to littlePlayer.exe
- run: ./littlePlayer.exe /path/to/target/xxx.mp4
- 修改CMakeLists.txt的add_executable部分,把test路径下的cpp文件加入
- main.cpp, 修改main方法,使其调用test路径下的runTest.cpp
- testPlayVideo 仅播放视频,根据自己的路径,修改inputPath
- testPlayAudio 仅播放音频,根据自己的路径,修改inputPath
- FFmpeg latest API
- Easy API
- SDL2
- C++11
- Video only
- CMake
- Audio some day?
- Read media file and transfer it to pixel format file.
- Play pixel format file using ffplay.
- Read pixel format file and draw data on SDL.
- Read media file and draw picture using SDL.
- Read mp3 file and play it.
- Play video with audio.
- play file with audio only or video only.