[Mjpeg-users] hi-res matrix - not the best image quality?

2007-11-05 Thread Florin Andrei
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


[Mjpeg-users] mpeg2enc options

2007-11-05 Thread Florin Andrei
-A|--ratecontroller
What's the difference between 0 and 1?

Ever played with larger values for -r when the source is a fairly good 
(new) DV camcorder? Worth bumping it up?

-- 
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


Re: [Mjpeg-users] mpeg2enc is feeling better

2007-11-05 Thread Stefan M. Fendt

Am Montag, den 05.11.2007, 22:45 -0800 schrieb Florin Andrei:

> Oh wait, there's editing. Hm, I've heard that Cinelerra can do that, and 
> perhaps Kdenlive too.

Erm, you won't believe it: blender can do this, too... (And I personally
liked it much more than Cinelerra... it does not crash so often).

cu
Stefan


-
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


Re: [Mjpeg-users] mpeg2enc is feeling better

2007-11-05 Thread Florin Andrei
Steven M. Schultz wrote:
> On Mon, 5 Nov 2007, Florin Andrei wrote:
> 
>> I said this before - you guys should make releases way more often. Very 
> 
>   Of what?  Broken software?   No sense doing a release for the last
>   year or whatever since it was broken.  And now it _may_ be fixed
>   and it's time for testing, not a release.

Well, yeah, but code doesn't change all by itself - there are people 
making the decisions, etc. Basically, it looks like mjpegtools has a too 
long development cycle. All the good stuff is always in CVS, and it 
stays there for years.

>> BTW, if I'm using 1.8.0 (default on Ubuntu), what do I get if I upgrade 
>> to 1.9.0 RC1?
> 
>   The last known working encoder perhaps.  I think it was after RC1 
>   that things broke  rather badly.  Number of the filters were enhanced
>   and I think the deinterlacing and denoising software was heavily
>   revised.

I actually got RC2 and so far so good, I can generate DVD-compatible 
MPEG2 with it.

Oh, look, there's High Definition support. :-) Pretty cool.
Once there are enough HD burners on the market, and there's a way to 
author HD disks on Linux, I'm sold. Capturing HDV is already doable with 
dvgrab, and it looks like mjpegtools can process an HD stream.
Oh wait, there's editing. Hm, I've heard that Cinelerra can do that, and 
perhaps Kdenlive too.

-- 
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


Re: [Mjpeg-users] mpeg2enc is feeling better

2007-11-05 Thread Steven M. Schultz

On Mon, 5 Nov 2007, Florin Andrei wrote:

> I said this before - you guys should make releases way more often. Very 

Of what?  Broken software?   No sense doing a release for the last
year or whatever since it was broken.  And now it _may_ be fixed
and it's time for testing, not a release.

> few people are going to track the CVS.

Then I guess they're not the folks that should be testing unreleased 
and possibly buggy software, right?  That's more of a developer 
(or development assisting) activity and that's what CVS is for.

A release means that testing has been done .  Testing is done out of
cvs and not a release.

> BTW, if I'm using 1.8.0 (default on Ubuntu), what do I get if I upgrade 
> to 1.9.0 RC1?

The last known working encoder perhaps.  I think it was after RC1 
that things broke  rather badly.  Number of the filters were enhanced
and I think the deinterlacing and denoising software was heavily
revised.

Now if you get the current CVS there's memory leaks fixed, further
revisions  / rewrites of the utils/filters.  Build support for OSX
10.5 (done just a couple days ago ;)) and lots more - I don't keep
a list in mind (that's what CVS is for ;))

Cheers,
Steven


-
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


Re: [Mjpeg-users] mpeg2enc is feeling better

2007-11-05 Thread Florin Andrei
Steven M. Schultz wrote:
>   Good News.
> 
>   The author/maintainer of mpeg2enc has obtained a modicum of 
>   development/free time and has checked in, today, changes to
>   mpeg2enc that restore (or should restore ;)) normal operation
>   and produce non corrupted video.
> 
>   So, do a 'cvs update', rebuild and commence testing.

I said this before - you guys should make releases way more often. Very 
few people are going to track the CVS.

BTW, if I'm using 1.8.0 (default on Ubuntu), what do I get if I upgrade 
to 1.9.0 RC1?

-- 
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