[MEncoder-users] 5s video from one picture (jpg)

GeBu gebu at seznam.cz
Fri Mar 10 21:32:20 CET 2006


> Also on window you should use mf://temp/uvod*.jpg
Did you tried it? It does not work for me.
> That is: '/' and no quoting of the '*'
Try this:
mkdir temp
FOR /L %%G IN (1,1,124) DO copy uvod.jpg temp\uvod%%G.jpg
mencoder mf://temp/uvod*.jpg -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:trell -oac copy -o uvoda.avi
rmdir /S /Q temp

mplayer crashes:
C:\Programs\mplayer>mencoder mf://temp/uvod*.jpg -ovc lavc -lavcopts
vcodec=mpeg
4 -oac copy -o vyst1/uvoda.avi
MEncoder dev-CVS-050928-16:38-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
success: format: 16  data: 0x0 - 0x0
[demux_mf] file type was not set! trying 'type=jpg'...
[mf] search expr: temp/uvod*.jpg
[mf] number of files: 124 (496)
VIDEO:  [IJPG]  0x0  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:0x0  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp h
eader.

Flushing video frames
[NULL @ 009849F8]picture size invalid (0x0)

And the output file is locked :(.

Jirka (GeBu)




More information about the MEncoder-users mailing list