I've tried converting some videos from WMV format to FLV, via FFMPEG, but all the videos that get converted have messed up audio, and the video is not correct as well (they're all like this sample: http://www.oldevents.com/~silly/out.flv )
If anyone knows whats causing this, and how it can be fixed, I'd appreciate it. Thanks
This is what I use for converting WMV:bc.. ffmpeg -i "CardTricks.wmv" -sameq -acodec libmp3lame -ar 22050 -ab 96000 -deinterlace -nr 500 -s 320x240 -aspect 4:3 -r 20 -g 500 -me_range 20 -b 270k -deinterlace -f flv -y "CardTricks.flv" 2>CardTricks.txt Change the size and aspect ratio to suit your video.
I just ran your same command but changed the input file, and I still have the same issue. You can see the video it made for me at http://www.oldevents.com/~silly/CardTricks.flv
And the output (the txt file as well) at http://www.oldevents.com/~silly/CardTricks.flv
If it helps, this is on one of my dedicated servers, which also has cpanel setup.
there seems to be an issue with my installation of ffmpeg. All things I try (even with yours) result in a video like the one I posted (the converted one). These are things I tried on ffmpeg on my server.
Yet when I installed ffmpeg myself from source on my laptop, I was able to get the conversion working... so I'm not sure what's wrong with server ;)
I seem to have solved one issue with FFMPEG and been man handled with another. I solved a codec issue and now when trying to encode 720p HD video with 5.1 audio I get the sudden urge to cut off my left pinky and go on work leave. All jokes aside here is my working script but I forced no audio:
SOLVED! I just read this at http://ffmpeg.org/: "One of the last entrenchments of proprietary multimedia has fallen: Windows Media Audio Pro support is finally available in FFmpeg. It decodes all known samples flawlessly and is considerably faster than the binary decoder from Microsoft."