Burning DVD for DVD players (non PC types)
Hi everyone/anyone,
This is my first post. I've looked at other forums for the solution but haven't seen much that helps (seems like a simple problem that many must have run into). Problem is: I'm trying to burn DVD's that are playable on regular DVD players (not just on PC's). In other words I need to convert MPEG type files to .vob I used OpenShot video editor to combine serval clips from a camera (.MTS type files)and then exported it as single 'DVD' file. I then tried to use k3b DVD Kreator to burn a DVD from that file. I get the following error: K3b Version: 2.0.2 KDE Version: 4.11.5 QT Version: 4.8.4 Kernel: 3.11.0-19-generic Used versions ----------------------- mkisofs: 1.1.11 mkisofs ----------------------- /usr/bin/genisoimage: No such file or directory. Failed to open VIDEO_TS.IFO /usr/bin/genisoimage: Can't open VMG info for '/tmp/kde-ron/k3bVideoDvd0/'. /usr/bin/genisoimage: Unable to parse DVD-Video structures. /usr/bin/genisoimage: Could not find correct 'VIDEO_TS' directory. Possible reasons: - VIDEO_TS subdirectory was not found on specified location - VIDEO_TS has invalid contents -------------------------------------------------------------- (File/directory k3bVideoDvd0 was not created) I'm using ubuntu 13.10 and do have genisoimage installed (but not sure about all its necessay dependencies) I think that k3b (using genisoimage) should be creating directories: VIDEO_TS & AUDIO_TS containing .ifo and .iso/.vob files but for some reason it isn't able to. Do I need to create the directories for it myself? Doesn't seem reasonable. I have found converters apps and have generated a separte .iso file but I don't know where the .ifo files come from and the .iso files don't play by themselves in DVD players. If you can't answer my question directly maybe someone knows of a good source of info. that I could use to educate myself. Thanks in advance |
It seems to me the core issue here is converting the mpegs to vob, not the actual burning.
I've never done that, but this thread from the Ubuntu forums may help: http://ubuntuforums.org/showthread.php?t=1161044 |
It appears that you never "authored" the DVD. Below is how to do what you want, starting with an MPG file. This is command line stuff. No GUI's.
--- If you have your source video in a single file in MPG format, rename that to "movie.mpg": Code:
mv your_source_file movie.mpg Run the command: Code:
mkdir movie.dir Code:
<dvdauthor> Code:
VIDEO_FORMAT=NTSC dvdauthor -o "movie.dir" -x "movie.xml" Code:
growisofs -use-the-force-luke=notray -Z /dev/dvd0 -speed=1 -dvd-video "movie.dir" [ edit: I assumed above that you are in the USA, thus my use of VIDEO_FORMAT=NTSC. If you are in Europe, change that to VIDEO_FORMAT=PAL. If you're somewhere else, change it to whatever video format your country (and your DVD player) uses. ] |
Thanks for the info. I think you're right about the problem being in the converting. I'll give ffmeg a try. It might be that the problem is in the first step of exporting the file from OpenShot editor--I exported both .dv and .avi files but get the error that it(k3b) 'doesn't have all the necessary video DVD files' plus what I posted before; so it seems that 3kb is not getting the correct files (I don't know what the necessary files are though) or that 3kb is missing some part. In doing my own research I found this very old link:
http://www.linuxquestions.org/linux/...dia/AVI_to_DVD that describes exactly what I want to do using terminal commands. I had problems with just the first command {transcode -i ...). So I think I'll either troubleshoot this method and/or try using the genisoimage terminal command the same way. (The terminal commands give a little more feed back than using GUI 's) I'll let you know how it goes--again thanks for your interest and help |
Thanks--it worked
Thanks for your interst and time and most of all a succinct and accurate answer. I only had to change dvd0 to cdrom for my system. You saved me a great deal of time. I had figured out that my problem wasn't in converting but that I had completely missed the 'DVD authoring' step. I was trying the GUI Devede but it wasn't recognizing/accepting my video files even though I knew they were videos that could be seen. I didn't find any quick solution and didn't look forward to troubleshooting that GUI so I was headed to trying it from the command line. Therefore your answer couldn't have been more timely. I can now get on with my original project and experiment with the commands you sent for making titles and such--but its so much nicer starting from something that works. If you have any other posts/links/articles that would help me get smarter I'd appreciate it, otherwise I'll be happy with just using the man's and --helps for these commands.
This is my first time using this forum(or any forum) so I hope this isn't too wordy but I really do appreciate your help. |
The commands I posted above are from a PERL script that I wrote long ago for copying DVD's (script is posted below). I didn't put any comments in the script, but if you can read PERL code, it's a very simple script. You can pick out some of the commands I used for ripping, getting chapter info, shrinking video, etc. (dvdxchap, vamps, mplayer, growisofs, dvdauthor, etc.) Those commands may be of some use to you. One note on this script: At one place I calculate a "shrinkage factor" so that I can make a 9Gb DVD fit onto a 4.5Gb DVD. That calculation is not 100% perfect. Every now and then I end up with a shrunken file that was not quite shrunk enough. That becomes obvious when the script calls growisofs and growisofs complains that things won't fit on the inserted blank DVD. No harm done, as growisofs is smart enough not to try burning your DVD when it knows things won't fit. When this fit problem happens, I go into the script and manually tweak the the calculation for the particular DVD. I do a "brute force" tweak, and you can see this near the top of the script where I set the $DVDSIZE variable. I just comment out the old defined size and substiture a new, smaller size. It's been on my ToDo list for years now to go back and fix that calculation properly, but I've just never gotten around to it. The "too big to fit" problem occurs so rarely that I haven't felt the urgency to do the proper re-work of calculating the shrinkage factor.
The script intentionally leaves its intermediate working files in the current directory, so that if you stop it in progress, or some error occurs, it can pick up from where it left off without having to start over (which can be time consuming). Sometimes you may want to really start over from scratch, and you need to remove all the intermediate files manually to accomplish that. This "pick up from where you left off" behavior is handled by the @operation and %file_to_operation_map things you see in the script. This behavior is desireable if you only have one DVD drive that you will use for both the source DVD and the destination one. You put in the source DVD, start the script, and walk away. When it gets to the burning step, that will fail because there is not a writeable DVD in the drive. Just insert a fresh DVD and start the script again. It will pick up right at the burning step. Note: Set $READ_DEVICE and $WRITE_DEVICE variables appropriately. These are found at the top of the script. The way I determine which audio stream is the English audio strem (the one I want since I'm in the USA) is probably overkill, but it works. What I'm doing is finding the highest quality English track (the DVD might have all of 5.1 audio, stereo audio, mono audio, etc.) You will see when I call growisofs I use the -use-the-force-luke=notray option. You will not find that documented, because, -use-the-force-luke signals an "undocumented option". What "notray" does is prevents platforms that normally eject then suck back in the DVD after it has been burned. On some platforms, a burned DVD will appear corrupt unless you eject it and reinsert it. Some platforms do this eject/re-insert step automatially. "notray" attempts to prevent that. Why? Because if you have autoplay set on your computer, when that DVD gets sucked back in, it will start playing. And if you started this copy operation and then walked away and went to bed, the last thing you want is for a DVD to start automatically playing later and wake you up. A lot of this script has to do with pulling data off a DVD to start with, something you have not stated you needed to do. But in the end it shrinks things, authors DVDs, and burns them - all steps that you will need. Code:
#!/usr/bin/perl |
Modifying commands?
Hey that Perl script looks like it could come in handy when I get this project done. It looks pretty straight forward & easy to use--especially with your explanations. On the authoring part I'm wondering if I can simply modify the xml file by adding titles for separate video clips which brings up the question of how to add multiple clips--which I guess is the purpose of 'authoring'. BTW I haven't researched any of these commands yet so if that info is readily available don't waste your time with providing details--just point me there.
|
Some stuff on dvdauthor:
http://dvdauthor.sourceforge.net/ http://dvdauthor.sourceforge.net/doc/index.html http://radagast.ca/linux/dvd_authori...authoring.html http://www.kaybee.org/~kirk/dvdauthor.html http://nfs.shawnfumo.com/wiki/DVDAuthor/XML There are a lot of examples and documentation to be found if you search. Just search Google for "tutorial dvdauthor", "howto dvdauthor", "wiki dvdauthor", "dvdauthor xml", "how to create menus with dvdauthor", etc. |
All times are GMT -5. The time now is 11:52 AM. |