[Libav-user] [libav-user] problem understanding the output raw audio

Vasil Kostov noobed.hacking at gmail.com
Thu Nov 7 13:15:03 CET 2013


Hello
I'm fairly new to ffmpeg libraries so I'm struggling a little bit right now.
Let me make a case:
I know for sure my input will be a .flv file (flash video)
what I want at the moment is to take the audio stream and encode it into
mp3.
For this purpose I'm extracting the audio stream and resampling it in order
to take use the 2 channels and writing it into file in raw data.

I'm giving a link to my files:
https://gist.github.com/noobed/7353451

afterwards I'm trying the ffprobe command and the result is:
https://gist.github.com/noobed/7351626

links to files:
output :
https://drive.google.com/file/d/0B1qHeuA75H0kVkNDQWt3WXJ4UGM/edit?usp=sharing
input :
https://drive.google.com/file/d/0B1qHeuA75H0kRzJHYllWQlFEMVE/edit?usp=sharing

I'll also attach the source code
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131107/c60ae0c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: convert.cpp
Type: text/x-c++src
Size: 13994 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131107/c60ae0c2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 474 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131107/c60ae0c2/attachment.obj>


More information about the Libav-user mailing list