Jump to content

What rpm has mpeg2encode? [solved]


RVDowning
 Share

Recommended Posts

Well, I have mjpegtools, but still no mpeg2encode as the following attests.

 

[root@localhost rvd]# urpmi mjpegtools

Package mjpegtools-1.9.0-0.rc2.3mdv2008.0.i586 is already installed

[root@localhost rvd]# updatedb

[root@localhost rvd]# locate mpeg2encode

[root@localhost rvd]#

 

When I try the following:

 

[rvd@localhost ImageRecording]$ convert *.jpg test.mpg

 

I get:

 

sh: mpeg2encode: command not found

convert: Delegate failed `"mpeg2encode" "%i" "%o"'.

[rvd@localhost ImageRecording]$

 

Any more ideas?

Link to comment
Share on other sites

Seems that someone has the same problem:

 

http://www.imagemagick.org/pipermail/magic...ril/012579.html

 

there seems to be a package named ppmtompeg, don't know if this is the case with mandriva, after some googling I found someone referring to netpbm, maybe it's part of this package, haven't used this so far, so I'm not really sure.

Link to comment
Share on other sites

To search what rpm has a certain file you do urpmf: in this case:

urpmf mpeg2encode

 

~]$ urpmf mpeg2encode

lib64mjpegtools1.9_0-devel:/usr/include/mjpegtools/mpeg2enc/mpeg2encoder.hh

 

but what you need is mpeg2enc

 

~]$ urpmf -f mpeg2enc

lib64mjpegtools1.9_0-1.9.0-0.rc2.3mdv2008.0.x86_64:/usr/lib64/libmpeg2encpp-1.9.so.0

lib64mjpegtools1.9_0-1.9.0-0.rc2.3mdv2008.0.x86_64:/usr/lib64/libmpeg2encpp-1.9.so.0.1.1

mjpegtools-1.9.0-0.rc2.3mdv2008.0.x86_64:/usr/bin/mpeg2enc

mjpegtools-1.9.0-0.rc2.3mdv2008.0.x86_64:/usr/share/man/man1/mpeg2enc.1.bz2

Link to comment
Share on other sites

Well, I tried "ln -s /usr/bin/mpeg2enc /usr/bin/mpeg2encode" and was close but no cigars. :sad: I get:

 

[root@localhost ImageRecording]# convert *.jpg test3.mpg

**ERROR: [mpeg2encode] Output file name (-o option) is required!

 

Seems the convert program does not pass the appropriate options to mpeg2enc. I'm not sure what to do about this -- perhaps just wait for 2008.1 and see if stuff is fixed then. Sigh.......

Edited by RVDowning
Link to comment
Share on other sites

I know it is not a Mandriva bug. It is just a bug in a program included by default in the distribution. Thought folks here might have an idea how to get the original mpeg2encode that the convert program wanted, or otherwise perhaps suggest a fix or workaround.

Edited by RVDowning
Link to comment
Share on other sites

Thought folks here might have an idea how to get the original mpeg2encode that the convert program wanted
The latest source code that I can find is from July 19, 1996. It compiles without any problems on Mandriva 2008, but I haven't tried to convert anything with it. If you would like to try it, do:
wget ftp://202.136.100.225/mnt5/FreeBSD/ports/distfiles/mpeg2vidcodec_v12.tar.gz

tar xvzf mpeg2vidcodec_v12.tar.gz

cd mpeg2

make

cd src/mpeg2dec

cp mpeg2decode /usr/local/bin

cd ../mpeg2enc

cp mpeg2encode /usr/local/bin

Then you must remove the mpeg2encode symlink from /usr/bin and you should clean up (delete) the ~/mpeg2 directory you've created for the compile.

 

Please let us know if this works for you?

Link to comment
Share on other sites

Well, I tried "ln -s /usr/bin/mpeg2enc /usr/bin/mpeg2encode" and was close but no cigars. :sad: I get:

 

[root@localhost ImageRecording]# convert *.jpg test3.mpg

**ERROR: [mpeg2encode] Output file name (-o option) is required!

According to the error message you used wrong syntax in your command. It should be:

convert *.jpg -o test3.mpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...