[Mjpeg-users] transcoding from avi to divx (miro dc30+)

2003-02-11 Thread Harondel J. Sibble
What do folks recommend for transcoding a 12gb+ mjpeg avi file created under 
Windows 2000 with the Miro DC30+ into a divx file?  Can the current mjpeg 
tools handle this?  

I know the dc30 isn't really well supported yet, so I have some concerns that 
I'll have troubles with the current mjpeg tools when trying to convert the 
aforementioned avi file.
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
[EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)  (604) 686-2253 (pager)




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] PAL and NTSC image sizes [was: MJPEG encodingperformances]

2003-02-11 Thread Florin Andrei
On Tue, 2003-02-11 at 07:21, Martin Collins wrote:
> On 10 Feb 2003 20:40:29 -0800
> Florin Andrei <[EMAIL PROTECTED]> wrote:
> 
> > What is the same typical image rescale for PAL?
> > 720x576 --> ??? - is it 720x540?
> 
> Of the 720 width line only 704 pixels have image info. PAL pixel
> aspect ratio is 59:54 so to get square pixels you scale 704x576
> to 768x576.

That means you have to cut 8 pixels each from the left and the right
margins before rescaling?
That's odd, at least for someone who worked only with NTSC DV (i only do
a rescale on the Digital8 streams i'm working with).

What is the reason it is preferred to increase the size of the image
(from 704 to 768)? The information remains the same after all
(notwithstanding the interpolation noise).
Is it because it is preferred to have the final product in a standard
image size?

-- 
Florin Andrei

http://florin.myip.org/



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] yuvdenoise -l

2003-02-11 Thread Edouard Chalaron
Hi all,
What the -l stands for in yuvdenoise ?
Thanks
Edouard


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread Aaron Newsome
On Tue, 2003-02-11 at 10:50, Steven M. Schultz wrote:
> Hi!
> 
> > From: Aaron Newsome <[EMAIL PROTECTED]>
> > Good luck getting your DVD player to play back DVD-R DVDs encoded with
> > bitrates this high. If it does happen to work then you have a better DVD
> > player than the ones I've tried. My reliable playback threshold with
> > mjpegtools for all my DVD players, tops out at about 7000. I'd say at
> > 7000, 95% of my DVDs work with no problems. Which is why I dropped down
> 
>   That's about the highest I've ever used.  Not because the Philips
>   couldn't play it but because at that rate you can't fit more than
>   ~1hr on the media.
> 

Well I meant 7000 max, VBR. :-)

> > Weird thing is, store bought DVDs often go up to the DVD spec max and
> > playback with no problem. Of course the PC DVD players play just about
> 
>   Hmmm, I don't know how often they go right up to the max - I have 
>   seen a couple that were fairly high though.   The commercial DVDs
>   have the added advantage of being dual layered ;)   Hmmm, one set
>   of DVDs I have are  2 discs each iwth both discs being dual layered
>   (they included 5.1, PCM and AC3 audio tracks which had to use a ton
>   of bits on top  of the video).

My Pioneer DV440 has a bitrate display that will overlay on top of the
picture, and show you the current bitrate of the video stream. Not sure
how accurate this thing is but on high action movies, explosions and
such, it peaks out pretty high. Does anyone else have a DVD player with
a bitrate overlay feature? What does it say?


>   I have read that the speed at which you burn the DVD can make a
>   difference.   Recording at 1x takes twice as long (obviously) as
>   2x but the results were more playable in some cases.
> 
>   I think part of the problem is the lower reflectivity of the 
>   recordable media compared to the stamped/pressed discs one buys
>   at the store.

Certainly reflectivity. Probably more important is good media, some
words I should probably heed since all my DVD media are of the 85 cents
per disk variety.

--Aaron



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] Unzip buz.zip - slightly non-trivial

2003-02-11 Thread Alan Cox
On Tue, 2003-02-11 at 11:32, Gernot Ziegler wrote:
> Now are there someone among you that are good at such stuff ?
> The file, called buz.zip, is 4,5 Meg, it is possible to see the filenames
> in the decompression process
> - I send it to anyone who requests it from me and wants to give it a 
> shot :-}

Zip at least used to be a fairly crap encryption so there are zip
cracking tools around that just sit and crunch it. 

> The cracking process is not illegal, I got permission from Iomega's Buz
> hardware developer to do so !

In the US the DMCA makes it an offence to do so even if you own the content!
Fortunately the outside world (and probably the US courts) are saner than that

Alan



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] Pb of timing when creating movies from still pictures

2003-02-11 Thread didier


We are trying to create movies using pictures
collected every minutes from our netcams.

We use the following chain of programs:

jpeg2yuv -f 5 -j image%05d.jpg -I p | mpeg2enc -a 1 -F 5 movie.m1v

The resulting movie is 47s long !

Is there a know way (or existing script) that fix the timing issue ?

Somehow I am guessing we need to repeat / concatenate each
image several times in order to fix the issue.

Thanks in advance for any suggestion.

Regards - Didier.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-developer] Re: [Mjpeg-users] where from I get MJPEG source files

2003-02-11 Thread John Ribera
Windows just cant hang with intensive CPU and file I/O that these tools
require, IMO. The cygwin stuff is there if you just dont want to dual boot
into Linux tho. I use it occasionally.


- Original Message -
From: "Gernot Ziegler" <[EMAIL PROTECTED]>
To: "natarajan thirunavukkarasu" <[EMAIL PROTECTED]>
Cc: "MJPEG/Linux list" <[EMAIL PROTECTED]>; "MJPEG/Linux
users list" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 1:33 PM
Subject: Re: [Mjpeg-developer] Re: [Mjpeg-users] where from I get MJPEG
source files


> >  natarajan thirunavukkarasu <[EMAIL PROTECTED]> wrote:I want to
build MJPEG encoder & decoder in VC++
> > environment. Where can i get source codes? What is the
> > procedure to build such an application on VC++
> > environment?.
> There are two options, one is to build it inside the cygwin environment
> (google on the net for more info), that is easier;
> the other one is to compile it natively - that will require considerable
> porting effort ... you will need to verify that all libraries are
> available first (libjpg, libpng, quicktime support, etc), then to find out
> how to access MJPEG recording devices in Windows, and then finally port
the sourcecode (you can deactivate portions
> of the code in the meanwhile, though)
>
> We are using CVS for our sourcecode, google on the net for the CVS book
> for more information - we can establish a CVS branch if you want to take
> on this _huge_ undertaking :-)
>
> Servus,
>   Gernot
>
> --
> TW-E-L-C-O-M-E--T
> | The Austria <=> Sweden connection.H
> OHomepage: http://www.lysator.liu.se/~gzE
> \--F-U-T-U-R-E--/
>
>
> ---
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> ___
> Mjpeg-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mjpeg-users
>



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] 90 minute SVCD

2003-02-11 Thread Steven M. Schultz
Hi!

> From: Andrew Stevens <[EMAIL PROTECTED]>
> On Tuesday 11 Feb 2003 6:20 am, Derek Fountain wrote:
> > I have a 90 minute movie which I want to burn onto one CD which I can play
> > on my DVD player. I'm not worried about quality, just the convenience of
> > not having to change disks half way through.
> 
> You probably won't be able to build an SVCD for 90 minutes with acceptable 
> video quality.   The Data-rate would fall below the ranges for which MPEG-2 
> works well.   To achieve it: set the Data-rate low enough.   You'd need 
> around 1300Kbps total to fit it onto an 80-minute CD-R blank.
> 
> No idea how high you'd want to set base quantisation but I'd suspect at least 
> 12.

The other thing that could be tried, but it would be a VCD variant
rather than SVCD, would be VBR MPEG-1.   Some (many?) players will
accept XVCDs that use nonstandard encoding.  With suitable filtering
and quantisation it might be possible to cram 90 minutes of 352x240
(or 352x288 for PAL) VBR MPEG-1 on a single CD-R.

The most I was ever able to get onto a SVCD was about 52 minutes
by fairly aggressive filtering and source material that was not too
bad to begin with.

Cheers,
Steven Schultz


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] MPEG file informations

2003-02-11 Thread Adrian
Am Dienstag, 11. Februar 2003 10:01 schrieb CAULIER Gilles:
> Hi,
>
> How to get some informations about MPEG file (Format MPEG1/2, display
> resolution, encoding PAL/SECAM/NTSC, duration, etc...)
>
> Thanks

Well, I use mpginfo from the mpgtx package,
http://mpgtx.sourceforge.net

It works with mpeg1 / mpeg2 system streams and also with video only or mp2 
audio only.
Sample output:

adi@adispc:/home/Transfer/movies> mpginfo bebop-intro_svcd.mpg
bebop-intro_svcd.mpg
  Mpeg 2 Program Stream File [Video/Audio]
  Muxrate : 2.79 Mbps
  Estimated Duration: 02:11.02s
  Aspect ratio 4/3 (TV)
  Interlaced, chroma format: 4:2:0
  Video Format: PAL
  Size [480 x 576] 25.00 fps2.50 Mbps
  Audio : Mpeg 1 layer 2
  224 kbps  44100 Hz
  Stereo,  No emphasis

(an mpeg2enc / toolame /mplex created SVCD file)

Some people from the vcdimager forums use it for scripts, too
see: http://forums.vcdimager.org/viewtopic.php?p=981&highlight=#981

If this is enough for you ...


Adrian




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] 90 minute SVCD

2003-02-11 Thread Andrew Stevens
On Tuesday 11 Feb 2003 6:20 am, Derek Fountain wrote:
> I have a 90 minute movie which I want to burn onto one CD which I can play
> on my DVD player. I'm not worried about quality, just the convenience of
> not having to change disks half way through.
>
> lav2mpeg does a great job of creating VCD and SVCD mpeg files which are
> good quality, but too big. What can I tweak to get the size right down?
> Would an SVCD with an abnormally low bit rate be the solution? Is there any
> way of working out how many MB 90 minutes takes based on bitrate?

You probably won't be able to build an SVCD for 90 minutes with acceptable 
video quality.   The Data-rate would fall below the ranges for which MPEG-2 
works well.   To achieve it: set the Data-rate low enough.   You'd need 
around 1300Kbps total to fit it onto an 80-minute CD-R blank.

No idea how high you'd want to set base quantisation but I'd suspect at least 
12.

Andrew



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] where from I get MJPEG source files

2003-02-11 Thread Andrew Stevens
On Tuesday 11 Feb 2003 2:21 pm, natarajan thirunavukkarasu wrote:
> Hi,
>
>   I want to build MJPEG encoder & decoder in VC++
> environment. Where can i get source codes? What is the
> procedure to build such an application on VC++
> environment?.
>
> Kindly response
>
> Regards,
> Arasu

A port of the mplex source-code to the Win32 environement is currently under 
way.   I will be mergeing the changes the author has made into the CVS over 
the next couple of days.

Andrew


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread Steven M. Schultz
Hi!

> From: Aaron Newsome <[EMAIL PROTECTED]>
> Good luck getting your DVD player to play back DVD-R DVDs encoded with
> bitrates this high. If it does happen to work then you have a better DVD
> player than the ones I've tried. My reliable playback threshold with
> mjpegtools for all my DVD players, tops out at about 7000. I'd say at
> 7000, 95% of my DVDs work with no problems. Which is why I dropped down

That's about the highest I've ever used.  Not because the Philips
couldn't play it but because at that rate you can't fit more than
~1hr on the media.

When the bitrate reported by mplex gets much over 6000 I start
cranking up the filters so that the movie will fit on a single DVD.
The other day I had a 98 minute movie that unfiltered would have
ran right up against the 7500 limit and not fit on a single disc.
Bit of filtering brought the rate down to around 6000 (won't know
for sure until the run finishes in about 5 hours).

> Weird thing is, store bought DVDs often go up to the DVD spec max and
> playback with no problem. Of course the PC DVD players play just about

Hmmm, I don't know how often they go right up to the max - I have 
seen a couple that were fairly high though.   The commercial DVDs
have the added advantage of being dual layered ;)   Hmmm, one set
of DVDs I have are  2 discs each iwth both discs being dual layered
(they included 5.1, PCM and AC3 audio tracks which had to use a ton
of bits on top  of the video).

> any bitrate from any medium. A lot more forgiving they are.

I have read that the speed at which you burn the DVD can make a
difference.   Recording at 1x takes twice as long (obviously) as
2x but the results were more playable in some cases.

I think part of the problem is the lower reflectivity of the 
recordable media compared to the stamped/pressed discs one buys
at the store.

Cheers,
Steven Schultz


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread Steven M. Schultz
Hi -

> From: Steven Boswell II <[EMAIL PROTECTED]>
> Is that with or without my one-line patch?  Just making surebecause 
> adding "if (denoisier.sharpen == 0) return;" to the beginning of 
> sharpen_frame() was what it took to speed things up for me...

Nothing needed to be patched in the CVS version of yuvdenoise - the
check for sharpen == 0 has been there for some time.   The patch was
needed at one time for the non-cvs version though.

Overall though the speedup isn't all that noticeable as the number
of stages in the pipeline increase.  But still, a speedup where possible
is always welcome ;)

Steven Schultz


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-developer] Re: [Mjpeg-users] where from I get MJPEG sourcefiles

2003-02-11 Thread Gernot Ziegler
>  natarajan thirunavukkarasu <[EMAIL PROTECTED]> wrote:I want to build MJPEG 
>encoder & decoder in VC++
> environment. Where can i get source codes? What is the
> procedure to build such an application on VC++
> environment?.
There are two options, one is to build it inside the cygwin environment
(google on the net for more info), that is easier;
the other one is to compile it natively - that will require considerable
porting effort ... you will need to verify that all libraries are
available first (libjpg, libpng, quicktime support, etc), then to find out
how to access MJPEG recording devices in Windows, and then finally port the sourcecode 
(you can deactivate portions
of the code in the meanwhile, though)

We are using CVS for our sourcecode, google on the net for the CVS book
for more information - we can establish a CVS branch if you want to take
on this _huge_ undertaking :-)

Servus,
  Gernot

-- 
TW-E-L-C-O-M-E--T
| The Austria <=> Sweden connection.H
OHomepage: http://www.lysator.liu.se/~gzE
\--F-U-T-U-R-E--/


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread Steven Boswell II
Is that with or without my one-line patch?  Just making surebecause adding "if (denoisier.sharpen == 0) return;" to the beginning of sharpen_frame() was what it took to speed things up for me. (Just wanted to verify my observation was valid :-)
Steven Boswell, [EMAIL PROTECTED]
 
 "Steven M. Schultz" <[EMAIL PROTECTED]> wrote:
If you do you the denoiser then "-S 0" should be used to avoid introducting bitnoise (using "-S 0" also speeds up yuvdenoise about 20%)Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

Re: [Mjpeg-users] where from I get MJPEG source files

2003-02-11 Thread Steven Boswell II
I don't think it's been ported to Windows.  You're free to be the one who does it, though :-)
Steven Boswell, [EMAIL PROTECTED]
 
 natarajan thirunavukkarasu <[EMAIL PROTECTED]> wrote:
I want to build MJPEG encoder & decoder in VC++environment. Where can i get source codes? What is theprocedure to build such an application on VC++environment?. Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

Re: [Mjpeg-users] 90 minute SVCD

2003-02-11 Thread Steven Boswell II
I produce a lot of VCDs.  I haven't started doing SVCDs yet, because no one I know has a DVD player that can handle them. (Gotta make what works across most peoples' equipment, right? :-)
I reduce my audio/video bitrates in order to write longer movies onto VCDs.  I'll put up to 100 minutes or so onto a VCD before I get unhappy with the quality.
My formula for calculating bitrates for VCDs looks like this. Divide 144000 (the number of frames in an 80-minute NTSC video) by the number of frames in the movie.  If it's less than 0.8, don't burn a 1-disc VCD. Otherwise, multiply by 1376 (i.e. the total audio/video rate of a "standard" VCD), then multiply by 0.9945 (i.e. my "fudge factor" to account for the extra space multiplexing takes). This'll give you your total bitrate.  Subtract 224, 192, or 160, depending on what you want your audio bitrate to be.  What's left is the video bitrate that'll fill up an 80-minute CD-R.
The formula tends to produce 359,350-sector VCDs, which means you have enough slack to round up if your total suggested video bitrate's fractional part is .5 or more.
I know your question was about SVCDs, but I hope this helps anyway. :-)
Steven Boswell, [EMAIL PROTECTED]
 

I have a 90 minute movie which I want to burn onto one CD which I can play on my DVD player.
lav2mpeg does a great job of creating VCD and SVCD mpeg files which are good quality, but too big. What can I tweak to get the size right downDo you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

Re: [Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread Aaron Newsome
On Tue, 2003-02-11 at 08:40, [EMAIL PROTECTED] wrote:
> Hi All,
> 
> I'm trying to get the best quality mpeg2 that I can before burning it
> to DVD. For some of the high action DV that I have taken, the encoded
> results look pretty poor even with the quality at highest setting (-q
> 1) and bitrate at 7.5Mps.
> 
> From the mpeg2 and DVD specs it appears that I should be able to up
> the bitrate to 9.8Mbps, which does improve the image a bit, but when I
> do this mplex complains about underruns and errors out. I have tried
> upping the video buffer size on mplex to the maximum (appears to be 1K
> even though the help says 200 - 2K), but it still underruns and exits.
> 
> I'd appreciate any tips anyone could offer on upping the bitrate and
> staying DVD compliant, and any tips on maximizing the encoding quality
> in general ...
> 
> Thanks,
> Jon Stahl
> 


Good luck getting your DVD player to play back DVD-R DVDs encoded with
bitrates this high. If it does happen to work then you have a better DVD
player than the ones I've tried. My reliable playback threshold with
mjpegtools for all my DVD players, tops out at about 7000. I'd say at
7000, 95% of my DVDs work with no problems. Which is why I dropped down
to 6500 lately. 6500 is probably very close to 100% reliability on my
Phillips 724 and Pioneer DV440 (which are my two main players).

Weird thing is, store bought DVDs often go up to the DVD spec max and
playback with no problem. Of course the PC DVD players play just about
any bitrate from any medium. A lot more forgiving they are.

Just a warning,.. try before you settle on 9000+ bitrates. Watch those
DVDs *ALL& the way through from start to finish. Make sure your player
doesn't trip up on them.

--Aaron



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] How to extract 1 frame from MPEG file to JPEG file

2003-02-11 Thread Robert Kesterson
On Tue, 11 Feb 2003, Selva Nair wrote:
> On Tue, 11 Feb 2003, Robert Kesterson wrote:
> >
> > Or you could do:
> >mplayer -vo png -ss 60 -frames 10 movie.png
> > to seek 60 seconds into the movie, then dump 10 frames as png images.
>
> Does that really work for you? For me -ss  always seeks to some
> odd fraction of  seconds, off by 10% or more and the first few frames
> is always junk.. May be I am doing something wrong

It depends on the source.  For MPEGs (DVD's particularly), it's off by
quite a bit.  So I run it once for a few frames, check to see where it
was, and run it again if I need to.  I usually have it dump a couple of
hundred frames to be sure I get the one(s) I'm after.  It's not perfect,
but it's pretty simple, and works well enough.

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] How to extract 1 frame from MPEG file to JPEG file

2003-02-11 Thread Selva Nair
On Tue, 11 Feb 2003, Robert Kesterson wrote:

> 
> Or you could do:
> 
>mplayer -vo png -frames 1 movie.mpg
> 
> to save the first frame as a png, or
> 
>mplayer -vo png -ss 60 -frames 10 movie.png
> 
> to seek 60 seconds into the movie, then dump 10 frames as png images.

Does that really work for you? For me -ss  always seeks to some
odd fraction of  seconds, off by 10% or more and the first few frames 
is always junk.. May be I am doing something wrong

Selva



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread Steven M. Schultz
Hi -

> From: [EMAIL PROTECTED]
> I'm trying to get the best quality mpeg2 that I can before burning it
> to DVD. For some of the high action DV that I have taken, the encoded
> results look pretty poor even with the quality at highest setting (-q
> 1) and bitrate at 7.5Mps.

Hmmm, the DV sourced encodings I've done (from a Digital8 camera but
the DV format is the same) came out looking rather good at a -q of 6
(or sometimes 4).

Did you add the -N option to mpeg2enc's commandline?   That's a (mild)
high frequency filter that will free up bits for stuff you can see.

Down the road a ways I believe Andrew will add "single coefficient
elmination" (borrowed from the ffmpeg MPEG-4 codebase) - that, in my
tests with good data sources, was good for about a 10% bitrate 
reduction and no artifacts I could see (but then I do not claim to
have golden eyeballs ;)).

> I'd appreciate any tips anyone could offer on upping the bitrate and
> staying DVD compliant, and any tips on maximizing the encoding quality
> in general ...

Some people have found that using the denoiser and/or medianfilter
to be effective even with DV material.   If -N to mpeg2enc is not
sufficient to achieve your goal then try "yuvdenoise -r 24 -l 1 -S 0".

Next try "yuvmedianfilter -t 6".  Quite effective and looked good to
me.

Then try both of the above together without/with "mpeg2enc -N" 
(warning: it bogs down a dual 2.2GHz P4 system quite noticeably;)).

If you do you the denoiser then "-S 0" should be used to avoid 
introducting bitnoise (using "-S 0" also speeds up yuvdenoise about 20%)

Good Luck!

Steven Schultz


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] PAL and NTSC image sizes [was: MJPEG encoding performances]

2003-02-11 Thread Bernhard Praschinger
Hallo

> > BTW: PAL Full size is 720x576
> 
> Speaking of PAL image size:
> 
> Is that (720x576) the typical image size used by consumer-grade PAL DV
> cameras?
> (i live in the resolution-impaired NTSC Land :-) and i'm not quite
> familiar with PAL)
Usually you have that size, I guess. (I have no dv camera)

> When working with consumer-grade NTSC DV cameras, the Digital8 files
> have a physical resolution of 720x480, but they need to be rescaled
> on-the-fly by the software to 640x480. Or, if you convert them to DivX
> or take static snapshots, you have to rescale them to 640x480.
> 
> What is the same typical image rescale for PAL?
> 720x576 --> ??? - is it 720x540?
If you are looking for some aspect ratios look there:
http://www.uwasa.fi/~f76998/video/conversion/



auf hoffentlich bald,

Berni the Chaos of Woodquarter

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


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] Questions (catching up after 1 1/2 weeks)

2003-02-11 Thread Steven M. Schultz
Hi -

> From: Robert Kesterson <[EMAIL PROTECTED]>
> 
> If you're recording off digital satellite, you'll see block noise in the
> original broadcast signal if you look for it.  I never used to notice it,
> but since I started doing my own encodes and trying to get everything
> perfect, I notice it in a *lot* of DirecTV broadcast video now.

One thing I've begun to really notice is that large areas of black
show the noise the worst - almost like the game of "Life" moving 
across the screen sometimes.   Is there any type of filtering that
might help the encoder avoid that effect?

> > Also, I did try using the denoiser a few months back. Actually encoded
> > and burned to DVD a whole bunch of video that was run through the
> > denoiser. We stopped using it because we all agreed that the denoiser
> > made the video look WORSE. Probably not the case with mjpeg video, but
> > that is my experience with DV.
> 
> It helps a great deal on stuff coming off VHS tape, though.  :-)

Amen to that!  Analog tape formats benefit a _lot_ from the use
of the denoiser.   For other sources I've found that using 
"yuvmedianfilter -t 6" to be quite effective and not overly instrusive
(leave the radius at '-r 2' unless you're really really patient ;)).

Cheers,
Steven Schultz


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] How to extract 1 frame from MPEG file to JPEG file

2003-02-11 Thread Bernhard Praschinger
Hallo

> I want make a preview frame for some MPEG files in a KDE application. There is
> some issue to extract to a JPEG file just one frame from MPEG file ?
Take a look at the mjpeg howto section 6.4 Separate images.

> How to get some informations about MPEG file (Format MPEG1/2, display 
> resolution, encoding PAL/SECAM/NTSC, duration, etc...)
Try:
> lavinfo filename.avi

auf hoffentlich bald,

Berni the Chaos of Woodquarter

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


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] maximizing mpeg2 quality

2003-02-11 Thread jstahl

Hi All,

I'm trying to get the best quality mpeg2 that I can before burning it
to DVD. For some of the high action DV that I have taken, the encoded
results look pretty poor even with the quality at highest setting (-q
1) and bitrate at 7.5Mps.

>From the mpeg2 and DVD specs it appears that I should be able to up
the bitrate to 9.8Mbps, which does improve the image a bit, but when I
do this mplex complains about underruns and errors out. I have tried
upping the video buffer size on mplex to the maximum (appears to be 1K
even though the help says 200 - 2K), but it still underruns and exits.

I'd appreciate any tips anyone could offer on upping the bitrate and
staying DVD compliant, and any tips on maximizing the encoding quality
in general ...

Thanks,
Jon Stahl


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] How to extract 1 frame from MPEG file to JPEG file

2003-02-11 Thread Robert Kesterson
On Tue, 11 Feb 2003, Selva Nair wrote:
> On Tue, 11 Feb 2003, CAULIER Gilles wrote:
> > I want make a preview frame for some MPEG files in a KDE application.
> > There is some issue to extract to a JPEG file just one frame from MPEG file ?
>
> try mpeg -> yuv -> ppm using mpeg2dec and y4mtoppm. To give you
> an idea
>
> mpeg2dec -s -o YUV movie.mpg | y4mtoppm -L | cjpeg > frame0.jpg
>
> will extract the first frame, in principle[*]. To get an arbitrary
> frame, you either need to extract the frame from the yuv stream before
> feeding to y4mtoppm or pipe the output y4mtoppm through pnmsplit and
> select the required frame.

Or you could do:

   mplayer -vo png -frames 1 movie.mpg

to save the first frame as a png, or

   mplayer -vo png -ss 60 -frames 10 movie.png

to seek 60 seconds into the movie, then dump 10 frames as png images.


--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] How to extract 1 frame from MPEG file to JPEG file

2003-02-11 Thread Selva Nair

On Tue, 11 Feb 2003, CAULIER Gilles wrote:

> I want make a preview frame for some MPEG files in a KDE application. 
> There is some issue to extract to a JPEG file just one frame from MPEG file ?
> 

try mpeg -> yuv -> ppm using mpeg2dec and y4mtoppm. To give you
an idea

mpeg2dec -s -o YUV movie.mpg | y4mtoppm -L | cjpeg > frame0.jpg

will extract the first frame, in principle[*]. To get an arbitrary
frame, you either need to extract the frame from the yuv stream before
feeding to y4mtoppm or pipe the output y4mtoppm through pnmsplit and
select the required frame. If you are interested, I have a small utility
(y4mcut)  that can select a specified interval of frames from a yuv
stream:

mpeg2dec -s -o YUV movie.mpg |y4mcut -s n -o 1| \
y4mtoppm -L -v 2 | cjpeg > frame_n.jpg

will extract the nth frame. Its not very efficient if n is large,
though. It will be nice to have an option to skip frames in mpeg2dec.

Selva

[*] assuming the first GOP is closed.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] PAL and NTSC image sizes [was: MJPEG encodingperformances]

2003-02-11 Thread Martin Collins
On 10 Feb 2003 20:40:29 -0800
Florin Andrei <[EMAIL PROTECTED]> wrote:

> What is the same typical image rescale for PAL?
> 720x576 --> ??? - is it 720x540?

Of the 720 width line only 704 pixels have image info. PAL pixel
aspect ratio is 59:54 so to get square pixels you scale 704x576
to 768x576.

Martin


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] Questions (catching up after 1 1/2 weeks)

2003-02-11 Thread Robert Kesterson
On 10 Feb 2003, Aaron Newsome wrote:
>
> I do have trouble telling the difference between DV->MPEG2 and broadcast
> though. When I say it looks as good as the original signal, I'm not
> kidding. Of course if you watch long enough you will eventually see some
> MPEG cruft that will give it away as being a recording.

If you're recording off digital satellite, you'll see block noise in the
original broadcast signal if you look for it.  I never used to notice it,
but since I started doing my own encodes and trying to get everything
perfect, I notice it in a *lot* of DirecTV broadcast video now.

> Also, I did try using the denoiser a few months back. Actually encoded
> and burned to DVD a whole bunch of video that was run through the
> denoiser. We stopped using it because we all agreed that the denoiser
> made the video look WORSE. Probably not the case with mjpeg video, but
> that is my experience with DV.

It helps a great deal on stuff coming off VHS tape, though.  :-)

> I hesitate to call *anything* perfect, but for my money, the Canopus,
> dvgrab, kino and mjpegtools is it for me.

Yep.  I'm a happy camper with that setup as well.

> --Aaron

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] Buz.zip exposed !

2003-02-11 Thread Gernot Ziegler
Hej folks !

Mattias Bergvall is the _hero of the day_ ! :) ([EMAIL PROTECTED])

He has tested through all numeric combinations; (we should have done that
earlier, instead of trying _all_ alphanumeric combinations, d'oh ! ;) )

Thanks a LOT, Mattias !

I will now distribute a copy of the driver to all driver developers on
mjpeg-dev 

Servus, Gernot

-- Forwarded message --
Date: Tue, 11 Feb 2003 15:23:48 +0100
To: Martin Samuelsson <[EMAIL PROTECTED]>
Cc: Gernot Ziegler <[EMAIL PROTECTED]>,
 Bernhard Praschinger <[EMAIL PROTECTED]>
Subject: Re: The zip cracking effort

Testa lösenordet "4083572035"...

:-)


Mvh,
Mattias




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] smilutils in kino CVS

2003-02-11 Thread Charles Yates
Hi all,

In case you're interested, I've *finally* posted smilutils to kino CVS.

The current code is destined to form release 0.2.0 and has a few changes
from the previous 0.1.3 pre-release stuff (there won't be an official
0.1.3 release). 

Dependencies are reduced (gnome is gno more? almost true - I've stubbed
a few functions to allow compilation on non-gnome systems) and a few new
features are introduced (though not many in comparison to the 0.1.3
pre-releases).

Anonymous checkout would be via the normal commands:

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/kino login
 
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/kino co
smilutils

(as if any of you needed telling...). I haven't stored any of the auto
tool generated stuff, so you will need to ./bootstrap prior to make.

Please feel free to report issues or patches (or new tools?) via the
kino-dev mailing list. 

Cheers,

Charlie



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] where from I get MJPEG source files

2003-02-11 Thread natarajan thirunavukkarasu
Hi,

  I want to build MJPEG encoder & decoder in VC++
environment. Where can i get source codes? What is the
procedure to build such an application on VC++
environment?. 

Kindly response

Regards,
Arasu


__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] 90 minute SVCD

2003-02-11 Thread Michael Lehmeier
You need:
- Widescreen. 
- If you don't have widescreen, you need b&w. Either convert it or use
b&w original. Can even be noisy.
- If not b&w, the movie must be "clean", meaning almost no noise.
- As little vegetation and water visible as possible.
- with mpeg2enc I use the -q 14
- you needn't worry about maximum bitrate. It doesn't give you much more
space but uglifies fast movements. Quantisation is everything.

Examples:
I encoded The Usual Suspects. About 110 minutes I think.
Quality above VCD but ugly in several scenes depending on the
background.
I encoded Plan 9 from Outer Space. Almost perfect quality.

Whether or not you choose this kind of solution depends on what type of
artifacts bother you most.
For example I don't encode anime that way because I hate the noise
around fast moving clean lines.
In ordinary action movies this is not a problem, most noticable is the
block-display on backgrounds like sky. This doesn't bother me at all.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] Unzip buz.zip - slightly non-trivial

2003-02-11 Thread Gernot Ziegler
Hej folks !

After 1,5 months of waiting, I've decided to ask you all for help
regarding a slight ... öhöm, issue ... we Buz driver developers have ;)

I have received the _original driver source_ for the Iomega Buz drivers
from one of their developers, and that is really great,
but they are encapsulated in a ZIP-file with password ...

now the thing is: they can't remember the password ! ;)
Both me and the guy from Iomega have tried to crack it (it was supposed
to be a date, he was told by the clumsy engineer that forgot the
password), but didn't succeed, none of the proposed date password schemes
applied to the one used ...

Now are there someone among you that are good at such stuff ?
The file, called buz.zip, is 4,5 Meg, it is possible to see the filenames
in the decompression process
- I send it to anyone who requests it from me and wants to give it a 
shot :-}

The cracking process is not illegal, I got permission from Iomega's Buz
hardware developer to do so !

Servus,
  Gernot

-- 
TW-E-L-C-O-M-E--T
| The Austria <=> Sweden connection.H
OHomepage: http://www.lysator.liu.se/~gzE
\--F-U-T-U-R-E--/


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] MPEG file informations

2003-02-11 Thread CAULIER Gilles
Hi,

How to get some informations about MPEG file (Format MPEG1/2, display 
resolution, encoding PAL/SECAM/NTSC, duration, etc...)

Thanks

-- 
CAULIER Gilles
Développeur UNIX


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



[Mjpeg-users] How to extract 1 frame from MPEG file to JPEG file

2003-02-11 Thread CAULIER Gilles
Hi,

I want make a preview frame for some MPEG files in a KDE application. There is 
some issue to extract to a JPEG file just one frame from MPEG file ?

Thanks

-- 
CAULIER Gilles
Développeur UNIX


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users