[MEncoder-users] Problem using MEncoder on .JPG files

Enrico Mattea ocirne94 at virgilio.it
Fri Apr 11 16:37:33 CEST 2008


Hi!
I have some .JPG images to encode. They're frames from a movie I 
registered in a game (torcs.sourceforge.net) and I converted from png to 
jpg using png2jpg program. In Konsole (Linux Kubuntu 7.10) first I cd to 
the input directory, then I run the following command, that I found on 
the game's site 
(http://torcs.sourceforge.net/index.php?name=Sections&op=viewarticle&artid=30):

mencoder -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1800 *.jpg -mf 
on:fps=25 -o /home/enrico/Desktop/Try1.avi

So it says:

MEncoder 2:1.0~rc2-0ubuntu1~gutsy1 (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.
*-mf on has been removed, use mf:// instead.

*So:

enrico at enrico:~/.torcs/captures$ mencoder -ovc lavc -lavcopts 
vcodec=mpeg4:vhq:vbitrate=1800 *./*jpg*/ mf:// on:fps=25 -o 
/home/enrico/Desktop/Try1.avi
MEncoder 2:1.0~rc2-0ubuntu1~gutsy1 (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.

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
File not found: '*.jpg'
Failed to open *.jpg.
Cannot open file/device.

And so (it's the last one):

enrico at enrico:~/.torcs/captures$ mencoder -ovc lavc -lavcopts 
vcodec=mpeg4:vhq:vbitrate=1800 *./*JPG*/ mf:// on:fps=25 -o 
/home/enrico/Desktop/Try1.avi
MEncoder 2:1.0~rc2-0ubuntu1~gutsy1 (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.

WARNING: OUTPUT FILE FORMAT IS _AVI_. *See -of help*.
success: format: 0  data: 0x0 - 0x65dea
============ Sorry, this file format is not recognized/supported 
=============
=== If this file is an AVI, ASF or MPEG stream, please contact the 
author! ===
Cannot open demuxer.

I saw -of help, but also using other formats it always said the same 
error message.
Could someone help me?
Thanks
Yours
Ocirne
**



More information about the MEncoder-users mailing list