Greetings and salutations.
Xvidcap is a lovely little application that seems to do exactly what is asked of it. The creators should be proud, it is immensely useful!
I have a question though. I would like to create video's from xvidcap that are natively ready to add to a DVD project, but I don't seem to be able to create any files that, for example, such tools as Q DVD-Author or DVD Styler think are acceptable. Could someone in the know suggest what I am doing wrong?
Here's what I know about the requirements for DVD video:
* Two major formats, PAL and NTSC.
* PAL needs either MPEG-1 or MPEG-2 videos, at 25 fps, using the following possible resolutions:
[720x576, 704x576, 352x576, 352x288]
* NTSC needs either MPEG-1 or MPEG2 videos, at either 29.97 fps or 23.976 fps, using the following possible resolutions:
[720x480, 704x480, 352x480, 352x240]
Xvidcap does seem to create videos matching these specs, but the videos fail to satisfy dvdauthor's GUIs. Any help with what I might be doing wrong would be gratefully appreciated.
Many thanks in advance!
Karl H. Beckers
Hmm, would have thought that .m2v extension should do the job.
$ ./xvidcap --file /tmp/test.m2v --mf --auto --fps 25 --cap_geometry 720x576 --source shm
$ file /tmp/test.m2v /tmp/test.m2v: MPEG sequence, v2, program multiplex
on a DVD here:
/media/cdrom/video_ts/vts_01_1.vob: MPEG sequence, v2, program multiplex
Nonetheless my dvdauthor also hickups on the captured file.
Comparing the mplayer output of the captured file and one DVD I have here, I only see a difference in aspcect (though 4:3 video should cause dvdauthor to crash), bitrate (which is not set of the captured video), and the audio codec (which also should not be decisive).
kb87850@ono-sendai:~$ diff -Naurw /tmp/shaun.txt /tmp/mine.txt
--- /tmp/shaun.txt 2007-11-28 15:28:47.000000000 +0100
+++ /tmp/mine.txt 2007-11-28 15:28:03.000000000 +0100
@@ -3,9 +3,9 @@
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
MPEG-PS file format detected.
-VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9000.0 kbps (1125.0 kbyte/s)
+VIDEO: MPEG2 720x576 (aspect 1) 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
@@ -17,14 +17,14 @@
Forced audio codec: mad
-Opening audio decoder: [liba52] AC3 decoding with liba52
-AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
-Selected audio codec: [a52] afm: liba52 (AC3-liba52)
+Opening audio decoder: [libmad] libmad mpeg audio decoder
+AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
+Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
-Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
-VO: [xv] 720x576 => 1024x576 Planar YV12
+Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
+VO: [xv] 720x576 => 720x576 Planar YV12
Judging by the error messages I'm seeing in dvdauthor, I may not be putting all the stuff in the m2v file I should (navigation packets?!?). I need to research this some more. Meanwhile I'd recommend transcoding. Take a look at this page: http://gentoo-wiki.com/HOWTO_Create_a_DVD:Encode
Karl H. Beckers
Nope, not possible at this time. m2v is svcd format. Should be easy to add DVD format, too, though.
Should be possible with current svn.
Remember to make sure you have correct settings, though: PAL or NTSC size, right fps and audio rate of 48000.
dvdauthor swallows those for me, now.
Thanks heaps for the response! I'll grab the latest svn copy and give it a try soon.