Split Audio and Video bitstreams based on FFmpeg
- demux1: Demux a FLV file to H.264 bitstream and mp3 bitstream.
- demux2: Demux a MPEG2TS file to H.264 bitstream and AAC bitstream.
- Use cmake for cross-platform build.
- It doesn't init Output Video/Audio stream's AVFormatContext. It just writes AVPacket's data to files directly.
- Tt's not suitable for some kind of bitstreams. For example, AAC bitstream in FLV/MP4/MKV Container Format(data in AVPacket lack of 7 bytes of ADTS header).
- libavformat
- libavcodec
- libavformat
- libavcodec
- libavutil
./start_build.sh
- build target is located in build/.
demux1
demux2