Im DVBTechnics-Forum ist es gelungen, Project X (zum Demultiplexen bzw. zur Konvertierung zwischen den Containerformaten PES [VDR/PVA/VOB] und TS [dbox,Dream]) jedenfalls unter Java 1.4.x endlich ohne (echten oder virtuellen) X11-Server zum Laufen zu bringen (wie in diesem Thread schon erwähnt), so daß es sich nun auch in Systeme z.B. auf LinVDR-Basis integrieren lassen sollte, um von VDR-Plugins direkt per Kommandozeilenparameter und X.ini in Beschlag genommen zu werden.
"X11-loses" Project X
- TEN
- Geschlossen
-
-
Hallo TEN,
ich habe gerade mal versucht, nach der unter dem Link angegebenen Anleitung, das bei mir zum Laufen zu bekommen.
Nach Eingabe von z.b:
Code/usr/lib/jvm/jre/bin/java -Xbootclasspath/a:lib/pja.jar -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.gra phicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava2d.font.usePlatformFont=false -Djava.awt.fonts=/usr/lib/jvm/jre/ lib/fonts -Duser.home=/usr/local/share/vdrconvert/pX -jar /usr/local/share/vdrconvert/pX/pX.jar /video0/Sabrina_Setlur_ -_Mein_Herz/2005-01-21.19.14.50.99.rec/001.vdr
bekomme ich leider folgende Meldung:
Code
Alles anzeigenProjectX 0.81.6/30.11.2003 TEST PROJECT ONLY , User: root quick CL usage: (Note: CL also loads the GUI components, without displaying) without options ...to start the GUI [options] <sourcefile 1>...[<sourcefile x>] options: -dvx1..4, -c <x>, -o <x>, -n <x>, -l, -p <x>, -i <x>, -g -c [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) -o <path> ...use that specified directory for output -n <filename> ...use that specified filename for output -p <file> ...use that text based file as cutpoint list -i <tokens> ...use only these (P)IDs, separated by comma "," -g ...display the GUI using all given CLI options -l ...write the normal logfile use -dvx OR -c & -o/-n/-l/-p/-i/-g or no options (for std) java.version 1.4.2_05 java.vendor Sun Microsystems Inc. java.home /usr/lib/jvm/java-1.4.2-sun-1.4.2.05/jre java.vm.version 1.4.2_05-b04 java.vm.vendor Sun Microsystems Inc. java.vm.name Java HotSpot(TM) Client VM java.class.vers 48.0 java.class.path /usr/local/share/vdrconvert/pX/pX.jar TERMS OF 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) It may not be used otherwise. Most parts are only experimental. (4) released under the terms of the GNU GPL (5) there is NO WARRANTY of any kind attached to this software (6) use it at your own risk and for your own education as it was meant Exception in thread "main" java.lang.Error: Could not find class: com.eteks.java2d.PJAGraphicsEnvironment at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68) at java.awt.Window.init(Window.java:231) at java.awt.Window.<init>(Window.java:275) at java.awt.Frame.<init>(Frame.java:401) at java.awt.Frame.<init>(Frame.java:366) at javax.swing.JFrame.<init>(JFrame.java:154) at SUBPICTURE.<init>(SUBPICTURE.java:47) at X.<init>(X.java:74) at X.main(X.java:4083)
Woran liegts?
Ich hab mir das pja_2.5.zip gezogen und die *.jar in das Verzeichnis gepackt, wo auch pX.jar liegt.Hast Du vielleicht eine Idee?
-
Zitat
Wie er schon sagt: Er findet die Library nicht.ZitatIch hab mir das pja_2.5.zip gezogen und die *.jar in das Verzeichnis gepackt, wo auch pX.jar liegt.
Wie es unter http://forum.dvbtechnics.info/showthread.php?t=1427#post9984 beschrieben ist, müssen die lib/*.jar aus pja_2.5.zip nicht in das ProjectX-Verzeichnis zu z.B. projectx*.jar, sondern in ein darin liegendes Unterverzeichnis lib - d.h. da Du ein /usr/local/share/vdrconvert/pX/pX.jar hast, müssten diese Bibliotheken bei Dir wohl als /usr/local/share/vdrconvert/pX/lib/pja.jar usw. abgelegt sein (also gerade noch eine Verzeichnisebene tiefer).Hope this helps...
Ist eine ziemliche Bastelei mit den Pfaden, daher ja der Vorschlag, das in den Distributionen soweit wie möglich schon "ab Werk" einzubauen und vorzukonfigurieren.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!