Hallo

> I'm trying to convert a bunch of PNG files to a MJPEG video on Ubuntu
> 8.04 AMD64,
> (but I've compiled and installed 1.9.0rc3 just right now to see if it
> fixes my problem -
> it did not).
> 
> Anyway, I have a folder full of PNG files that have 1920x1080 dimentions that 
> I
> can convert successfully but with horrible artifacts to MPEG1:
Have you tried mpeg2 ?
That should work at this dimentions better. Either -f 3, oder give -f 
12/13 a change.

> png2yuv -f 23.976 -j SyncFrames/PatternFrame%05d.png -I p -n 100 |
> mpeg2enc -M 2  -g 1 -G 1 -a 1 --cbr -b 30000 -V 4000 -o
> SyncPattern_2398fps.m1v
give a command like that a try:
... | mpeg2enc -M 2 -a 3 -b 10000 -q 6 -V 1000 -f 3 -o file.m2v

> The resulting quality was way too poor (probably also because of my
> misunderstanding
> how MPEG 1 is working and which parameters to pass). Therefore I
> decided to try what
> should have given me predictable results: MJPEG avi/mov file with quality 
> 100%.
Don't use mpeg1 for that resolution.

> png2yuv -f 23.976 -j SyncFrames/PatternFrame%05d.png -I p -n 100 |
> yuv2lav -f q -q 100 -b 4000 -v 2 -o SyncPattern_2398fps.mov
> 
> Unfortunately this encoding fails with the following messages:
> 
>    INFO: [png2yuv] Parsing & checking input files.
>    INFO: [png2yuv] Image dimensions are 1920x1080
>    INFO: [png2yuv] Movie frame rate is:  23.976024 frames/second
>    INFO: [png2yuv] Non-interlaced/progressive frames.
>    INFO: [png2yuv] Frame size:  1920 x 1080
>    INFO: [png2yuv] Now generating YUV4MPEG stream.
>    INFO: [yuv2lav] creating Quicktime output format
> **ERROR: [yuv2lav] Image dimensions (1920x1080) not multiples of 16
> **ERROR: [yuv2lav] Couldn't compress YUV to JPEG
>
> I wonder why there would be a problem compressing a JPEG of 1920x1080
> dimentions?
> Can I create a MJPEG video with 1920x1080 dimensions?
Not soure about that it might be.
Do you have libquiktime installed ?

> Thank you very much in advance.
Sorry but I was offline for quite some time.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to