5,575 TGA files need encoded to a video mencoder -color -nosound -ovc copy -o video.avi mf://@list.txt -mf w=1920:h=1080:fps=60:type=tga output: Video stream: 2985992.640 kbit/s (373249080 B/s) size: 34681060350 bytes 92.917 secs 5575 frames then I try to encode it to H.264 mencoder -color -nosound -ovc x264 -x264encopts threads=2:crf=18.0:ssim:me=umh:8x8dct:nofast_pskip:frameref=6:subq=7:mixed_refs:trellis=2:qblur=0:bframes=16:b_pyramid:partitions=all:weight_b:qp_min=0:nodct_decimate -vf harddup -of rawvideo -fps 60 -ofps 60 -o video.264 video.avi then it outputs: MPLAYER: success: format: 0 data: 0x0 - 0x13287a62 DEMUXER: AVI file format detected. DEMUX: [aviheader] Video stream found, -vid 0 HEADER: AVI: ODML: Building ODML index (1 superindexchunks). DEMUX: VIDEO: [MTGA] 1920x1080 24bpp 60.000 fps 2985992.8 kbps (364501.1 kbyte/s) MENCODER: [V] filefmt:3 fourcc:0x4147544D size:1920x1080 fps:60.00 ftime:=0.0167 MENCODER: Input fps will be interpreted as 60.00 instead. VFILTER: Opening video filter: [expand osd=1] VFILTER: Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 VFILTER: Opening video filter: [harddup] ========================================================================== VIDEO: Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family VIDEO: Selected video codec: [fftga] vfm: ffmpeg (FFmpeg TGA decoder) ========================================================================== VIDEO: VDec: vo config request - 1920 x 1080 (preferred colorspace: BGR 24-bit) VIDEO: Could not find matching colorspace - retrying with -vf scale... VFILTER: Opening video filter: [scale] MPLAYER: VDec: using BGR 24-bit as output csp (no 1) MPLAYER: Movie-Aspect is undefined - no prescaling applied. GLOBAL: [swscaler @ 00D062B0]SwScaler: using unscaled bgr24 -> yuv420p special converter MPLAYER: FATAL: Cannot initialize video driver. MENCODER: Exiting...