
|
84782 packages online
|
|
 |
|
gfx/conv/mpeg_v1.2a.lha |
|
No screenshot available
|
Short: | Stanford MPEG encoder/decoder v1.2 alpha |
Author: | Andy C. Hung (Unix), ported to Amiga by Son H. Le Requirements (at least): 68000 CPU, 2 meg and lotsa harddisk space! |
Uploader: | s924723 minyos xx rmit oz au |
Type: | gfx/conv |
Architecture: | m68k-amigaos |
Date: | 1993-09-08 |
Download: | gfx/conv/mpeg_v1.2a.lha - View contents | Readme: | gfx/conv/mpeg_v1.2a.readme |
Downloads: | 505 |
|
This is the port of Stanford's MPEG utility version 1.2 alpha.
It can encode/decode a mpeg file (.mpg) to its separate Y,U and V
components. Combined with cyuv2ppm (another utility by Andy C. Hung) you
can convert these component files into a standard PPM file or alternative
make a mpeg anim file using ppm2cyuv (note: you'll also need ilbmtoppm).
The PPM file can be manipulated using all sorts of PPM utilities to
alter/fix/enhance the picture and ultimately convert into an displayable
filetype (IFF,GIF,etc).
Sample usage:
Decoding short.mpg anim
SHELL:> mpeg -d -s short.mpeg short
START>SEQUENCE
Transmission rate (bps): 6553200
Image Dimensions: 352x240 MPEG Block Dimensions: 352x240
GOP>FirstFrame: 0
START>Frame: 0
First decoder buffer bits = -256
Intraframe Decode: 0
END>Frame: 0
[snip..snip]
END>Frame: 6
END>SEQUENCE
Will output files short1.Y, short1.U, short1.V .. short6.Y, short6.U and
short6.V. Now you can run "cyuv2ppm" (remember to supply the picture width
and height if they're not the default NTSC: 352x240) through them to
convert them to PPM files and finally "ppmtoilbm" to convert the PPM files
to IFFs.
Or alternatively, if you've got >wb2.04 you can use my Yuv2Iff script
which automatically takes you through these steps.
usage: Yuv2Iff base from to width height
where base is the base filename. eg. in above example base=short
from is the start frame
to is the finish frame (converts "from" to "to" inclusively)
width is the picture frame width \ mpeg will tell you these
height is the picture frame height / at the beginning.
So to continue the "short" decoding example,
SHELL:> Yuv2Iff short 1 6 352 240
Processing... short1.[YUV]
input size: 352x240 output size: 352x240
ppmtoilbm: computing colormap...
ppmtoilbm: too many colors - proceeding to write a HAM6 file
ppmtoilbm: if you want a non-HAM file, try doing a 'ppmquant 32'
short1.Y Deleted
short1.U Deleted
short1.V Deleted
[snip..snip]
Done!
Now you can use MkAnim by John Bickers to convert it to an ANIM7 file.
If you think ppmtoilbm is too slow, try Wasp by Steven Reiz. However,
when used on some mpegs, Wasp didn't make the background black. :(
Bye!
Son Le
|
Contents of gfx/conv/mpeg_v1.2a.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 60003 123692 48.5% -lh5- 569c Sep 3 1993 mpeg
[generic] 4121 13107 31.4% -lh5- eeb6 Sep 4 1993 mpeg.man
[generic] 1289 2493 51.7% -lh5- 9dec Sep 5 1993 readme
[generic] 7737 12420 62.3% -lh5- 4ce0 Sep 1 1993 tools/cyuv2ppm
[generic] 1146 2729 42.0% -lh5- 753f Sep 4 1993 tools/cyuv2ppm.man
[generic] 9528 15580 61.2% -lh5- 3be2 Sep 1 1993 tools/ppm2cyuv
[generic] 1026 2229 46.0% -lh5- f4aa Sep 4 1993 tools/ppm2cyuv.man
[generic] 16557 31324 52.9% -lh5- 2627 Sep 1 1993 tools/ppmtoilbm
[generic] 2459 7085 34.7% -lh5- 220b Sep 1 1993 tools/src/cyuv2ppm.c
[generic] 2652 7994 33.2% -lh5- ee28 Sep 1 1993 tools/src/ppm2cyuv.c
[generic] 270 487 55.4% -lh5- 5288 Sep 3 1993 yuv2iff
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 11 files 106788 219140 48.7% Sep 7 1993
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |