I am converting some youtube videos to wav or mp3 to burn to audio cd's and have found a strange problem. It seems like some files will only encode and burn correctly if I use a certain encoder ( I have ffmpeg , winx flv to mp3 , avidemux , format factory , and vlc player - one of these usually works ). The files I am converting use acc audio with a sample rate of 44100 and a bitrate of 131 kb/s according to ffmpeg. When I use ffmpeg I use the command lines :
Is there one set of ffmpeg commands that can convert all the audio for burning to cd ( I'd like to just use one encoder since I can't tell which one works properly until I burn the encoded files to a cd-rw disk to see if it plays properly )? Is there a way to look at the video's specifications to tell which command to use to encode it? Thanks for any information...Code:ffmpeg -i inputFile.flv -ac 2 -vn outputFile.wav //this command works for some files ffmpeg -i inputFile.flv -acodec pcm_s16le -ac 2 -ab 128 -vn -y outputFile.wav //this command works for other files
+ Reply to Thread
Results 1 to 12 of 12
Thread: Converting .flv to .wav for CD
Thread
-
-
I actually have Winff as well and the front-end generates this ffmpeg command for .wav for CD files:
but I haven't had any luck with this command either. I've tried other GUI front-ends for ffmpeg but can't seem to find a command that works for every file. I'm looking for a way to figure out which command to use for which file ( the audio stream specifications of all the files seem identical , but the video aspects differ from file to file - I'm not sure if this has anything to do with the problem ). Anyone know of any books on ffmpeg? Thanks for any information....Code:"C:\Program Files\WinFF\ffmpeg.exe" -y -i input.flv" -vn -ar 44100 "output.wav"
-
If it doesn't work in WinFF then you will need to find another solution since FLV files are bastards from the start. Option 2 for me is SUPER ....but nowadays SUPER is so full of malware/spyware garbage it is no longer a viable option. I use an antique version of SUPER and will never upgrade.

-
In windows I'd probably try opening the video file in audacity, which will open just the audio stream from it. Very convenient. Then your choices will be much broader. You could probably use audacity itself.
I've done just this a bunch of times. -
You could try demuxing the audio first (with FLVExtract) and then open the raw audio file in an audio editor (Audacity, etc).
Scott -
-
You can try TAudioConverter. Also ffmpeg's output will tell you what is wrong, please post it here.
-
I use ffmpeg builds from http://ffmpeg.zeranoe.com/builds/ too. Did you try TAC? Maybe logs there can help you spot what's wrong.
-
Thanks for the replies! I used this command to code a file:
and the CD was not recognized by my CD player. If I use the command:Code:ffmpeg -i inputFile.flv -acodec pcm_s16le -ar 44100 -ac 2 outputFile.wav
the CD will play but a static type noise occurs during high frequency tones. If I encode the files with FormatCode:ffmpeg -i inputFile.flv -acodec pcm_s16le -ac 2 -ab 128 -vn -y outputFile.wav
Factory the CD will play fine , but will stop half-way through the total duration. I can't figure out why I get different
results from different encoders ( I assume the algorithm to encode the video would be the same ).
I am using ffmpeg version N-49044-g89afa63 which I recently got from http://ffmpeg.zeranoe.com/builds/ . I'll giveWhat build of ffmpeg do you have?
I use the builds from Zeranoe, and different than the builds from the
deceased arrozcru Web site, they say absolutely nothing when an error happens.
some of the other suggestions a try when I get a chance ( Audacity , FLVextract , etc. ). The strange thing is
I can encode a .flv file to MPEG-2 for DVD very reliably with ffmpeg , but encoding just the audio stream seems
very tricky .....
Similar Threads
-
Problems converting FLV
By am_dew in forum Video ConversionReplies: 8Last Post: 14th Jul 2010, 23:02 -
converting movie ntsc>pal audio-besweet "wav to wav" option not showing?
By extent in forum Newbie / General discussionsReplies: 2Last Post: 11th Jun 2010, 12:38 -
Converting to Flv.
By JesseJ in forum ffmpegX general discussionReplies: 1Last Post: 1st Apr 2010, 12:16 -
converting from avi to flv
By danrocket in forum Newbie / General discussionsReplies: 5Last Post: 19th Mar 2010, 10:13 -
Problem with artifacts in flv conversion - i.e. converting to flv from avi
By brassplyer in forum Video StreamingReplies: 9Last Post: 30th Apr 2008, 22:09



Quote