I have a large (17GB, 1264x421 resolution, 7 minute long) quicktime animation file that I'm converting to mjpeg format for playing on a low powered system (VIA C7 1.3 Ghz, 1GB ram - this hardware is a fixed requirement). Using these options: -lavcopts vcodec=mjpeg:vhq:vbitrate=24000 I'm getting a 700MB file that plays back fine, but is lower quality than I would prefer (also this seems to only be about 13 mbits rather than the 24 mbits that I intended to get). I've tried using the ljpeg codec and got a 3GB file that looked very good, but didn't play quite smoothly enough. Most of the quality settings I've found in the docs seem to only apply to divx or other multi frame compression sort of codecs rather than just the basic mjpeg sort of codec. Do any of you have suggestions for getting a higher quality mjpeg file without going all the way to ljpeg? Also, am I using the vbitrate option properly? I'm willing to use other codecs as long as they would be usable on the low end hardware I'm tied to. thanks, morris
On Wed, 21 Nov 2007 12:37:54 -0500 Morris Beverly <morrisb@avpresentations.com> wrote:
I have a large (17GB, 1264x421 resolution, 7 minute long) quicktime animation file that I'm converting to mjpeg format for playing on a low powered system (VIA C7 1.3 Ghz, 1GB ram - this hardware is a fixed requirement).
I would suggest something like MPEG-4 with keyint=1, instead of MJPEG. It should be faster to both encode and decode, and higher quality.
Using these options: -lavcopts vcodec=mjpeg:vhq:vbitrate=24000 I'm getting a 700MB file that plays back fine, but is lower quality than I would prefer (also this seems to only be about 13 mbits rather than the 24 mbits that I intended to get).
For MJPEG, set vqscale to adjust the quality. A bitrate doesn't really make much sense.
On Wed, Nov 21, 2007 at 11:55:43AM -0800, RC wrote:
Using these options: -lavcopts vcodec=mjpeg:vhq:vbitrate=24000 I'm getting a 700MB file that plays back fine, but is lower quality than I would prefer (also this seems to only be about 13 mbits rather than the 24 mbits that I intended to get).
For MJPEG, set vqscale to adjust the quality. A bitrate doesn't really make much sense.
Yes it does. The problem is simply missing qmin and lmin, etc... Rich
RC wrote:
On Wed, 21 Nov 2007 12:37:54 -0500 Morris Beverly <morrisb@avpresentations.com> wrote:
Using these options: -lavcopts vcodec=mjpeg:vhq:vbitrate=24000 I'm getting a 700MB file that plays back fine, but is lower quality than I would prefer (also this seems to only be about 13 mbits rather than the 24 mbits that I intended to get).
For MJPEG, set vqscale to adjust the quality. A bitrate doesn't really make much sense.
Thanks. Using vqscale=0 gave me the size/quality ratio I was looking for. I'll run some tests with mpeg4 on my hardware to see how that works out later. thanks again, morris
participants (3)
-
Morris Beverly -
RC -
Rich Felker