| 1 |
|
| 2 |
0) Make sure you have the MJPEGtools library and header files installed |
| 3 |
on your system. The Makefile is setup to look for these in |
| 4 |
/usr/local/lib/libmjpegutils.a |
| 5 |
and |
| 6 |
/usr/local/include/mjpegtools/ |
| 7 |
|
| 8 |
You may need/want to edit "Makefile" to change MJPEG_PREFIX or other |
| 9 |
relevant parameters. |
| 10 |
|
| 11 |
1) You may need to edit "y4m-config.h". The foreign build interface of |
| 12 |
MJPEGtools isn't quite up-to-speed yet. This file contains the necessary |
| 13 |
#defines from "mjpeg-config.h" for *my* system. Yours may be different. |
| 14 |
|
| 15 |
If you have built MJPEGtools, you can just copy it into y4m-config.h and |
| 16 |
everything should work a-ok. |
| 17 |
|
| 18 |
2) Do a "make". |
| 19 |
|
| 20 |
3) No errors? Great. There is no "make install". Just move "y4mscaler" |
| 21 |
to wherever you want it. |
| 22 |
|
| 23 |
4) Scale away. |
| 24 |
|
| 25 |
-matt m. |