Re: [Mjpeg-users] Converting from various files to DVD files?

2006-08-22 Thread Robert Kesterson
On Mon, 21 Aug 2006 21:32:50 -0500, John Gay [EMAIL PROTECTED] wrote:

 I've several movies in various formats, but my DVD player is a Sony, that
 doesn't seem to like most of those formats. Is there a simple mencoder
 command-line to convert from any mplayer-compatible input and generate
 something that my Sony DVD will play from CD?

The first question is what formats does your Sony DVD player handle?  From  
your comment, I'm guessing it's a straight DVD player (no DivX).  If  
that's the case, I don't think you can do what you want with mencoder.   
Mencoder can output an mpeg file, which is what DVD uses, but it won't be  
in DVD format, and your player probably won't like it.  You could use  
mplayer's yuv4mpeg option to output a stream compatible with the  
mjpegtools and then use the mjpegtools to encode that to DVD format -- I  
have done that before and had great results.  If you search the list  
archives, I'm pretty sure I posted a script or instructions on how to do  
that some time back.  Be aware that it won't always be possible -- some  
files mplayer can play are not at a compatible framerate for DVD (either  
24 or 29.97), so you won't be able to convert directly from those files.

-- 
   Robert Kesterson
   [EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] SMILUtils patches

2006-04-27 Thread Robert Kesterson
On Thu, 27 Apr 2006 05:31:40 -0500, Dik Takken [EMAIL PROTECTED]  
wrote:


I just upgraded my PC to use GCC 3.4, but GCC 3.4 can't compile  
SMILUtils anymore. Since I heavily depend on SMILUtils for processing  
MiniDV files, I am currently turning the internet upside-down to find a  
solution to the problem. None found yet.


Does anyone know where to find a patch to SMILUtils 0.3.0 (or maybe even  
a more recent version??) that allows GCC = 3.4 to compile it?


Are you sure you've got the latest?  Including the libraries it builds  
against (libdv, libsdl)?  I can build the latest CVS of smilutils just  
fine on my system, which has gcc 4.0.3 on it (system is Ubuntu dapper, if  
that matters).


If you're sure it's all the latest, maybe post the error message you're  
getting?


--
  Robert Kesterson
  [EMAIL PROTECTED]


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Without the hardware....

2004-10-26 Thread Robert Kesterson
Derek Fountain wrote:
Just as a matter of interest, what are the principal uses, if any, of the 
MJPEG Tools to someone who doesn't have a supported capture card?
You don't have to capture with the mjpegtools -- I never have (all my 
captures are DV through a Canopus box on FireWire).  Capture with 
whatever you like, and use the mjpegtools for encoding.

--
  Robert Kesterson
  [EMAIL PROTECTED]
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Remuxing split VCD-files

2004-01-04 Thread Robert Kesterson
On Mon, 05 Jan 2004 00:05:50 +0100, Lehmeier Michael [EMAIL PROTECTED] 
wrote:
On Sat, 2004-01-03 at 18:13, Robert Kesterson wrote:
On Sat, 03 Jan 2004 16:01:28 +0100, Lehmeier Michael [EMAIL PROTECTED]
wrote:
 My problem: They have been split at a later time without care, just
 brutally hacked apart at a certain point of the file.
Do you mean brutally hacked apart like split?
Yes, like split.
When I said split, I meant the unix utility of the same name.  Split 
just breaks a file into pieces of whatever size you tell it to.  It has 
nothing to do with mpeg or video -- it splits any file into pieces.

If so, can't you just cat
them back together?
I could, if I had the originals.
If they were split with split, then catting them back together would 
produce the original.  But I'm guessing from your other messages that this 
isn't what was done.

I seem to recall a tool called mp3cat that would concatenate elementary 
streams and demux program streams, but I don't think I ever used it.  A 
quick google search found it at 
http://www.tux.org/pub/packages/orphaned/broadcast2000/mpeg2movie.html -- 
maybe that would work?

--
  Robert Kesterson
  [EMAIL PROTECTED]
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Confused about DVD bitrates

2003-12-11 Thread Robert Kesterson
OK, riddle me this.

I have a script that I use for converting a smil file (of edited DV) to 
DVD-compatible mpeg.  The script looks like this:

start script
#! /bin/sh
mkfifo stream.yuv
mkfifo video.yuv
smil2yuv -a ${1%.smil}.mp2 $1 stream.yuv 

cat stream.yuv | yuvdenoise -S 0 -b 4,4,696,468 | y4mshift -n 8 video.yuv 


cat video.yuv | dd obs=1M | mpeg2enc -E -10 -K kvcd -S 400 -B 384 -f 8 -q 
5 -b $2 -r 16 -4 4 -2 4 -N 1.0 -I 1 -o ${1%.smil}.m2v -v 1

mplex -f 8 -o ${1%.smil}_%02d.mpeg ${1%.smil}.mp2 ${1%.smil}.m2v

rm -f ${1%.smil}.mp2 ${1%.smil}.m2v
end script--
I am using the latest CVS version of the mjpegtools.

Now here's the confusion.  If I use it like this:

   smil2dvdbits Capture1.smil  5400

on roughly two hours worth of video, I get about 4.2 gigs of mpeg data 
out, which is just about right to fill a DVD-R.

However, today I had a shorter clip to work with, and discovered something 
that seems strange.  If I do this:

   smil2dvdbits Capture1.smil  8000

On the same 2-hour clip, it comes out at about 2.5 gigs.  Huh?  How is 
that possible?  The average bitrate drops *way* down (from roughly 5400 to 
about 2500), but the peak rate is near the 8000 I set.

This makes no sense to me.  How is specifying a higher bitrate able to 
produce a smaller file?  In each case so far, a *much* smaller file 
(roughly half)!

Don't misunderstand, I'm thrilled if this is expected behaviour -- I'm 
just concerned that something is horribly wrong somewhere.  Any thoughts?

--
  Robert Kesterson
  [EMAIL PROTECTED]
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] DVDAuthor and mpeg2's generated with -f 9

2003-10-22 Thread Robert Kesterson
Richard Baverstock wrote:
 -f|--format 8  -DVD MPEG-2 for 'dvdauthor'
 -f|--format 9  -DVD MPEG-2.
On my man page:
   -f|--format 8  -DVD MPEG-2.
   -f|--format 9  -DVD MPEG-2 for 'dvdauthor'
I'll redo it with -f 8, thanks.
Hmmm...  I do recall this changing, but I don't recall when.  It's been 
a while. I'm using the CVS version, but I thought those options were in 
the release version the same way?

--
  Robert Kesterson
  [EMAIL PROTECTED]


---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Converting ASF to a format usable by MJPEGtools

2003-06-10 Thread Robert Kesterson
On Tue, 10 Jun 2003, Jonathan Bartlett wrote:

 Does anyone know of a UNIX method to transform an ASF file to a format
 that I can use MJPEGtools to encode to a VCD MPEG?  I'm not concerned
 about quality loss - it's just a video I'd rather sit and watch on TV
 rather than my computer.

Assuming mplayer can play it, use the yuv4mpeg output plugin of mplayer to
get the video stream out.  Note that it is very likely not going to be in
a VCD-compatible format coming out of the ASF file, so you may need to do
some rather large work to make it so.  (Rescaling for one, frame rate
adjustment for another).

--
  Robert Kesterson
  [EMAIL PROTECTED]




---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Filter out TV-Logos ?

2003-03-27 Thread Robert Kesterson
On 27 Mar 2003, Aaron Newsome wrote:
 On Sun, 2003-03-23 at 09:46, Markus Grunwald wrote:
  Hello !
 
  Has anybody tried to filter out the annoying TV-Logos (zdf, pro7 in
  Germany or maybe CNBC or the like) ? Is there an easy way or do I have
  to work this out myself ?

 I haven't tried this but I've sure thought about it a good deal. I think
 if I ever attempted it, I would start by specifying an area in the
 picture that would include the logo to get rid of and then have my image
 fixer remove the logo using the surrounding picture pixel colors. Of
 course this would only work for fairly simple solid color logos that
 appear in the lower corner.

This is the idea behind my yuvpixelate filter (see
http://source.robertk.com).  It will pixelate an area by averaging the
color for that area and setting the whole block to that color.  Works
great for me, YMMV.  It won't remove a logo, but it will blur and blend it
into the surrounding enough that it's not so obnoxious.

--
  Robert Kesterson
  [EMAIL PROTECTED]




---
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Need help with script

2003-02-24 Thread Robert Kesterson
On Mon, 24 Feb 2003 [EMAIL PROTECTED] wrote:
  Make stream.yuv a fifo, then pipe from that.  For example:
 
 mkfifo stream.yuv
 mplayer -nosound -benchmark -vo yuv4mpeg movie.avi /dev/null 
 cat stream.yuv | mpeg2enc ...
 
  I'm fairly sure that's how it's intended to be used.

 Thanks for the help it has good promise but I couldn't get it working like that but 
 when I tried it this way it works fine until frame 53 then just freezes, the 
 video.m2v created works fine

 mkfifo stream.yuv
 mplayer -nosound -benchmark -vo yuv4mpeg recording.raw.avi | mpeg2enc -o video.m2v 
 -f 4 -q 2 -I 1 -V 200 -n n -F 4 -r 32 -4 1 -2 1 -b 2400 stream.yuv 
 --correct-svcd-hds --aspect 2

That won't work.  The yuv4mpeg output from mplayer *always* goes to a file
in the current directory called stream.yuv.  Make that file a fifo (as
above) and you're off.  There is no output out of mplayer that you can
pipe directly to mpeg2enc.

 If in the mplayer part if I add the -vop lavcdeint it freezes at 35 frames

This is probably just some strange coincidence of buffer sizes.  Trust me,
if you're using -vo yuv4mpeg, there isn't any video data coming out of
mplayer's stdout, so there's nothing meaningful going into mpeg2enc.

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Mpeg2enc segfaulting, I'm stumped.

2003-02-21 Thread Robert Kesterson

Thanks to all those who offered suggestions on fixing the segfault in
mpeg2enc.  It *seems* to be solved, though the solution was not what I'd
have expected...

I assumed it was faulty RAM.  So I tried cleaning the contacts, moving the
RAM to a different slot, replacing it with a different DIMM, even tried
increasing the voltage and slowing the bus speed.  Nothing helped.

Then I upgraded my kernel from 2.4.20 to 2.4.21-pre4, and suddenly I was
able to encode *all three* of the problem videos.   I have no idea what
would be in kernel space (other than memory management) that would have
caused this, but it definitely work now where it didn't before.  Very
strange, but I'm just glad it works!

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Mpeg2enc segfaulting, I'm stumped.

2003-02-20 Thread Robert Kesterson
On Thu, 20 Feb 2003, John Ribera wrote:

 Did you try -M0?

I just tried it.  Didn't help.  Segfault after 4400 frames.

Tonight I'll open the machine up and blow out all the dust and reseat the
RAM chips.  I may also reseat the heat sync on the CPU just for grins.
Maybe that will solve it.  I've been perusing Google groups for a while
now looking for stability issues with that board and they all seem
RAM-related.  Clean contacts and good heat dissipation are two things I
can do without replacing DIMMs (though at least DIMMs are cheap right now
if it comes to that).

The odd thing, though, is that it's only these three smil files that
consistently segfault.  It ran fine on all the others from the same
capture session.

--
  Robert Kesterson
  [EMAIL PROTECTED]




---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] CVS status

2003-02-18 Thread Robert Kesterson
On Tue, 18 Feb 2003, Derek Fountain wrote:

 I've asked a couple of questions on the list over the last few days, and have
 been directed to features in CVS, which aren't in the stable 1.6.1 which I'm
 using.

 So, how stable is CVS these days? Heavy development, or ready for regular
 users to start beta testing?

For what it's worth, I've been using the CVS version for eons -- haven't
used a stable release since way before the 1.6 days -- and I don't have
anything to complain about.  (I don't have the absolute latest at the
moment, but it's not more than a month old or so and works great as far as
I can tell.)

--
  Robert Kesterson
  [EMAIL PROTECTED]




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] yuvdenoise -l

2003-02-12 Thread Robert Kesterson
On Wed, 12 Feb 2003, Edouard Chalaron wrote:

 Hi all,
 What the -l stands for in yuvdenoise ?

low-pass threshold.  See yuvdenoise --help.

--
  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 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 num always seeks to some
 odd fraction of num 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] Looking for editting tool (was Re: using dv withthe mjpegtools)

2003-02-09 Thread Robert Kesterson
On Fri, 2003-02-07 at 18:08, William Sherman -Visualization wrote:
  Kino can doat least some if not all of those things.  Check out the FX'
  tab.  You can overwrite (or create) frames from a file there.
 
 When I try the overwrite, it seems to also overwrite audio, even though
 under the Audio tab, I have No Change selected.

Are you sure it's overwriting (replacing) frames and not creating new
ones?  I've done this before, but it so happens that the frames I was
replacing were silent anyway, so I wouldn't have noticed if the sound
had been overwritten.

   You could
  use mplayer to dump frames and then insert frames from the FX tab's
  multiple image import to overwrite just the video and leave the audio.
 
 Okay, I have no idea how to use mplayer to do this, nor how to just
 overwrite the video.

mplayer -vo png yourmoviefile will dump each frame as a png image. 
You can use the -ss option to seek to a certain position in the movie
(it's not terribly precise, but works OK), and the -frames option to
control how many frames to dump.

 Okay, I've downloaded the smilutils, but haven't gotten to the point of
 using them yet.

They work quite nicely.  That's what I use for all my DV conversions
now, and they can pull the audio as a wav or as an mp2.

 Do you have a short tutorial of what buttons you press to do the video-only
 overwritting?  Also, how to use a frame from the existly playlist as the
 overlaid image?

If you're overwriting with a single frame (a held shot, for example),
it's easy.  Load up your video, go to the point where you want to
overwrite the held shot, then use the ImageMagick Overlay FX to
overwrite the frames.  That's the short version.  Longer version is
this:

Use the VCR controls to get to the point where the frames should be
overwritten.  Position it so the first frame to overwrite is visible. 
Now pull down the Commands menu and choose Split scene.  Now move it
to the last frame to overwrite, then forward one more frame (so you're
on the first frame *not* to be overwritten). Split the scene again.  So
now you should have a scene that consists entirely of frames to be
overwritten.  Select the scene (click on the thumbnail for it).  The
first frame to overwrite should now be visible.  Click the FX tab. 
Selecte the Frames subtab and then the Overwrite tab.  It should
already have the correct options, just make sure the limit to button
is NOT depressed.  Now click the Image subtab.  Choose the Filter
tab, and change the drop-down option to ImageMagick Overlay.  Click
the Browse button and select the image to overwrite with.  Leave
everything else at the defaults.  Click Preview if you like, then
click Render to do the deed.  

Kino will create a new video sequence and insert it into the edit list
in place of the frames you selected.  Your original video is NOT
modified (which I *really* like), just the edit list.  Then when you
pump the edit list through the smilutils, you get the edited video.  You
can then mplex that back together with the original audio and you're all
set.

   Thanks again,
   Bill

No problem.  I am a relative newcomer to all this stuff myself, so there
may be easier way, but so far I can make it do what I need without much
trouble.

--
  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] Some (simple but handy) tools available

2003-02-09 Thread Robert Kesterson

There's nothing terribly fancy in here, but I've had a few rather annoying
things to deal with over the course of my initiation into the world of DV
conversion and editing, so I wrote a few little tools to make this easier.
Specifically, I have:

   frames - a C++ program to output the number of frames in a smil file.
   smil2dvdHQ - a shell script to use the smilutils and mjpegtools to
create DVD-compatible MPEGs from DV input in a smil file.
   smil2dvdLQ - smae as above, but for lower quality source material.
   smilsplit - a program to split a single large smil file into
several smaller ones.  Useful for test encodes, and for
avoiding reencoding long edit lists if something chokes
halfway through.
   checkenc - a perl script that uses mplayer to verify that all those
little smil files that you left encoding overnight actually
encoded all the way without errors.

You can find all of them plus links to related tools and a more detailed
readme and overview at http://source.robertk.com.  I hope somebody
else finds them useful.  :-)

--
  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] Looking for editting tool (was Re: using dv withthe mjpegtools)

2003-02-06 Thread Robert Kesterson

On Wed, 5 Feb 2003, William Sherman -Visualization wrote:

 So, I then tried Kino to do some simple edits, but unfortunately,
 it's a little too simple.  Basically what I'd like to do is load
 a long sequence, split off the audio so I can run it through some
 filters to remove the noise (via audacity or whatever), bring the
 audio back in, and then for the video, leaving the initial capture
 as the primary sequence, but overwriting some of the frames (for
 example if someone walked in front of the camera I might just hold
 on an image just before that occurs during the visual interruption).
 Or, I might want to put in some audience shots from another camera,
 or from another part of the tape.  The audio, of course, would just
 keep rolling.

Kino can doat least some if not all of those things.  Check out the FX'
tab.  You can overwrite (or create) frames from a file there.  You can
insert or delete sequences from anywhere you like (with audio).  You could
use mplayer to dump frames and then insert frames from the FX tab's
multiple image import to overwrite just the video and leave the audio.
When you run the resulting Kino edit list through smilutils, the audio can
be split out and processed however you like before mplexing it back
together into MPEG.

--
  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] Quality from my old video camera and the -d setting

2003-02-05 Thread Robert Kesterson
On Wed, 5 Feb 2003, Selva Nair wrote:

 Oh, no I am not going to move my tapes onto optical media -- atleast not
 until those high-density optical disks like DVR's become available at an
 affordable price.

DVD-R blanks are about 39 cents each in 100 packs.  Considering that's the
equivalent of 7 CD-R's, at about twelve cents a gigabyte, I'd call that
affordable.

 But I am curious about the shelf-life of recorded dv
 tapes. Reading about data archiving practices of tape strorage in
 controlled atmosphere, regular wind/rewind/retension procedures and the
 real paranoids even suggesting to make copies onto fresh tapes every few
 years or so, 

There mere presence of such elaborate procedures to prevent tape decay
would suggest to me that they're not the best choice for archiving.

 I do wonder whether my precious little mini-dv recording of
 1997 summer vacation in St. Petersburg will play fine 25 years down the
 line.. My oldest tapes are already 5 years old and haven't touched some of
 them for a year atleast.

I'd be more concerned about the hardware to play them being around in 25
years.  At least with DVD I know I've got something that's already
digital, so if some new storage technology comes along that obsoletes DVD,
all I have to do is copy them over.  Plus as long as I don't scratch them
up, their shelf life is very long, and they won't wear out from my playing
them.

--
  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] DV standard / more

2003-02-04 Thread Robert Kesterson
On Wed, 5 Feb 2003, Edouard Chalaron wrote:
 My question was in fact : can I encode the same DV file into PAL or NTSC
 knowing that the camera that has been used to record the DV files is a NZ
 one, NZ being in PAL standard, eg is the DV format independant from any NTSC
 or PAL or SECAM ?

DV is different for PAL vs NTSC, just like analog video (resolution and
frame rate).  There are software tools out there that will convert from
one to the other in DV (Canopus has one, for example).

--
  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: RE: [Mjpeg-users] denoise - green?

2003-01-31 Thread Robert Kesterson
On Fri, 31 Jan 2003 [EMAIL PROTECTED] wrote:

 Since I know a lot of people use yuvdenoise, I would like to hear if
 they see color shifts in the output?

I haven't noticed any, and I'm pretty picky about my output matching my
input as much as possible.  (That's not to say that there just isn't any,
but certainly not enough that I've noticed it, if there is any.)

--
  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] Video-encoding questions (mostly DVD related)

2003-01-20 Thread Robert Kesterson
On Sun, 19 Jan 2003, Andrew Stevens wrote:
  Depending on how bright your screen is, you may not be able to get rid of
  all the block noise in dark areas.

 This should actually disappear fairly shortly.  I'm working on some tweeks to
 tbe bit-allocation that will reduce quantisation on macroblocks with little
 masking texture.   This should greatly reduce this artefact at little cost in
 total bitrate.

That is *very* good news.

Now if only I could get the latest greatest CVS to actually build...  (I
get compile errors in mpeg2enc.cc (init_predict undeclared, predict_ref.h
not found, etc.)

   Andrew

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] Video-encoding questions (mostly DVD related)

2003-01-19 Thread Robert Kesterson
On Sat, 18 Jan 2003, Steven Boswell wrote:

 OK, cool.  mplex generated one big file, and a warning that said
 Sequence end marker found in video stream but single-segment splitting
 specified! for every chapter mark.

Just a gues: Make sure you're using a command line that has a template for
the filename.  For example:

   mplex -f 8 -o MyDVD_%02d.mpeg audio.mp2 video.m2v

Note the %02d that lets mplex number the files and give them unique names.
If you don't have that in there, it can't split the files.

 I burned it to DVD, and there were
 no chapters.  I then hacked mplex so that -M wasn't automatically turned
 on by -f 8, and burned those separate videos to one DVD; that gave me
 chapters, but there's a tiny audio hiccup between each track now.

Try the above and leave the -M option alone.  According to the man page,
using -M on DVD stuff may cause audio/video sync problems.

 Pretty neat that I can burn MPEG-2 video to a DVD, and that it works in
 my player; as far as I can tell, that's not standard, i.e. I think
 the audio is supposed to be uncompressed 48kHz PCM.

mp2 works fine also.

 Now that I can actually see my video, I have a new problem -- although
 most of it looks wonderful, parts of it don't look all that good!
 There's quite a bit of fuzziness at the boundaries between black areas
 and light areas (i.e. I've seen it with white and pink).

Depending on how bright your screen is, you may not be able to get rid of
all the block noise in dark areas.  Once you get used to looking for it,
you'll notice it in digital satellite broadcasts and commercial DVD's too
(though it's not as bad on commercial DVD's, but they get two layers of
bandwidth to play with.)  I just turn the brightness down a tad on the TV
and they look fantastic.  (This is not a slam at the mjpegtools -- they
are far and away the best MPEG encoder I've tried.)

 Here's the command line that I used to generate the video:

 lav2yuv -v 0 -A 1:1 -P 4:3 movie.eli \
  | yuvscaler -v 0 -n n -I ACTIVE_690x480+12+0 \
  | mpeg2enc -v 0 -f 8 -b 5000 -B 305 -S frames.txt -V 224 \
  -h -4 1 -2 1 -s -r 16 -q 4 -a 2 -F 4 -n n -o video.m2v

 Can anyone see anything especially broken about it?

Your bitrate isn't high enough for that q setting, especially if you have
a noisy signal.  Here's the script I use for high quality DVD
encoding from very good quality VHS sources after capturing them to DV.
Yours will look a little different since you're using eli files, but the
idea is the same.  This produces very good results (hard to tell it from a
commercial DVD) on good sources, and will fit a two hour movie on a
single 4.7G DVD.  For poor quality sources, you'll probably need to take
q up to 5 or 6, and -b down to some smaller number to make it fit on
a DVD.  Don't get hung up on the -q setting -- you'll still get very good
results with it higher -- the bitrate has a lot to do with it.

---  script starts here -

#! /bin/sh
# Usage is smil2dvd MyEditList.smil

mkfifo stream.yuv
mkfifo video.yuv

smil2yuv -a ${1%.smil}.mp2 $1 stream.yuv 

cat stream.yuv | yuvdenoise -S 0 -b 4,4,696,468 | y4mshift -n 8 video.yuv 

cat video.yuv | mpeg2enc -S 400 -B 384 -q 4 -b 1 -f 8 -r 16 \
-4 4 -2 4 -N -I 1 -o ${1%.smil}.m2v -v 1

mplex -f 8 -o ${1%.smil}_%02d.mpeg ${1%.smil}.mp2 ${1%.smil}.m2v

rm -f stream.yuv video.yuv ${1%.smil}.mp2 ${1%.smil}.m2v

---  script ends here ---

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] DivX to VCD

2003-01-19 Thread Robert Kesterson
On 19 Jan 2003, Jacob Visser wrote:

 Im trying to convert a DivX File to VCD Iv been trying to use
 mjpegstools but I dont seem to be able to...

Using mjpegtools in conjunction with mplayer is *the* way to go for this.
Go the mjpegtools page on sourceforge and search the mailing list for
mplayer -vo yuv4mpeg (use the require all words option on the search
results) and you'll find a lot of info, including this url with a script
that you can use for SVCD, and with minor mods to VCD:

   http://sourceforge.net/mailarchive/message.php?msg_id=2694946

--
  Robert Kesterson
  [EMAIL PROTECTED]





---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users



Re: [Mjpeg-users] Video-encoding questions (mostly DVD related)

2003-01-18 Thread Robert Kesterson
On Fri, 17 Jan 2003, Steven Boswell wrote:

 I tried first to do all of the mastering under Linux.  As far as I can
 tell, dvdauthor runs fine on my multiplexed audio/video files, and
 mkisofs builds a UDF image fine (though the instructions call for a
 -dvd-video switch, and that isn't recognized).

Then you don't have the right version of mkisofs.  That -dvd-video switch
is fairly new, and it is required for DVD creation.  You'll get an image
without it, but your standalone DVD player will not play the resulting
disc (or at least, mine didn't).  My copy of mkisofs says it's v 2.0.

 But both dvdrecord and
 cdrecord-ProDVD think my DVD writer is a CD burner only, so I can't burn
 a DVD.

I couldn't get dvdrecord to do anything useful (unless you consider
cratering DVD's useful). Cdrecord-prodvd, on the other hand, works like a
charm.  Are you setting the key for it or using the wrapper script?
Without that, it won't burn DVDs no matter what burner you have.

If your drive is a DVD+R (as opposed to DVD-R) drive, then you'll want to
follow the advice Bernhard gave and check the howto.  There's a tool
called growisofs that you use to do the burning.  I have one of the Sony
combo drives that can do either format, and those are the two tools I use
-- growisofs for DVD+R and cdrecord-prodvd for DVD-R.

And BTW, I do all of it under Linux.   Canopus ADVC-100 for video capture,
kino for editing and special effects, smilutils for conversion to YUV4MPEG
format, mjpegtools for encoding, makedvd for layout creation, and then
growisofs or cdrecord-prodvd to burn the DVD.

 Here's a dumb questionI'm assuming that the
 sequence-end/sequence-begin marks produced by mpeg2enc's -S option are
 the same thing as chapter marks.  Is that correct?

I don't think so.  The -S option should be causing mplex to generate
multiple files.  For exampkle, I use a -S 400 on my DVD's just to break
them up a little for faster navigation.  That will produce ten or twelve
mpeg files.  When I feed those to makedvd, each one of them will become a
chapter.

 Along those lines, I have a questionI e-mailed y'all a patch to

Beats me.  I'm not an mjpegtools developer, but I've never found them
difficult to work with.  Ddi you send the patch to the developer mailing
list?

 It seems to me that most people would want
 that sort of control over where chapter marks get inserted.  No?

Indeed that would be handy.  If nothing else, post your patch here and
I'll use it.  :-)

--
  Robert Kesterson
  [EMAIL PROTECTED]







---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users