From: gregory d. <gr...@ic...> - 2004-05-28 16:21:57
|
Hi all, i've created an multiplexed mpg the following way : # here i create the m2v with video bitrate set to 9000 and audio to 128 (i also tried with 224 see below) from a group of 768x576 jpeg files (\ ls imgs/*.jpg | xargs -n1 djpeg \ | ppmtoy4m -v 0 -F 25:1 -S 420_mpeg2 -I t -L\ ) \ | yuvscaler -v 0 -O SIZE_720x576 \ | mpeg2enc -v 0 -V 300 -b 9000 -B 128 -f 8 -a 3 -F 3 -I 1 -o dvd.m2v # now i create a .mp2 (i also tried .m2a) silence which has the same duration as my .m2v (1332480 = 1920 * 694 frames) dd if=/dev/zero bs=4 count=1332480 | lame --silent -b 128 -s 48 /dev/stdin silent.mp2 # now i multiplex both video and audio mplex -r 9800 -f 8 silent.mp2 dvd.m2v -o dvd.mpg # everything works fine up to now... # now the authoring dvdauthor -o DVD -x dvd.xml my xml file looks like this (could hardly be more simple): <dvdauthor> <vmgm /> <titleset> <titles> <pgc> <vob file="/Library/WebServer/Documents/nas/media_ssr/export/2/26/dvd.mpg" /> <post> jump chapter 1; </post> </pgc> </titles> </titleset> </dvdauthor> and that's what dvdauthor says : DVDAuthor::dvdauthor, version 0.6.10. Build options: gnugetopt iconv freetype Send bugs to <dvd...@li...> INFO: Locale=C INFO: Converting filenames to US-ASCII INFO: dvdauthor creating VTS STAT: Picking VTS 02 STAT: Processing /Library/WebServer/Documents/nas/media_ssr/export/2/26/dvd.mpg... WARN: Discontinuity in audio channel 8; please remultiplex input. WARN: Previous sector: 0.144 - 0.144 WARN: Current sector: 0.288 - 0.288 WARN: Discontinuity in audio channel 8; please remultiplex input. WARN: Previous sector: 0.288 - 0.288 WARN: Current sector: 0.408 - 0.408 ... WARN: Discontinuity in audio channel 8; please remultiplex input. WARN: Previous sector: 27.672 - 27.672 WARN: Current sector: 27.816 - 27.816 WARN: Discontinuity in audio channel 8; please remultiplex input. WARN: Previous sector: 27.816 - 27.816 WARN: Current sector: 27.936 - 27.936 INFO: Video pts = 0.184 .. 26.224 INFO: Audio[8] pts = 0.144 .. 27.936 STAT: VOBU 45 at 6MB, 1 PGCS INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 16:9 INFO: Resolution: 720x576 INFO: Audio ch 0 format: mp2/2ch, 48khz 20bps STAT: fixed 45 VOBUS INFO: dvdauthor creating table of contents INFO: Scanning DVD/VIDEO_TS/VTS_01_0.IFO As a result, i have good VIDEO_TS folder but my AUDIO_TS is empty. I've tried to use the following audio bitrates (feeding them from the command line to mpeg2enc and lame) with no luck : 128, 224 mplex reads the audio bitrate well. i'm using mjpegtools 1.6.1-22 (from fink) What can i do now? Please help. |