[Mjpeg-users] DVD Studio Pro and MjpegTools
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
[Mjpeg-users] Re: DVD Studio Pro and MjpegTools
> 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 mpl
[Mjpeg-users] Looking for editting tool (was Re: using dv with the mjpegtools)
Hello Mjpegers, I'm in the process of trying to determine a Linux-based editing solution to archive some material of people giving presentations that I have on tape. I had been using (or attempting to use) lavrec to do capturing from an LML-33. However, I recently got an ADVC-100 as recommended by this group to do captures using 1394 for some tapes, and a Sony GV-D800 for directly capturing 8mm based tapes (D8, Hi8 & Lo8). 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. During this process I might run the video through yuvdenoise, or perhaps after the edit is done. So, can anyone suggest a Linux tool that would allow this do be done with relative ease? One thing I do like about Kino is that it can be controlled by an edit wheel. But other than trimming frames, it doesn't have enough edit capabilies. And part of the process will probably require converting my dv2 files to mjpeg, and thanks to Ronald's reponse to Tyler's request, that seems to be bascially solved, but it leaves open one question: Tyler wrote: >> However, I have hit a stumbling block- there seems to be no way >> to convert from dv (type 2 avi or otherwise) to mjpeg! Ronald responded: > You could try 'lav2yuv file-dv.avi | yuv2lav -o file-jpeg.avi'. This > won't do sound, you need to add that manually. There's a patch on my HD > that adds sound support to yuv2lav - it still needs to be committed. Which begs the uestion whether Ronald will make the committment prior to the release of mjpegtools 1.6.2? And then to the question of when 1.6.2 might be released. (I'm also wondering whether anyone knows when libdv 0.99 will be out, I read about an imminent release while searching one of the linux-video maillist lists or webpage, and it lead me to think that it might be prudent for me to hold off a bit before going ahead full-bore on my video captures/edits.) If it matters, I have a dual Athelon 2000+ system with a Tyan motherboard (not sure if it has the dreaded VIA chipset or whether that would negatively affect me). OS is Linux 2.4.18-3smp (standard RedHat 7.3). Thanks, Bill, anxious to edit, /*/ /* 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: 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 with the mjpegtools)
Ronald, et al., Thanks for the help. I have a couple followup questions: > Hi William, > > > to the release of mjpegtools 1.6.2? And then to the question of when > > 1.6.2 might be released. > > I might just add it to the HEAD branch, which means it wouldn't go into > 1.6.2, but into 1.7.x. I can send you the patch or a patched RPM or a > patched yuv2lav or so if you want to, though. Yes, either of those options would be great. Would the patch be against 1.6.2 or 1.6.1? > VIA only matters for recording, mostly. Great. I won't worry about that then. > There's some things you could do. One of them is to use LVS - I use it > for (basic) editing. It has some filters, transitions, etc. It's not a > full-blown premiere editor, but I've used it for what you described: > separating audio and video, doing video with LVS and audio with > Audacity. Then, I just encode sound manually and then video in LVS' > encoding window, and then mplex it together. Result: a nice MPEG with > audacity-edited audio and LVS-edited video, nice in sync. Yes, LVS looks like it would be quite helpful, but I haven't had much luck getting it to read & playback my movie files. The best I could do was a file converted from dv2 to mjpeg using dv2jpg, but that would only play the sound, and the sliding time bar would remain all the way to the right (this is under the "Playback Video" tab). The other problem with this method is that dv2jpg reduces the size of the video to 1/4 size. None of my other movie files worked at all (the original dv2, the yuv as converted using lav2yuv, nor the lav as converted back using yuv2lav). I also tested these movie files with lavplay/yuvplay, mplayer and aviplay, and they play to various degrees of success. The yuvplay and lavplay programs both play the converted yuv and lav converted files as expected (no sound of course), mplayer plays the lav file but with double the height, and aviplay won't play the lav file (but does play the original dv2). The real surprise is that lavplay plays the file fine, but LVS doesn't. In fact, LVS reports that lavplay returns two errors: "Lavplay stopped and gave the following error: [lavplay] Error reading video frame: avilib - Error reading from AVI file - Bad address" then: "Lavplay stopped and gave the following error: [lavplay] Error requesting buffers: Invalid argument" Because it also complains about the v4l stuff when I run "studio" I made sure the v4l drivers were installed (both for my LML33 and for my bttv device -- but not at the same time). I got the same error for both. Here is what I get when I first run "studio": "Guessing port. No suitable video4linux port found, \ please supply one by using the "-p " switch. Use the \ "-t" switch to see the list of ports available on your computer. If you cannot find a video4linux device, you probably need \ to enable the Xvideo extension in your X-server" and it says this twice. I have a working v4l device at /dev/video0, which is what is set in the preferences, but that doesn't seem to help. Again, I'm not sure whether this is related to my inability to play lav file in LVS. For the record, I just upgraded mjpegtools to 1.6.1, and LVS to 0.1.7. > Other options include going for more professional packages such as > MainActor, or buying a Mac and Adobe Premiere, which is quite expensive > taken all together. I've tried MainActor, and Cinelerra. I'm supposed to have a key for the full version of MainActor from my LML33 purchase, but I don't think they've sent it yet. In any event, while MainActor looks like something I would like to use, as soon as I load a movie file and press the "play" button on the "Timeline Player" window it seg-faults, so that doesn't help me much. In Cinelerra, which I recently downloaded, I can't load any of my movie files -- only the Elton John sample file. I did noticed on the MainConcept web page that there is a new version of MainActor out (I have 3.65, 5.0rc1 is now out), but it appears they only have a Windows demo version available for download. As far as buying a new computer, I'd probably first go the boot into Windows and use Windows software since I already have a decent machine. But I'd rather not, since I may have other Linux needs that might need to be addressed at the same time. > Ronald Thanks again for your help (and for the software in the first place). If any of my trouble have obvious solutions, or if you want me to try something to help debug any problems, let me know. Bill --- 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 with the mjpegtools)
Hi Robert, et al., > Kino can doat least some if not all of those things. Check out the "FX' > tab. Great. I definitely will give this a try. I began to test it, but then ran out of time for today, but I'll followup with results. > Robert Kesterson Thanks for the suggestion, 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: 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
Ronald, et al., > Add 'Load "v4l"' to the modules section of XF86Config-4 and restart X. > Lots of people don't have that. ;-). And I hadn't -- I was typically loading the necessary modules by hand when I needed them. But I've added it in, and now all the bttv modules are loaded right away -- but I have both a WinTV card and the LML33 in my system, so only the WinTV related modules are loaded, and accessed via /dev/video0. After loading the modules for the LML33, it is on /dev/video1. I now see the input from my WinTV in the capture window -- which is new and exciting, but even after I change the "Video Device" selection under "Video Options" to "/dev/video1" I still only see what's coming from the WinTV card (on /dev/video0). I tried quiting and restarting LVS, and while the option was correctly recalled as /dev/video1, I'm still getting video from /dev/video0. But, I primarily mention that as a bug report -- since I'm planning to do most (but not all!) of my capturing via dvgrab. > Hm... the third tab page (playback) is for viewing files on the hardware > output of the card. Clearly, something goes wrong here. Does 'dmesg' > show anything relevant for the LML33 card? You can use the second tab > page to view files on software playback (editing). Okay, now that I've had some time at work to do more experiments, I went to the "Edit Video" tab, and almost got something, but then not quite. The problem is that I can only find things to load edit-list files, but I don't have an edit-list yet, only lav-avi files. Strangely, at first I was able to load a lav-avi file by going to the "Add Scene" subtab clicking the up-arrow and selecting my .avi file. That put a little image in one of the 6 black squares, I clicked on that and "Add Scene" and now I had a little image in the leftmost black square on the bottom. Pressing the play-arrow didn't do anything though, so I switched to the "Editing" subtab and clicked "[Start]" and segfault. I restarted and this happened again. Now though, I can't even get the avi file to load at all. At one point I ended up rebooting, so this may have had an effect -- because I ran "studio" and everything hung. So now, when I click on the up-arrow under the "Add Scenes" tab it clearly wants an edit-list, and complains to the shell if I choose the .avi file. I've tried clicking on "New Editlist", but I don't see any new material, or any way to load .avi files into the perhaps newly created editlist. So, I'm still looking for hints! And, I'm not sure whether this is relevant, since at the moment I'm not worried about my mjped card, but here is what dmesg says about it: i2c: initialized inserting bt819 Zoran ZR36060 + ZR36057/67 MJPEG board driver version 0.9 MJPEG[0]: Zoran ZR36067 (rev 2) irq: 10, memory: 0xe9005000 MJPEG[0]: subsystem vendor=0xff23 id=0x9ed4 MJPEG[0]: Changing PCI latency from 64 to 32. MJPEG[0]: Initializing i2c bus... MJPEG[0]: bt819_attach: chip version 6 LML33[0] card detected LML33[0]: Zoran ZR36060 (rev 1) MJPEG: 1 card(s) found MJPEG: using 2 V4L buffers of size 1280 KB LML33[0]: Initializing card[0], zr=f9c30b80 LML33[0]: Testing interrupts... LML33[0]: interrupts received: GIRQ0:59 queue_state=0/0/0/0 LML33[0]: procfs entry /proc/zoran0 allocated. data=f9c30b80 LML33[0]: Using 2560 KB high memory LML33[0]: Using 2560 KB high memory LML33[0]: VIDIOCSCHAN with not supported norm 2 LML33[0]: Using 2560 KB high memory LML33[0]: Using 2560 KB high memory LML33[0]: Using 2560 KB high memory LML33[0]: VIDIOCSCHAN with not supported norm 2 LML33[0]: Using 2560 KB high memory LML33[0]: Using 2560 KB high memory LML33[0]: VIDIOCSCHAN with not supported norm 2 and: % cat /proc/video/dev/video1 name: LML33[0] type: VID_TYPE_CAPTURE|VID_TYPE_OVERLAY|VID_TYPE_CLIPPING|VID_TYPE_FRAMERAM|VID_TYPE_SCALES|VID_TYPE_MJPEG_DECODER|VID_TYPE_MJPEG_ENCODER hardware: 0x1a > Ronald Thanks again, 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: 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 with the mjpegtools)
Robert, Thanks again for the Kino suggestion. I was having difficulty figuring out how to use the FX options, and when looking at the help web page, stumbled back to the Kino home page and found that a new version had been released Monday, so I downloaded and compiled it, but I still can't figure out how to implement your suggestion: > 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. > You can > insert or delete sequences from anywhere you like (with audio). Good, I'm sure that will be a feature I'll use. > 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. > 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. Okay, I've downloaded the smilutils, but haven't gotten to the point of using them yet. > Robert Kesterson 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? Thanks again, 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: 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