[Mjpeg-users] DVD Studio Pro and MjpegTools

2004-10-13 Thread William Sherman
I'm not having much luck using material produced with the
MjpegTools with DVD Studio Pro -- or any Apple product for
that matter.  So I was considering sending a negative note
to Apple support, but then I recalled that there is at
least one member of this group actively using to two
software products together, so I figured this would be a
more productive avenue.

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
precise.  It's also a pretty recent version of DVD Studio
Pro (Academic version), version 3.0.1.  But really, I haven't
had much luck with any of the Apple software reading mpeg-2
files created with the mjpegtools.

The default version of Apple Quicktime won't even recognize
mpeg-2 files at all.  Fortunately, the Production Suite of tools
that I purchased with my came with an upgrade to QuickTime Pro.
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.
Whereas a version of mplayer that I downloaded for my Powerbook
plays the file just fine.

I should say that my Powerbook is a brand new 15 w/ Super Drive,
and a 1.5GHz G4 processor.  Also, the files I'm trying to play
come from two sources -- a Canopus 100 capture via dvgrab, and
using smilutils to feed into an mpeg2enc pipe and then multiplexed
with the mjpegtoosl multiplexer -- at bitrates within the DVD specs.
The other source is an IVTV capture from a Hauppauge PVR-350.
In that case, the capture was at bitrates above DVD spec, so I
use mpeg2dec to decode them, piped through pgmtoy4m, filtered,
and then reencoded with the mjpegtools mpeg2enc program, and
again mplexed.  Oh, I use avidemux2 on the latter to trim the
beginning and end of the TV capture, and then save the files
as Audio and a separate Raw video stream.

I did manage to make a very simple DVD with dvdauthor from an
mpeg-2 file that went through the latter process, and it plays
on my set-top player.  But I would like to make more complicated
DVD's, and take advantage of this rather expensive software that
I purchased.


Enter DVD Studio Pro.  When I try to import the asset of one of
these multiplexed mpeg-2 video files, I get a popup that tells me:
Alert: Import Assets  Could not import one file.  Incompatible Format

Not a particularly informative message, much less what I was expecting
to happen -- at least Quicktime Pro can read and play the file, if
poorly.


I then tried iDVD, and it's a little more informative, but no more
successful:
Unsupported File Type: MPEG Video  [in bold]

I find that an ironic statement coming from a program for producing
DVDs!


Comments, suggestions appreciated.

While I wait I'm compiling version 3.3.3 of Qt, so I can give qdvdauthor
a try.  And if that doesn't work, I guess I'll be writing XML files
by hand.

Thank you very much,
Bill

/*/
/* Bill Sherman  ([EMAIL PROTECTED])*/
/* National Center for Supercomputing Applications   */
/* University of Illinois at Urbana-Champaign*/
/* Og - You want to do mankind a real service?  Tell funnier jokes */
/*  Spinner - but facts don't always reveal the truth  */
/*  Robin - Yeah, but I always figure that's the writers' fault*/
/*/



---
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] DVD Studio Pro and MjpegTools

2004-10-13 Thread Steven M. Schultz

On Wed, 13 Oct 2004, William Sherman wrote:

 I'm not having much luck using material produced with the
 MjpegTools with DVD Studio Pro -- or any Apple product for

Wow - I've never had any problems (well, I am having one issue with
MPEG-1 (.m1v) files that _should_ according to the support/forums
be resolved with the DVDSP 3.0.1 update) importing mjpegtools
generated .m2v files.

 to Apple support, but then I recalled that there is at
 least one member of this group actively using to two
 software products together, so I figured this would be a
 more productive avenue.

That would be me :-)

 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.

 precise.  It's also a pretty recent version of DVD Studio
 Pro (Academic version), version 3.0.1.  But really, I haven't

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 ;)).

 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?  

 The default version of Apple Quicktime won't even recognize
 mpeg-2 files at all.  Fortunately, the Production Suite of tools
 that I purchased with my came with an upgrade to QuickTime Pro.

Yeah - Apple deserves a demerit or two for _that_.  The MPEG-2
playback module's a $20 upgrade to a free player.  Then if you want
to _encode_ it's another $30.  So the free player program isn't
very useful until you upgrade the heck out of it.  AND EVEN THEN
it balks at DPME (Dual Prime Motion Estimation) (and so does DVD
Player).  Seems someone at Apple didn't read deep enough into the
MPEG-2 specs...  AND that is one of the reasons I changed the default
in mpeg2enc to be no-dualprime (the other reason is that there's a
bug that can generate whiteblock artifacts ;)).

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

 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?

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

 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 should say that my Powerbook is a brand new 15 w/ Super Drive,
 and a 1.5GHz G4 processor.  Also, the files I'm trying to play

Lucky you - I got my Powerbook back when 1GHz G4 was the state of the
art (but the 17 screen's nice ;)).

 come from two sources -- a Canopus 100 capture via dvgrab, and
 using smilutils to feed into an mpeg2enc pipe and then multiplexed
 with the mjpegtoosl multiplexer -- at bitrates within the DVD specs.

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!

 The other source is an IVTV capture from a Hauppauge PVR-350.
 In that case, the capture was at bitrates above DVD spec, so I
 use mpeg2dec to decode them, piped through pgmtoy4m, filtered,
 and then reencoded with the mjpegtools mpeg2enc program, and
 again mplexed.

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

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

 Oh, I use avidemux2 on the latter to trim the
 beginning and end of the TV capture, and then save the files
 as Audio and a separate Raw video stream.

Oh you can do all the trimming, etc right in DVDSP - that's how I
adjust the beginning and ends of a track.

 Enter DVD Studio Pro.  When I try to import the asset of one of
 these multiplexed mpeg-2 video files, I get a popup that tells me:
   Alert: Import Assets  Could not import one file.  Incompatible Format

ARGH!  And that's the problem.  DVDSP wants