Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I'm running FC2 and KDE 3.2.
I edit videos using Cinelerra and it works fine. I render the audio and video using Cinelerra and I multiplex using mplex. That produces fully working mpeg videos. Then, I create the DVD using DVDStyler. Just for testing purpose, I pick on of the background image provided by DVDStyler. I add a button that starts my mpeg I added to DVDStyler. The I generate the DVD. When I what the DVD from the hard disk using totem, it works fine. The menu displays I click the button and the video starts correctly. However, if I try to watch this DVD from the hard drive from a Windows XP computer user PowerDVD, the menu displays but when I click the menu, I only see the menu but I can hear the sound of the movie. I tried burning anyway the DVD to figure out if it was a problem only with PowerDVD. I created the iso with DVDStyler. Then, I copied the iso to my Windows XP computer and burned it with nero. The DVD doesn't work in any DVD reader, it says damaged disk or something like that.
The Linux DVD players are very forgiving of incorrect MPEG formats, but there are very specific settings needed for some DVD players, like no more than 15 (18 for NTSC) frames per GOP, and the video must be one of the supported resolutions (720x576 or 352x288 for PAL, not sure about the NTSC ones). I haven't used DVDStyler, but it should give you warnings about things like that. Is there any way to see the dvdauthor output (a log window or something)?
Hello,
there is a log window. However, I can't copy the text the ctrl-c doesn't work and there is no "copy" menu. I suppose this is written somewhere in a log file but I have absolutely no idea where it could be.
Is there a log file for dvdauthor? Where? May be it could contain usefull information.
Under X, when you select text, it is copied automatically. You can paste that copied text by clicking the middle mouse button (which may be your scroll wheel, or you may need to click both buttons together). Note that this is independent of the normal copy/paste clipboard - this can be confusing
INFO: [mpeg2enc] Signaling last frame = 0
INFO: [mpeg2enc] SETTING 3DNOW and EXTENDED MMX for QUANTIZER!
INFO: [mpeg2enc] GOP start (1 frames)
INFO: [mpeg2enc] Frame end 0 I quant=8.19 total act=192.24658
INFO: [mpeg2enc] GOP start (0 frames)
INFO: [mpeg2enc] Guesstimated final muxed size = 33817
Multiplexing audio and video
INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [mplex] File /home/partage/MoviesEdited/dvd/menu1.mpg_background.m2v looks like an MPEG Video stream.
INFO: [mplex] File /usr/local/dvdstyler/bin/../silence.mp2 looks like an MPEG Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (/home/partage/MoviesEdited/dvd/menu1.mpg_background.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 4:3 display
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 7500000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (/usr/local/dvdstyler/bin/../silence.mp2)
INFO: [mplex] MPEG AUDIO STREAM: c0
INFO: [mplex] Audio version : 1.0
INFO: [mplex] Layer : 2
INFO: [mplex] CRC checksums : no
INFO: [mplex] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency : 44100 Hz
INFO: [mplex] Mode : 0 stereo
INFO: [mplex] Mode extension : 0
INFO: [mplex] Copyright bit : 0 no copyright
INFO: [mplex] Original/Copy : 0 copy
INFO: [mplex] Emphasis : 0 none
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 7889048
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Scanned to end AU 0
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16022
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000
INFO: [mplex] STREAM e0 completed @ frame 0.
INFO: [mplex] STREAM c0 completed @ frame 114.
INFO: [mplex] Multiplex completion at SCR=274870.
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000017
INFO: [mplex] Audio c0: buf= 1170 frame=000114 sector=00000042
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 33817 bytes
INFO: [mplex] Sequence headers: 1
INFO: [mplex] Sequence ends : 1
INFO: [mplex] No. Pictures : 0
INFO: [mplex] No. Groups : 1
INFO: [mplex] No. I Frames : 1 avg. size 33817 bytes
INFO: [mplex] No. P Frames : 0 avg. size 0 bytes
INFO: [mplex] No. B Frames : 0 avg. size 0 bytes
INFO: [mplex] Average bit-rate : 8107600 bits/sec
INFO: [mplex] Peak bit-rate : 0 bits/sec
INFO: [mplex] BUFFERING stream too short for useful statistics
INFO: [mplex] AUDIO_STATISTICS: c0
INFO: [mplex] Audio stream length 84115 bytes.
INFO: [mplex] Syncwords : 115
INFO: [mplex] Frames : 65 padded
INFO: [mplex] Frames : 50 unpadded
INFO: [mplex] BUFFERING stream too short for useful statistics
INFO: [mplex] MUX STATUS: no under-runs detected.
Multiplexing subtitles (buttons) into mpeg
DVDAuthor::spumux, version 0.6.10.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_US.UTF-8
INFO: Converting filenames to UTF-8
STAT: 0:00:00.000
INFO: PNG had 2 colors
INFO: PNG had 2 colors
INFO: PNG had 2 colors
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: Found EOF in .sub file.
INFO: Max_sub_size=474
WARN: Read 0, expected 4
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18
Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 474 bytes.
Check MPEG-files
Generating DVD
DVDAuthor::dvdauthor, version 0.6.10.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
I get those discontinuity errors on my menu files sometimes, but it hasn't caused me any problems, so I think that's OK. One thing that is different though, is that your system seems to do the menu after the main movie, while mine does it first - are you able to view the XML file that dvdauthor uses? I think there could be a mistake in that.
What do you use to author the dvd? I may just drop dvdstyler and use something that works better... I suppose you don't use a gui but command line dvdauthor. May I ask you to tell me the steps you perform to create a correct dvd?
OK, I usually work on the video and audio streams separately (most of the DVD stuff I do involves backing up my purchased DVDs, I don't create my own movies yet).
The video stream I encode as a plain MPEG2 stream (the encoder offers a 'dvd-compatible' mode, but I find using this too early causes problems where the MPEG won't play all the way through, but some do - it's very odd). I either use the pure AC3 track from the DVD or encode it to MPEG2 audio.
Then I use mplex to merge them with the dvd compliant format (commandline: mplex -f 8 -o output.mpeg video.m2v audio.mp2). I put all the resulting MPEG files in one directory, and name them sequentially (something obvious would be chapter01.mpeg, chapter02.mpeg, etc etc). If you only have one mpeg file, this is not so important.
Once that's done, I create an XML file for the movie. I actually use a python script to do this so I don't have to do too much work - it creates one entry for each MPEG file it finds in a specified directory. If you'd like, I can post the code for this script (sometime tomorrow, when I'm back at home), otherwise check out 'man dvdauthor' for some sample XML segments, or the dvdauthor homepage.
Next I check the XML file for any necessary changes, then use the command "dvdauthor -o dvddir -x xmlfile.xml", which creates the correct structure in 'dvddir'. Then I use "xine dvd://full/path/to/dvddir" to sanity check it, followed by "dvdauthor -o movie.iso dvddir". Then I use growisofs to burn the ISO file, and test it in my hardware DVD player. This sequence nearly always works for me, but the downside is how much diskspace it uses. At each step you can delete files to save space, but that means re-doing every step if something goes wrong. Also, I have one pre-made menu that I put on each of my DVDs (this is actually hardcoded in the python script I mentioned).
Thanks,
I tried with the following dvdauthor xml file. I then try it with ogle, I'm getting the sound but no image. I tried with totem and it works fine, I get sound and image. I tried also on Windows XP with PowerDVD and again sound's fine but no image. I just don't know what to look at... Could it be more simple than that, no menu only one movie?
Yes, you can skip the menu, and the DVD player will play the first track it finds on the disc. I believe the XML you posted is correct, but I'll check properly when I'm back home. Usually if you're getting sound but not video, it's a fair bet the video stream is not the correct spec. How was it encoded? If you use mpeg2enc, be sure to pass "-G 15 -c" on the command line (-G 18 for NTSC, but 15 should work too). Your first DVD is likely to be trial and error until it works - if you have an RW drive, I recommend using a rewritable disc to save wasting spares. If only I had followed this advice myself... so many coasters
the -G 18 limits the the output to 18 frames per GOP, which is (apparently) essential for DVD-player compatibility. The -c part closes each GOP, which might not be quite so necessary, but means each GOP can be decoded entirely in and of itself (i.e no need to read earlier parts of the stream to get the picture right). If nothing else, this would make your video stream easier to chop up if with an editing tool.
Isn't -F 8 for DVD?
What do you mean it comes from transcode? Again I would like to see the transcode command... Also, post your mplex command. May be by having working command samples I'll figure out what's wrong with me.
Yes, -F 8 is for DVD, but I said before if I use that too early, I get MPEGs that don't play properly on hardware players. You stick to plain MPEG2 (-F 3) for encoding, and only supply the -f 8 to mplex. I gave you the mplex command I use already, in the longer post describing the steps I take.
As for coming from transcode, I use transcode because it handles demuxing and decoding the various DVD streams. It prints out the command lines it uses, and that was the mpeg2enc one. The transcode command I use is:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.