Re: [Mjpeg-users] Re: DVD Studio Pro and MjpegTools

2004-10-16 Thread Steven M. Schultz
Hi -

On Fri, 15 Oct 2004, William Sherman wrote:

 Thanks for the response Steven.  I'm on the digest, so it took me a
 while to test things out and respond to your response.

You're welcome.  I was beginning to wonder if you'd seen the posting.
It's a low volume mailing list so if you're in a hurry for
a response you might want to switch to the non-digest form.

 You know what, both.  I forgot that my original movie I tested with was
 from before upgrading (from the Canopus source).  However, even one of the

That would definitely have the bug - the playback using the Quicktime
Player will look like a slide show (I think what's happening is
that QT-Player is playing just the I frames and choking until it
gets to the next I frame).

 movies I just made from the IVTV source plays fine for 10 minutes or so,
 but then Quicktime gets jerky, and even when I stop and begin at the

I have a theory about what that might be - nothing certain though...

 I build my own of all that stuff on my Linux box, including kino, and
 this format and that format -- it's an endless operation, getting all
 the video codecs and players to work.  And then when I upgrade the

Multiply that by 4 systems and 4 or 5 OSs and you get an idea
what I spend my time doing :)

  Don't multiplex the files together!  DVDSP wants the elementary file ...
 
 Aha, well that explains it.  Except, when I tried that with iDVD, it doesn't
 like those files either -- and in it's (difficult to follow) tutorial the

Oh, iDVD is braindead - I gave that one try and bought DVDSP.  iDVD
also doesn't offer compressed audio - LPCM only - and I couldn't see
giving up 1.5Mb/s out of the bit budget for audio.

 successfully using DSP I went ahead and tried that -- and I managed to
 author and burn a DVD that works in my settop box!  Of course, I'm not

Hurrah!

 default opacity for highlight and select on the buttons seem to be
 entirely transparent, so I can't tell which will be selected when

Oh, you need to get another chapter or two into the tutorial for
that :-)

 I'm thinking of getting one of the PCHDTV broadcast HDTV reciever
 cards before the copy-protection act takes effect.  But, I'm too
 busy with getting my basic NCSA material onto DVD.

I'm also thinking of getting one of those.  There is a chance the
broadcast flag will be negated but I'm not too hopeful  about that.

BUT if you're receiving HDTV signals OTA (Over The Air) then you
could do what I've had success with:

Get a HDTV receiver with IEEE1394 ports and use your Powerbook
to do the recording.  I use a Samsung T-165 and the DVHS app
that comes with the Firewire SDK 19 from:

http://developer.apple.com/sdk/
Firewire SDK 19 for Mac OS X

Then to demux (AND correct for damaged/lost packets - and Transport
Streams do have both types of problems!) use Project X:

Project X
http://www.lucike.info/index.htm?http://www.lucike.info/page_projectx.htm

From that you get the .m2v and .ac3 files.   Now of course you can't
put HD content on a DVD (1920x1080i or 1280x720p is a more than a
little out of the restricted MPEG-2 profile that DVDs use ;)).  That's
where the little sci

 Right, I guess I was used to what dvdauthor expects, and figured other
 DVD authoring tools would want the same.

Actually I've thought, for a while now, that dvdauthor should
accept elementary strings and use the 'libmplex2' routines to do
the muxing as it builds the VOB files - that's how the other 
authoring programs I've seen work (Adobe's, Apple's, etc).

 Well, except that for IVTV source material, it's already in a program
 stream (or maybe it's a transport stream, I don't know for sure).

Well, if it's a TS (transport stream) are you using demuxing tools
that know how to deal with error/damaged or missing TS packets?  If
not I think you could end up with discontinuities or similar problems
and that could cause QT-Player and/or settop boxes to stutter or
other playback problems.

 So avidemux2 serves also as how I write out separate mpeg-2 video
 and mpeg layer 2 audio.

I use Project X for demuxing and then do minor trim operations within
DVDSP.

 Now, I think it's possible to get separate streams of YUV data and
 even AC-3 audio from the IVTV drivers, but last time I tried that

Even if you could get that the volume of data would be huge
(full frame (640x480) YUV 4:2:0 data comes out to about 42GB/hr)
and you'd have to encode it to MPEG-2.  Not worth the trouble ;)

 A.Pack is an apple thing right, I did get a warning message about

Uh, yes - it is the Dolby certified/licensed AC3 encoder that comes 
WITH 

[Mjpeg-users] Re: DVD Studio Pro and MjpegTools

2004-10-15 Thread William Sherman
 From: Steven M. Schultz [EMAIL PROTECTED]
 Subject: Re: [Mjpeg-users] DVD Studio Pro and MjpegTools

Thanks for the response Steven.  I'm on the digest, so it took me a
while to test things out and respond to your response.

  I'm using a recent CVS version of mjpegtools (I got tired
  of waiting for the followon to 1.6.2) -- 10/05/2004 to be
 
   Well, I have attempted to set the wheels in motion for a release but
   so far haven't heard too much back about getting a release cycle 
   started.

Yeah I saw that -- thanks.  Hopefully if it gets mentioned a few
more times it will happen.

   Great - that's what I was using last night - created a couple DVDs
   and started on the third one (then couldn't decide was style I wanted
   to use and put it off till another night ;)).

Okay, good to know that my version is a good one.

  had much luck with any of the Apple software reading mpeg-2
  files created with the mjpegtools.
 
   Hmmm, was this with the CVS version or before you upgraded from 1.6.2
   to the CVS version?  

You know what, both.  I forgot that my original movie I tested with was
from before upgrading (from the Canopus source).  However, even one of the
movies I just made from the IVTV source plays fine for 10 minutes or so,
but then Quicktime gets jerky, and even when I stop and begin at the
beginning again it still has the jerky behavior.  I have to quit Quicktime
to see smooth video again -- but only for 10 minutes.

   Oh - you bought the Production Suite also?  Took me a few hours
   to install the ~24-30GB - now to start reading the manuals :-)

Yeah, I can't even recall now whether I did install everything.  And I've
read the two intro chapters to DVD Studio Pro, and one or two of the
Chapters for Final Cut Pro.  Right now I'm concentrating more on getting
my IVTV television captures to DVD, so I've put down FCP for now.

  Unfotunately however, while QT-Pro would recognize and read the
  files it is not able to handle them at a respectible rate --
  after the first few moments of one file I created the frame
  rate of displaying the video drops to between 2 and 7Hz.
 
   This is for just playing?  You're not trying to encode - correct?

Just playing.

   When/how was the file generated?  If it was generated using 1.6.2
   then you're likely getting hit by the DPME bug.

Okay, I'll reencode my first test case with the CVS mjpeg tools and
see what happens.

  Whereas a version of mplayer that I downloaded for my Powerbook
  plays the file just fine.
 
   I build my own MPlayer (and ffmpeg, etc) but yes, the quartz video
   module(s) in MPlayer do a good job.

I build my own of all that stuff on my Linux box, including kino, and
this format and that format -- it's an endless operation, getting all
the video codecs and players to work.  And then when I upgrade the
distribution and kernel, it starts all over again.  I was glad that when
I finally got around to recently installing xine after my upgrade from
RH8 to RH9 that it basically worked without a hitch.  Of course, that
was built on the fact that I'd already down all the work for Mplayer
and Ogle.

   Ah - yep sounds like your workflow is similar to mine.   All except
   for the last part.  DON'T multiplex the files together!  DVDSP wants
   the elementary file - the .m2v file!

Aha, well that explains it.  Except, when I tried that with iDVD, it doesn't
like those files either -- and in it's (difficult to follow) tutorial the
example movie file does have both audio and video (a .mov quicktime file).
So, given that the tutorial didn't reallly teach me much, and I know you're
successfully using DSP I went ahead and tried that -- and I managed to
author and burn a DVD that works in my settop box!  Of course, I'm not
necessarily sure I could recreate my actions at this point, and the
default opacity for highlight and select on the buttons seem to be
entirely transparent, so I can't tell which will be selected when
using the remote on the settop box.  But I'm pretty happy.

I would say though that my workflow is only partially similar to
yours -- not counting the fact that you understand which filter
matrices and other options to use for different sources, whereas
I just search the mailing list archives for your name and hope
your advice at that moment matches what I'm trying to do.

   Identical to what I do - except for the mplex step.Nice to hear
   that the pgmtoy4m program is being used by folks other than myself!
   I do a similar recoding with the HDTV broadcasts I capture over the
   IEEE1394 bus with 'DVHS' (it's one of the demo/test apps in the
   Firewire SDK you can download).

I'm thinking of getting one of the PCHDTV broadcast HDTV reciever
cards before the copy-protection act takes effect.  But, I'm too
busy with getting my basic NCSA material onto DVD.

   Don't mplex the files - leave them as elementary stream files