Is it possible that the hi-res matrix does not provide the best image 
quality?
My goal is to obtain the highest image quality possible, while the MPEG2 
stream remains compatible with as many DVD players as possible.

Using mjpegtools-1.9.0-rc2
Source is fairly new DV camcorder, but in low light so there's some 
noise. The test scene is in low light.
Typical command line flags are:

mpeg2enc -v 0 -I 1 -f 8 -b 8000 -F 4 -n n  -a 3 -o 
"kids_new_home-2007.11.03_21-39-28.m2v" -c -q 5 -4 1 -2 1 -s -D 10 -H -R 
2 -M 2

I compared hi-res with a custom matrix shown below. In both cases, mplex 
says average bitrate is around 5k and max bitrate is around 8k. Average 
and max are closer together with the custom matrix, yet slightly further 
apart with hi-res.

With hi-res I notice more artifacts, especially in difficult areas (text 
in a book has "hair" around letters).
The custom matrix looks cleaner, fewer artifacts.


This is the custom matrix (suggested by Steven Schultz a while ago):

# High resolution INTRA table
8,16,18,20,24,25,26,30
16,16,20,23,25,26,30,30
18,20,22,24,26,28,29,31
20,21,23,24,26,28,31,31
21,23,24,25,28,30,30,33
23,24,25,28,30,30,33,36
24,25,26,29,29,31,34,38
25,26,28,29,31,34,38,42
# TMPEGEnc NON-INTRA table
16,17,18,19,20,21,22,23
17,18,19,20,21,22,23,24
18,19,20,21,22,23,24,25
19,20,21,22,23,24,26,27
20,21,22,23,25,26,27,28
21,22,23,24,26,27,28,30
22,23,24,26,27,28,30,31
23,24,25,27,28,30,31,33

-- 
Florin Andrei

http://florin.myip.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to