Re: [vdr] ProjectX - won't start

2006-10-05 Thread Darren Salt
I demand that Simon Baxter may or may not have written...

 The only way that I've found to fix this is to use Sun's JVM.
>>> Did you need to un-install the other JVM, before installing the Sun one?
>> Thanks, got it:
>> /usr/java/jre1.5.0_07/bin/java -jar ProjectX.jar

> Can someone help me out, or point me to a decent 'beginners' site for
> ProjectX?

> I want to create MPEG files from VDR files, which I can write to a DVD 
> &/OR convert VDR files into divx (etc) avi files.

> What I'm doing to achieve this is demux-ing the VDR, then mplex-ing the
> streams, then tovid-ing into a DVD OR 2-pass mencode-ing to AVI. Can
> ProjectX take some of these steps out?  i.e. Can it demux and mplex the VDR
> into an MP2 directly?  Or transcode into msmpeg directly etc?

No. This is what I'd do, given a recording with one video stream and one
audio stream:

  $ projectx -out . /video/.../[0-9]*vdr

Multiplexing, not for DVD:

  $ mplex -f 3 001.m2v 001.mp2 -o out.mpg   # untested here :-)

Writing to DVD:

  $ mkdir -p iso

  $ mplex -f 8 001.m2v 001.mp2 -o out.mpg
  $ dvdauthor -o iso -t out.mpg

  $ dvdauthor -o iso --toc
  $ growisofs -dvd-compat -Z /dev/dvdrw -dvd-video iso

  $ rm -rf iso/*

Writing to DVD (alternative method, via a pipe):

  $ mkdir -p iso
  $ mkfifo mpeg.pipe

  $ mplex -f 8 001.m2v 001.mp2 -o mpeg.pipe &
  $ dvdauthor -o iso -t mpeg.pipe

  $ dvdauthor -o iso --toc
  $ growisofs -dvd-compat -Z /dev/dvdrw -dvd-video iso

  $ rm -rf iso/*

-- 
| Darren Salt| linux or ds at  | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Burn less waste. Use less packaging. Waste less. USE FEWER RESOURCES.

Caution: contains foot-consuming device.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-05 Thread Simon Baxter

The only way that I've found to fix this is to use Sun's JVM.


Did you need to un-install the other JVM, before installing the Sun one?



Thanks, got it:

/usr/java/jre1.5.0_07/bin/java -jar ProjectX.jar


Can someone help me out, or point me to a decent 'beginners' site for 
ProjectX?


I want to create MPEG files from VDR files, which I can write to a DVD  &/OR 
convert VDR files into divx (etc) avi files.


What I'm doing to achieve this is demux-ing the VDR, then mplex-ing the 
streams, then tovid-ing into a DVD OR 2-pass mencode-ing to AVI.
Can ProjectX take some of these steps out?  i.e. Can it demux and mplex the 
VDR into an MP2 directly?  Or transcode into msmpeg directly etc?


I'm still not up on all the 'm2v' formats etc... 



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread Darren Salt
I demand that C.Y.M may or may not have written...

[snip]
> In Debian, you can use the following command to create java install
> packages.

> fakeroot make-jpkg j2sdk-1_4_2_12-linux-i586.bin

  # aptitude install sun-java5-jdk

(testing/unstable, non-free)

-- 
| Darren Salt| linux or ds at  | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
|   Let's keep the pound sterling

There is always an easier way to do it.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread Simon Baxter

The only way that I've found to fix this is to use Sun's JVM.


Did you need to un-install the other JVM, before installing the Sun one? 



Thanks, got it:

/usr/java/jre1.5.0_07/bin/java -jar ProjectX.jar


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread C.Y.M
lamikr wrote:
> I am not sure from the installation of rpm versions, because I am just
> used to download the .bin versions of sun jdk.
> If you install the ".bin" version of Sun JVM, you can basically extract
> it to any directory you want.
> Then just make sure that the jdk/bin directory where java, javac, etc.
> locates is first one in your path.
> 
> After that, you can just launch it by using standard java command.
> With some distros, you may need to update all java related symlinks from
> /etc/alternatives directory to point to
> files under your sun jdk instead of the default ones pointing to non-sun
> version.
> 

In Debian, you can use the following command to create java install packages.

fakeroot make-jpkg j2sdk-1_4_2_12-linux-i586.bin


BR.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread Darren Salt
I demand that Simon Baxter may or may not have written...

>> I demand that Simon Baxter may or may not have written...
>>> Hi group.  I can't get vdrsync.pl to work on some of my vdr records
>>> because of some audio cutting problem, or something.  So I'm trying to
>>> get ProjectX to start.  But I get this error:
>>> Exception in thread "main" java.lang.Error: Graphics2D not implemented.
>>> Cairo was not found or disabled at configure time
>>>at
>>> gnu.java.awt.peer.gtk.GdkGraphics2D.(lib-gnu-java-awt-peer-gtk.so.7)
>> [snip]
>> The only way that I've found to fix this is to use Sun's JVM.

> Did you need to un-install the other JVM, before installing the Sun one?

That shouldn't matter so long as the system is configured to prefer it, e.g.
via Debian's alternatives system.

-- 
| Darren Salt| linux or ds at  | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
|   http://www.youmustbejoking.demon.co.uk/> (PGP 2.6, GPG keys)

If at first you don't succeed, give up. No use being a damn fool.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread lamikr
I am not sure from the installation of rpm versions, because I am just
used to download the .bin versions of sun jdk.
If you install the ".bin" version of Sun JVM, you can basically extract
it to any directory you want.
Then just make sure that the jdk/bin directory where java, javac, etc.
locates is first one in your path.

After that, you can just launch it by using standard java command.
With some distros, you may need to update all java related symlinks from
/etc/alternatives directory to point to
files under your sun jdk instead of the default ones pointing to non-sun
version.

Mika
>
> Did you need to un-install the other JVM, before installing the Sun one?
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread Simon Baxter



I demand that Simon Baxter may or may not have written...

Hi group.  I can't get vdrsync.pl to work on some of my vdr records 
because
of some audio cutting problem, or something.  So I'm trying to get 
ProjectX

to start.  But I get this error:



Exception in thread "main" java.lang.Error: Graphics2D not implemented.
Cairo was not found or disabled at configure time
   at
gnu.java.awt.peer.gtk.GdkGraphics2D.(lib-gnu-java-awt-peer-gtk.so.7)

[snip]

The only way that I've found to fix this is to use Sun's JVM.


Did you need to un-install the other JVM, before installing the Sun one? 



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ProjectX - won't start

2006-10-04 Thread Darren Salt
I demand that Simon Baxter may or may not have written...

> Hi group.  I can't get vdrsync.pl to work on some of my vdr records because
> of some audio cutting problem, or something.  So I'm trying to get ProjectX
> to start.  But I get this error:

> Exception in thread "main" java.lang.Error: Graphics2D not implemented.
> Cairo was not found or disabled at configure time
>at
> gnu.java.awt.peer.gtk.GdkGraphics2D.(lib-gnu-java-awt-peer-gtk.so.7)
[snip]

The only way that I've found to fix this is to use Sun's JVM.

-- 
| Darren Salt| linux or ds at  | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
|   http://www.youmustbejoking.demon.co.uk/progs.packages.html>

Microsoft's new anti-spyware tool: FDISK.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] ProjectX - won't start

2006-10-04 Thread Simon Baxter
Hi group.  I can't get vdrsync.pl to work on some of my vdr records because 
of some audio cutting problem, or something.  So I'm trying to get ProjectX 
to start.  But I get this error:


Exception in thread "main" java.lang.Error: Graphics2D not implemented. 
Cairo was not found or disabled at configure time
  at 
gnu.java.awt.peer.gtk.GdkGraphics2D.(lib-gnu-java-awt-peer-gtk.so.7)

  at java.lang.Class.initializeClass(libgcj.so.7)
  at 
gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics(lib-gnu-java-awt-peer-gtk.so.7)

  at java.awt.image.BufferedImage.createGraphics(libgcj.so.7)
  at net.sourceforge.dvb.projectx.subtitle.Subpicture.(Unknown 
Source)

  at net.sourceforge.dvb.projectx.common.Common.init(Unknown Source)
  at net.sourceforge.dvb.projectx.common.Start.main(Unknown Source)

I've yum-installed java-cairo, cairomm and cairomm-devel, but still get this 
error.


Can anyone tell me how to fix it? 



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr