i trying following work in c code of ffmpeg library
- decode mp2 audio file.
- write decoded data file named test.sw
- read data test.sw , re-encode mp2 audio file.
for 1 , 2, followed example given in decoding_encoding.c working fine. while reading , re-encoding, can't understand how read test.sw file , encode it. can me that? me lot if can provide me tutorial regarding topic.
as understood question want encode mp2 format.i suggest use encoding technique used mp2 format , use library ,you have 1 library ffmpeg check having encoding .if yes use function , pass decoded file.
you can check it
http://ffmpeg.org/doxygen/trunk/encoding-example_8c-source.html
Comments
Post a Comment