[MEncoder-users] Want a sample command to convert files to FLV

howard chen howachen at gmail.com
Mon Aug 14 04:32:13 CEST 2006


On 8/14/06, RC <rcooley at spamcop.net> wrote:
> On Sun, 13 Aug 2006 16:05:29 +0800
> "howard chen" <howachen at gmail.com> wrote:
>
> > is it safe to use "-mc 0" in all the conversion ?
>
> Nope.
>
> > another choice I found is to get the correct framerate first, and
> > encode using this as the "ofps", is this choice better than using "-mc
> > 0" if I need to handle various files with unknown framerate?
>
> You only need to detect the framerate before-hand with WMV files to
> begin with.  I don't think any other (common) format uses variable fps.
>

sorry, i am not clear what you say. Is that mean I only need to check
the fps of wmv files for the "ofps" option, for other file, e.g. mov
or 3gp, I can use a fixed "ofps"

> > is it possible to get the FR faster?
>
> -nosound -speed 100 will probably help.

if used -nosound, i can get the average fps, e.g


ID_FILENAME=d:\Temp\2.wmv
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV2
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=ffwmav2
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=64032
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=37.00

BENCHMARKs: VC:   1.954s VO:   0.000s A:   0.000s Sys:   0.062s =    2.016s
BENCHMARK%: VC: 96.9246% VO:  0.0000% A:  0.0000% Sys:  3.0754% = 100.0000%

Otherwise, i can get

BENCHMARKs: VC:   0.092s VO:   0.000s A:   0.032s Sys:  33.595s =   33.719s
BENCHMARK%: VC:  0.2728% VO:  0.0000% A:  0.0949% Sys: 99.6323% = 100.0000%
BENCHMARKn: disp: 502 (14.89 fps)  drop: 3 (0%)  total: 505 (14.98 fps)

i.e. 15 fps

Thanks.



More information about the MEncoder-users mailing list