I am using Gentoo 2005.1 with MythTV 0.18.1 and Mythweb. Everything is working fine so far. I have installed ProjectX 0.90.3 and Mythburn, all the needed tools are there. When I start a burning task from the Mythweb interface, ProjectX is started fine, hoewver ProjectX bails out with some exceptions.
Here's my log file:
Code:
MythBurn Script is running as user apache
Video format = pal
Background image = /myth/mythburn/images/backgrounds/plasma-fractal.png
Background music = /myth/mythburn/music/menumusic.mp2
Make ISO image = yes
Burn to DVD-R = no
Delete VIDEO_TS = no
Highlight image = bar.png
Animated thumbnails = yes
Chapter Submenus = yes
Recode to AC3 = no
MythTV files are in /media/record
Creating DVD at 10-01-2006 13:13....
Total file size of video files is 4485 Mbytes
***************************************************************
****** WARNING - DVD may not fit onto a recordable DVD ******
****** Requantizing with factor 1.043023 to fit onto DVD ******
***************************************************************
mkdir: cannot create directory `/myth/mythburn/temp/DVD': File exists
Multiplexing MPEG2 video files to DVD format and applying cutlists
----- datestamp=10-01-2006 13:13
----- datestamp=10-01-2006 13:13
23_20051226201000_20051226222500.nuv
commerical cut disabled, remultiplexing for DVD format only
Re-multiplexing file /media/record/23_20051226201000_20051226222500.nuv
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: /px/X.ini (No such file or directory)
Loading Language -> 'en'
ProjectX 0.90.3.00/31.12.2005 TEST PROJECT ONLY , User: apache
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
January 10, 2006 1:13:51 PM CET
java.version 1.4.2-02
java.vendor Blackdown Java-Linux Team
java.home /opt/blackdown-jdk-1.4.2.02/jre
java.vm.version Blackdown-1.4.2-02
java.vm.vendor Blackdown Java-Linux Team
java.vm.name Java HotSpot(TM) Client VM
java.class.vers 48.0
java.class.path ProjectX.jar
os.name Linux
os.arch i386
os.version 2.6.12-gentoo-r6locke-server
ini.file /px/X.ini
ext.disk.access disabled or library not found
user.language en
user.name apache
user.home /home/apache
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...
!> an error has occured.. (please inform the autors at 'forum.dvbtechnics.info')
No matching FileType found or file doesn't exist: '-o'
!> an error has occured.. (please inform the autors at 'forum.dvbtechnics.info')
java.lang.NoSuchMethodException: net.sourceforge.dvb.projectx.xinput.file.XInputFileImpl.<init>(java.lang.String)
at java.lang.Class.getConstructor0(Class.java:1937)
at java.lang.Class.getConstructor(Class.java:1027)
at net.sourceforge.dvb.projectx.xinput.XInputFile.retrieveImplementation(Unknown Source)
at net.sourceforge.dvb.projectx.xinput.XInputFile.<init>(Unknown Source)
at net.sourceforge.dvb.projectx.common.Common.getInputFile(Unknown Source)
at net.sourceforge.dvb.projectx.common.Start.readSwitches(Unknown Source)
at net.sourceforge.dvb.projectx.common.Start.main(Unknown Source)
File input error
!> an error has occured.. (please inform the autors at 'forum.dvbtechnics.info')
No matching FileType found or file doesn't exist: '.'
!> an error has occured.. (please inform the autors at 'forum.dvbtechnics.info')
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at net.sourceforge.dvb.projectx.xinput.XInputFile.retrieveImplementation(Unknown Source)
at net.sourceforge.dvb.projectx.xinput.XInputFile.<init>(Unknown Source)
at net.sourceforge.dvb.projectx.common.Common.getInputFile(Unknown Source)
at net.sourceforge.dvb.projectx.common.Start.readSwitches(Unknown Source)
at net.sourceforge.dvb.projectx.common.Start.main(Unknown Source)
Caused by: java.lang.IllegalArgumentException: File is not of type FileType.FILE
at net.sourceforge.dvb.projectx.xinput.file.XInputFileImpl.<init>(Unknown Source)
... 9 more
File input error
File input error
Error while reading CLI Switches ...
Checking Commons-Net library access...
Loading AC3 frames...
Starting Collection Process...
preparing collection(s)...
1 %Tuesday, January 10, 2006 1:13:53 PM CET
ProjectX 0.90.3.00 (31.12.2005)
<<< session infos >>>
-> 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
stopped...
!> an error has occured.. (please inform the autors at 'forum.dvbtechnics.info')
java.lang.NullPointerException
at net.sourceforge.dvb.projectx.xinput.XInputFile.toString(Unknown Source)
at net.sourceforge.dvb.projectx.common.JobCollection.checkOutputDirectory(Unknown Source)
at net.sourceforge.dvb.projectx.parser.MainProcess.startProcessing(Unknown Source)
at net.sourceforge.dvb.projectx.parser.MainProcess.run(Unknown Source)
-> we have 1 warnings/errors.
!> an error has occured.. (please inform the autors at 'forum.dvbtechnics.info')
java.io.FileNotFoundException: (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at net.sourceforge.dvb.projectx.common.JobCollection.closeNormalLogStream(Unknown Source)
at net.sourceforge.dvb.projectx.parser.MainProcess.startProcessing(Unknown Source)
at net.sourceforge.dvb.projectx.parser.MainProcess.run(Unknown Source)
Error Running project X, no log file created. giving up.
***********************************
MythTV BurnDVD stopped due to error
***********************************
Sent UDP/XML packet to IP 255.255.255.255 and port: 6948
I have installed ProjectX and all libs in /px, I can run it fine manually (Open an Xterm and give a /usr/bin/projectx).
The /usr/bin/projectx looks like:
Code:
#!/bin/sh
CURDIR=`pwd`
cd /px
/opt/blackdown-jdk-1.4.2.02/bin/java -jar ProjectX.jar $@
cd $CURDIR
What's wrong here?