LinHES Forums http://forum.linhes.org/ |
|
Mythburn Error in mpeg2cut-px.sh ( R5C7 clean install ) http://forum.linhes.org/viewtopic.php?f=6&t=10341 |
Page 1 of 1 |
Author: | ethernut [ Sat Jun 03, 2006 1:33 pm ] |
Post subject: | Mythburn Error in mpeg2cut-px.sh ( R5C7 clean install ) |
For reference, see this thread: http://mysettopbox.tv/phpBB2/viewtopic.php?t=9425 In desperation I just did a clean install of R5C7. I even wiped the my drive partition table to make sure it was clean. I did a mythbackup and copied only the mythconverg database and the /myth/tv/* entries. I reinstalled R5C7, restored the database and /myth/tv entries. That's it. The error below look indicates that there's a syntax error in the Mythburn script allowing it to confuse the ffmpeg copyright tagline as input. It seems this the mplex command is being executed in /myth/mythburn/scripts/mpeg2cut-px.sh. echo mplex -o ${outfile} -f 8 ${base}.m2v ${audio} Under /scripts/prepare_audio.sh is where the audio (${audio}) variable is being generated. I'd assume the issues is with the input provided by the prepare_audio.sh script. I tried to make a DVD right after I did the clean install and got the output below. I also deleted /myth/mythburn, downloaded the latest CVS, then went through the install process on the WIKI and got the exact same results as below. I bolded that area in question at the bottom. I've done some searches and saw where some have had the same issue, unfortuantely I did not find a post where a solution was apparent. Suggestions? EtherNut MythBurn Script is running as user www-data Video format = ntsc Background image = /myth/mythburn/images/backgrounds/mythtv-logo.png Background music = /myth/mythburn/music/funky2.mp2 Make ISO image = yes Burn to DVD-R = no Delete VIDEO_TS = no Highlight image = bar.png Animated thumbnails = no Chapter Submenus = no Recode to AC3 = yes MythTV files are in /myth/tv Creating DVD at 03-06-2006 11:46.... Total file size of video files is 2220 Mbytes mkdir: cannot create directory `/myth/mythburn/temp/DVD': File exists Multiplexing MPEG2 video files to DVD format and applying cutlists ----- datestamp=03-06-2006 11:46 ----- datestamp=03-06-2006 11:46 1038_20060127230000_20060128000000.nuv try to cut commercials using mythtv cutlist cutlist found, applying and remultiplexing for DVD format Filename "/myth/tv/1038_20060127230000_20060128000000.nuv" OutFile "/myth/mythburn/temp/1038_20060127230000_20060128000000.nuv" Cutting out commercials + demultiplexing with projectx Reading GUI-Switch... Reading Help Switch... Reading Config File Switch... Start without GUI... Loading last Config or Standard File... ini load error: java.io.FileNotFoundException: /myth/mythburn/temp/X.ini (No such file or directory) Loading Language -> 'en' ProjectX 0.90.3.01/31.01.2006 TEST PROJECT ONLY , User: www-data TERMS AND CONDITIONS: (1) this is a free Java based demux utility. (2) It is intended for educational purposes only, as a non-commercial test project. (3) released under the terms of the GNU GPL. (4) there is NO WARRANTY of any kind attached to this software. (5) use it at your own risk and for your own education. Java Environment June 3, 2006 11:46:34 AM EDT java.version 1.5.0_06 java.vendor Sun Microsystems Inc. java.home /usr/lib/j2re1.5-sun java.vm.version 1.5.0_06-b05 java.vm.vendor Sun Microsystems Inc. java.vm.name Java HotSpot(TM) Client VM java.class.vers 49.0 java.class.path /usr/share/projectx/ProjectX.jar os.name Linux os.arch i386 os.version 2.6.15-chw-2 ini.file /myth/mythburn/temp/X.ini ext.disk.access disabled or library not found user.language en user.name www-data user.home /var/www quick CL usage: Note: CL doesn't load the GUI components, except with switch [-gui] <without options> ...starts the GUI switches and inputfiles can be in any order options: [-ini <path + inifile>] ..use that specified iniFile instead of the standard [-dvx1] ..create a .d2v ProjectFile on demux [-dvx2] ..create a .d2v ProjectFile + .ac3.wav (RIFF WAVE Header) [-dvx3] ..create a .d2v ProjectFile + .mpa.wav (RIFF WAVE Header) [-dvx4] ..create a .d2v ProjectFile + .ac3.wav + mpa.wav (RIFF WAVE Header) [-out <path>] ..use that specified directory for output [-name <filename>] ..use that specified filename for output [-cut <file>] ..use that text based file as cutpoint list [-chp <file>] ..use that text based file as chapterpoint list [-id <tokens>] ..use only these (P)IDs, separated by comma "," [-gui] ..display the GUI using all given CLI options [-log] ..write the normal logfile [-saveini] ..save changes made bei CLI in active .ini [-split <xxx>] ..split output at xxx MB [-demux, -tom2p, -topva, -tovdr, -tots, -filter] ..action types Loading Basic Classes... Reading CLI Switches... Successful reading of 9 cutpoints Checking Commons-Net library access... Loading AC3 frames... Starting Collection Process... preparing collection(s)... 1 %<<< session infos >>> Saturday, June 3, 2006 11:46:37 AM EDT ProjectX 0.90.3.01 (31.01.2006) -> working with collection 0 -> save normal log file -> write all video data -> write all other data -> patch c.d.flagged infos of pictures -> add sequence end code -> set resolution in SDE -> PVA: strictly specs. for audio streams -> VOB: determine diff. Cell timelines -> TS: ignore scrambled packets -> TS: enhanced search for open packets -> TS: join file segments (of Dreambox?) -> TS: generate PMT stream dependent -> get only enclosed PES/TS packets -> concatenate different recordings -> ensure 1st PES-packet start with video -> generate PCR/SCR from PTS -> write output files to: '.' -> 9 cutpoint(s) defined ( (2) use Frame number for cuts ) -> Input File 0: '/myth/tv/1038_20060127230000_20060128000000.nuv' (2,326,912,960 bytes) -> Filetype is MPEG-2 PS/SS (PES Container) -> demux demuxing A/V PES file 1038_20060127230000_20060128000000.nuv -> found PES-ID 0xE0 (MPEG Video) @ 38 -> found PES-ID 0xC0 (MPEG Audio) @ 2062 -> cut-in @ GOP# 0 / new vframe 0 / new Timecode 00:00:00.000 -> video basics: 480*480 @ 29.97fps @ 0.6735 (4:3) @ 6000000bps, vbvBuffer 112 -> starting export of video data @ GOP# 0 !> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000 15 %-> cut-out @ GOP# 1030 21 %-> cut-in @ GOP# 1442 / new vframe 15448 / new Timecode 00:08:35.448 !> PTS difference of 18558558 (00:03:26.206) to last exported GOP detected !> dropping useless B-Frames @ GOP# 1442 / new Timecode 00:08:35.448 37 %-> cut-out @ GOP# 2638 44 %-> cut-in @ GOP# 3100 / new vframe 33386 / new Timecode 00:18:33.980 !> PTS difference of 20810811 (00:03:51.231) to last exported GOP detected !> dropping useless B-Frames @ GOP# 3100 / new Timecode 00:18:33.980 60 %-> cut-out @ GOP# 4250 66 %-> cut-in @ GOP# 4712 / new vframe 50634 / new Timecode 00:28:09.489 !> PTS difference of 20810811 (00:03:51.231) to last exported GOP detected !> dropping useless B-Frames @ GOP# 4712 / new Timecode 00:28:09.489 82 %-> cut-out @ GOP# 5892 88 %-> cut-in @ GOP# 6324 / new vframe 68332 / new Timecode 00:38:00.013 !> PTS difference of 19459459 (00:03:36.216) to last exported GOP detected !> dropping useless B-Frames @ GOP# 6324 / new Timecode 00:38:00.013 100 % -> Video: fr/ ct/ 1p/ cg/ og/ dg -> 81230/ 1769/ 0/ 5416/ 0/ 0 -> Video length: 81230 frames @ 00:45:10.370 -> GOP summary: min. 26, max. 30 fields; contains interlaced frames -> avg. nom. bitrate 4493067bps (min/max: 1523600/7301600) -> set first sequenceheader bitrate to 7301600bps ---> new File: ./1038_20060127230000_20060128000000.m2v --> MPEG Audio (0xC0) check & synchronize audio file 1038_20060127230000_20060128000000.mp 1 %-> check CRC of AC-3 / MPEG-Audio L1,2 -> delete CRC in MPEG-Audio Layer1,2 -> add frames Audio PTS: first packet 00:00:00.333, last packet 00:59:55.965 Video PTS: start 1.GOP 00:00:00.400, end last GOP 00:59:55.929 -> adjusting audio at video-timeline !> missing syncword @ 2016, @ 00:00:00.000 !> found syncword @ 2304 -> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 384kbps, noCRC @ 00:00:00.000 100 %audio frames: wri/pre/skip/ins/add 112932/0/0/0/0 @ 00:45:10.368 done... ---> new File: './1038_20060127230000_20060128000000.mp2' 101 % summary of created media files: .Video (m2v): 81230 Frames 00:45:10.370 './1038_20060127230000_20060128000000.m2v' Audio 0 (mp2): 112932 Frames 00:45:10.368 0/0/0/0 './1038_20060127230000_20060128000000.mp2' => 1,652,334,192 bytes written... -> we have 11 warnings/errors. done... 1 collection(s) processed @ 00:08:50.112 mpg123 -w - ./1038_20060127230000_20060128000000.mp2.old | ffmpeg -y -i - -f ac3 -ab 192 -ar 48000 ./1038_20060127230000_20060128000000.mp2 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Directory: ./ Playing MPEG stream from 1038_20060127230000_20060128000000.mp2.old ... MPEG 1.0 layer II, 384 kbit/s, 48000 Hz stereo Input #0, wav, from 'pipe:': Duration: N/A, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Output #0, ac3, to './1038_20060127230000_20060128000000.mp2': Stream #0.0: Audio: ac3, 48000 Hz, stereo, 192 kb/s Stream mapping: Stream #0.0 -> #0.0 size= 63491kB time=2709.0 bitrate= 192.0kbits/s [45:10] Decoding of 1038_20060127230000_20060128000000.mp2.old finished. Warning can't rewind WAV file. File-format isn't fully conform now. size= 63524kB time=2710.4 bitrate= 192.0kbits/s video:0kB audio:63524kB global headers:0kB muxing overhead 0.000000% Remultiplexing video mplex -o /myth/mythburn/temp/1038_20060127230000_20060128000000.nuv -f 8 1038_20060127230000_20060128000000.m2v ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Oct 18 2005 17:26:48, gcc: 3.3.5 (Debian 1:3.3.5-12) ./1038_20060127230000_20060128000000.mp2 INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $) **ERROR: [mplex] Unable to open file ffmpeg for reading. Cleaning up rm: cannot remove `ffmpeg': No such file or directory rm: cannot remove `version': No such file or directory rm: cannot remove `0.4.9-pre1,': No such file or directory rm: cannot remove `build': No such file or directory rm: cannot remove `4718,': No such file or directory rm: cannot remove `Copyright': No such file or directory rm: cannot remove `(c)': No such file or directory rm: cannot remove `2000-2004': No such file or directory rm: cannot remove `Fabrice': No such file or directory rm: cannot remove `Bellard': No such file or directory rm: cannot remove `built': No such file or directory rm: cannot remove `on': No such file or directory rm: cannot remove `Oct': No such file or directory rm: cannot remove `18': No such file or directory rm: cannot remove `2005': No such file or directory rm: cannot remove `17:26:48,': No such file or directory rm: cannot remove `gcc:': No such file or directory rm: cannot remove `3.3.5': No such file or directory rm: cannot remove `(Debian': No such file or directory rm: cannot remove `1:3.3.5-12)': No such file or directory ----- datestamp=03-06-2006 12:01 Building MPEG2 GOP index files... ----- datestamp=03-06-2006 12:01 ----- datestamp=03-06-2006 12:01 (ioaux.c) invalid file "/myth/mythburn/temp/1038_20060127230000_20060128000000.nuv" *********************************** MythTV BurnDVD stopped due to error *********************************** Sent UDP/XML packet to IP 255.255.255.255 and port: 6948 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |