문제

영화로 변환해야 하는 이미지가 28,000개 있습니다.나는 노력했다

mencoder mf://*.jpg -mf w=640:h=480:fps=30:type=jpg -ovc lavc -lavcopts vcodec=msmpeg4v2 -nosound -o ../output-msmpeg4v2.avi

하지만 7500프레임에서는 굉장한 것 같습니다.

파일의 이름은 WebCAM_2007-04-16_070804.JPG WebCAM_2007-04-16_071004.JPG WebCAM_2007-04-16_071204.JPG WebCAM_2007-04-16_071404.JPG 2008 년 3 월

도중에 멈추지 않도록 파일 이름을 mencoder에 전달할 수 있는 다른 방법이 있습니까?

MEncoder 2:1.0~rc2-0ubuntu13 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: *.jpg
[mf] number of files: 28617 (114468)
VIDEO:  [IJPG]  640x480  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:640x480  fps:30.00  ftime:=0.0333
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)
==========================================================================
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (640x480 fourcc=3234504d [MP42])
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos: 251.3s   7539f ( 0%) 47.56fps Trem:   0min   0mb  A-V:0.000 [1202:0]
Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream: 1202.480 kbit/s  (150310 B/s)  size: 37772908 bytes  251.300 secs  7539     frames
도움이 되었습니까?

해결책

한 줄에 하나씩 파일의 이미지 목록을 표시합니다.그런 다음 사용 mf://@filename

다른 팁

해당 프로그램에 대한 구체적인 도움을 받으려면 Freenode IRC의 #mplayer 또는 #ffmpeg로 이동하는 것이 더 나을 수도 있습니다.

LiVES를 사용하여 일련의 이미지로 비디오를 만들 수 있습니다.http://lives.sourceforge.net

모든 이미지를 디렉토리에 넣고 영숫자 순서로 되어 있는지 확인하세요.그런 다음 LiVES에서 파일/파일 또는 디렉토리 열기로 이동하여 이미지 디렉토리를 두 ​​번 클릭하세요.

이미지가 로드되면 클립을 편집하고 다양한 형식으로 저장할 수 있습니다.

또 다른 대안은 mencoder를 우회하고 ffmpeg를 직접 사용하는 것입니다.

좀 이상한 대답이군요...하지만 블렌더가 일련의 이미지로 비디오를 구성할 수 있다고 생각했습니다.그냥 생각입니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top