trying to convert from flv to mp3
guys, I've downloaded a prebuild version of ffmpeg and I'm using it to convert flv to mp3; however, I'm getting errors
Code:
ffmpeg -vn -sn -i input.flv -acodec libmp3lame law4.mp3 |
get mediainfo and check the integrity of the flv, and all codecs used.
it seems like the ffmpeg does not recognize any audio stream, it has been compiled without support for the specific codec used in the flv container. are you able to play the flv via mplayer? if yes, paste the output of Code:
mplayer input.flv -vo null -endpos 1 1> get mencoder to demux the flv ( if mplayer works fine ) Code:
mencoder input.flv -of rawaudio -oac mp3lame -ovc copy -o audio.mp3 3> recompile ffmpeg or mplayer/mencoder with the audio codec support |
Quote:
Code:
mplayer "48 laws of power by Robert Greene Law 04.flv" -vo null -endpos 1 |
according to my ffmpeg installation it supports Muxing and Demuxing for flv files
Code:
ffmpeg -formats | grep flv |
post the output of 'mediainfo' utility
and get the mplayer source: http://www.mplayerhq.hu/MPlayer/rele...apshot.tar.bz2 now, you might need to install 'git' ( if you do not have it already ) - it will pull ffmpeg source ( mplayer dependency ) once the snapshot extracted, enter the source directory and run: # ./configure # make clean # make # make install the new mplayer will be installed in '/usr/local/bin/mplayer' so in order to ececute the new version you will need to enter the full path, or use uninstall mplayer via apt-get or aptitude... also, there is a few of other codec packages, that do not come with mplayer: faad - freeware Advanced Audio Decoder player faad2-dbg - freeware Advanced Audio Decoder - debugging symbols libfaad-dev - freeware Advanced Audio Decoder - development files libfaad2 - freeware Advanced Audio Decoder - runtime files libvorbis-dev - The Vorbis General Audio Compression Codec (development files) libvorbis0a - The Vorbis General Audio Compression Codec (Decoder library) libvorbisenc2 - The Vorbis General Audio Compression Codec (Encoder library) libvorbisfile3 - The Vorbis General Audio Compression Codec (High Level API) so if you still unable to use mplayer after recompiling, get these packages, re-run ./configure, and repeat all make steps... being able to process a 'flv' container does not mean it will be able to play all the a/v content... you still need a player that has access to the codecs ( either internal via libavcodec or external ones used during the compilation process, or shared libraries )... without knowing what type of codec is being used in the flv, it is sometimes not easy to guess... sometimes codecs used in a container are closed source/proprietary, mediainfo should be able to give you/us some idea... |
Your file has no audio stream...
|
All times are GMT -5. The time now is 08:09 PM. |