Hallo

> I now have 9 .eli files that contain sets of 256 repeats a single frame.  Some
> are just 1 image, some have 2 or 3 images in the eli.  I'm not greatly
> impressed with the quality, which doesn't seem as good as the moving picture.
> Tthe first .eli in particular (3 images) has a good first image, but the
> other two look ghosted although the .eli definitely only specifies one frame.
> Very odd.
I really dont get it what you want to tell me/us there.

> Anyway, I then decided to try it another way, and used lavtrans to grab a .jpg
> for each image that I wanted.  So far so good.  It looks as though they are
> clear images, though letter-box format, apparently stretched.  I used the
> form
> lavtrans -o image01.jpg -f i -i 1810 cottingley01.avi
>    INFO: [lavtrans] Frame 1810 grabbed
If the source video has full size like 720x576 for PAL. lavtrans
interleaves both fields of frame into one jpeg file. And many programms
are don'T show the 2nd jpeg in the file. (Howto section: Separate
images) 
For whole size videos you should use that command:
lav2yuv -f 1 -L 1810 file.avi | y4mtoppm | pnmsplit - image.pnm

And now the same command if you want to use y4mtoppm:
lav2yuv -f 1 sophie.eli | y4mtoppm -L >file.ppm

> At this point I came unstuck.  I tried several ways:
> [EMAIL PROTECTED] Cottingley]$ lavtrans -f a  -o coda.avi  image%02d.jpg
> **ERROR: [lavtrans] Error opening image%02d.jpg: No such file or directory
> [EMAIL PROTECTED] Cottingley]$ lavtrans -f a  -o coda.avi  image01.jpg image02.jpg
lavtrans cannot convert jpeg images into a mjpeg format. 

> jpeg2yuv says
> The utility you are looking for is ppmtoy4m
That information was correct for some time. But that problem was
corrected. 

> ppmtoy4m -n 125 -F 25:1 -A 59:54 image%02.jpg
> **ERROR: [lavtrans] Error opening image%02djpg: No such file or directory
ppmtoy4m can only deal with ppm files !!!!

> ppmtoy4m -n 125 -r -F 25:1 -A 59:54 image01.jpg
> [EMAIL PROTECTED] Cottingley]$ ppmtoy4m -n 125 -r -F 25:1 -A 59:54 image01.jpg
>    INFO: [ppmtoy4m] Command-line Parameters:
>    INFO: [ppmtoy4m]              framerate:  25:1
>    INFO: [ppmtoy4m]     pixel aspect ratio:  59:54
>    INFO: [ppmtoy4m]              interlace:  none/progressive
>    INFO: [ppmtoy4m]         starting frame:  0
>    INFO: [ppmtoy4m]            # of frames:  125, repeat last frame until done
>    INFO: [ppmtoy4m]     chroma subsampling:  4:2:0, JPEG/MPEG-1, interstitial
> siting
> **ERROR: [ppmtoy4m] Bad Raw PPM magic!
> 
> So then I tried to put together a command for jpeg-yuv, like this
> jpeg2yuv -f 25 -I p -L 1 -j image%02.jpg
> but there doesn't seem to be an output filename?
You want as output a mjpeg encoded avi/mov or do you want a mpeg video ?
You have to pipe the yuv output to a other programm like mpeg2enc or
yuv2lav.

So the command should look for jpeg2yuv like that guessing that you have
2 interleaved fielss in one single jpeg file and want a jpeg avi with
25frames (1 = sec/PAL):
jpeg2yuv -f 25:1 -I t -l 25 -j file.jpg | yuv2lav -o file.avi

BTW: That reminds me that there was once abug in jpeg2yuv that it did
not loop a certain number like 25, instead it looped forever. So you
might have to stop jpeg2yuv by pressing Crtl-C. After it has reached the
number you want. 

And now the same for the pnm file:
cat file.ppm | ppmtoy4m -n 25 -F 25:1 -S 420jpeg -r | yuv2lav -o
filepnm.avi

After that steps you should have several working mjpeg avi/mov streams.

> The aim is to creat a file that can be concatenated to the main video, to give
> a better ending.  The main video lasts around half an hour.  I am trying to
> make the images display for around 5 seconds each and was hoping to get a 1
> second transition on them, but I don't seem to be able to understand what is
> needed to pull everything together.
You can than feed all parts into lav2yuv:
lav2yuv file1.avi file2.avi .... | ....

> I need a prod in the right direction, please.
I hope that is something you gad in your mind. 

> ps - of course, I'll write it up for you when I finally get things sorted ;-)
Fine :)
I think I have to take a look at the commands. It seams that some might
have changed. 

> Have you visited http://twiki.mdklinuxfaq.org yet?
Not yet ;)

BTW: If there are some questions ofr omthe other mail from 15:13 please
ask them again. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to