Error
-
I'm trying to a rather odd conversion: a set of wmv to FLVs transport streams. The command I'm using is: Most of the time it works. However, some FLVs are encoded differently than others, and I sometimes get this error: fmpeg.StartInfo.Arguments = " -i " + video + " -s 480*360 -deinterlace -ab 32 -r 15 -ar 22050 -ac 1" + mpg; FFmpeg version Sherpya-r13537, Copyright (c) 2000-2008 Fabrice Bellard, et al. libavutil version: 49.6.0 libavcodec version: 51.57.0 libavformat version: 52.14.0 libavdevice version: 52.0.0 libavfilter version: 0.0.0 built on May 29 2008 21:35:56, gcc: 4.2.3 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1) Input #0, asf, from 'D:\finalconverter\inputfolder\movie.wmv': Duration: 00:04:49.94, start: 5.000000, bitrate: 78 kb/s Stream #0.0: Audio: wmav2, 16000 Hz, mono, 16 kb/s Stream #0.1: Video: wmv3, yuv420p, 320x240, 58 kb/s, 15.00 tb(r) Output #0, flv, to 'D:\finalconverter\outputfolder\movie.flv': Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 15.00 tb(c) Stream #0.1: Audio: libmp3lame, 16000 Hz, mono, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 [libmp3lame @ 00B13560]flv does not support that sample rate, choose from (44100, 22050, 11025). Could not write header for output file #0 (incorrect codec parameters ?) Why isn't the command working?