1
2
#include <stdio.h>
#include <stdlib.h>
Take input as audio.mp3, create an output file .bin file.
to compile: gcc -g -o my_decode_audio my_decode_audio.c -lavutil -lavformat -lavcodec -lswresample -lz -lm
to run: ./my_decode_audio audio.mp3 raw.bin
to compile: gcc -g -o my_decode_audio my_decode_audio.c -lavutil -lavformat -lavcodec -lswresample -lz -lm
to run: ./my_decode_audio audio.mp3 raw.bin
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.