Avneth
7th June 2005, 14:09
I have been working my way through the 176 (or so) topics a search returned on ProjectX (in the Doom9 forums) but I don't think this problem has come up before (at least I haven't found it :) - I also looked for "NegativeArraySizeException" etc but nothing came up):
I've been using ProjectX to demux TV recordings (in MPEG2 made with Nebula's DigiTV software) with no problem, but just occasionally recordings fail the the demux or don't come out as expected (no doubt down to problems like interference/noise in the recordings rather than ProjectX, which is an excellent piece of software ;)).
The latest problem recording demuxes fine apart from the subtitles - I assume that's where the problem lies going by the log (my knowledge of java being almost nothing :o).
What I was wondering was:
Is there a setting in ProjectX I should change or some other quick fix?
If not, are there any suggestions or is there any advice on what I should do?
Perhaps I could make a small change in the source code to skip these errors?
I'm aware of other demuxers like PVAStrumento etc, but I would like to keep the subtitles, so if anyone knows of another demuxer which will retain the subtitles, please say :).
Here is a copy of the problem area of the log:
ProjectX 0.82.1.02 (07.05.2005)
--> Subpicture (SubID 0x20)
-> selected DVB subpicture color model: (1) 16 colours ; fixed to page id:
-> export format: sup
-> temp. file: C:\Video.sp (3995661 bytes)
Video PTS: start 1.GOP 13:14:29.688, end last GOP 14:35:16.168
Subpicture PTS: first packet 13:14:28.156, last packet 14:35:16.556
-> adjusting subpicture at video-timeline
-> source is DVB Subtitle...
!> decoding error: 4, Region_Id 1 (pts 4441342)
!> decoding error: 7, Region_Id 1 (pts 4623142)
!> decoding error: 4, Region_Id 1 (pts 7276342)
!> decoding error: 6, Region_Id 1 (pts 8775742)
!> decoding error: 2, Region_Id 0 (pts 12499942)
!> decoding error: 2, Region_Id 0 (pts 13065142)
!> decoding error: 4, Region_Id 0 (pts 13261342)
!> decoding error: 6, Region_Id 0 (pts 13826542)
!> decoding error: 4, Region_Id 0 (pts 15352942)
!> decoding error: 4, Region_Id 0 (pts 32694142)
!> decoding error: 2, Region_Id 0 (pts 41964142)
!> decoding error: 2, Region_Id 0 (pts 48066142)
!> decoding error: 6, Region_Id 0 (pts 60046942)
!> decoding error: 4, Region_Id 1 (pts 61080142)
!> decoding error: 4, Region_Id 1 (pts 66415342)
!> decoding error: 2, Region_Id 0 (pts 68911942)
!> decoding error: 4, Region_Id 1 (pts 70326742)
!> decoding error: 2, Region_Id 0 (pts 70420342)
!> decoding error: 6, Region_Id 1 (pts 70542742)
!> decoding error: 2, Region_Id 0 (pts 71273542)
!> decoding error: 4, Region_Id 1 (pts 72202342)
!> decoding error: 4, Region_Id 1 (pts 73008742)
!> decoding error: 4, Region_Id 1 (pts 75170542)
!> decoding error: 2, Region_Id 0 (pts 0)
!> decoding error: 4, Region_Id 0 (pts 77546542)
stopped...
java.lang.NegativeArraySizeException
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.prepare_output(DVBSubpicture.java:329)
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.page_composition(DVBSubpicture.java:408)
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.Subtitle_Segment(DVBSubpicture.java:279)
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.decodeDVBSubpicture(DVBSubpicture.java:240)
at net.sourceforge.dvb.projectx.subtitle.SubPicture$Picture.decode_picture(SubPicture.java:979)
at net.sourceforge.dvb.projectx.common.X$WORK.processSubpicture(X.java:14522)
at net.sourceforge.dvb.projectx.common.X$WORK.vdrparse(X.java:8798)
at net.sourceforge.dvb.projectx.common.X$WORK.working(X.java:6968)
at net.sourceforge.dvb.projectx.common.X$WORK.run(X.java:6416)
Thanks in advance ;)
I've been using ProjectX to demux TV recordings (in MPEG2 made with Nebula's DigiTV software) with no problem, but just occasionally recordings fail the the demux or don't come out as expected (no doubt down to problems like interference/noise in the recordings rather than ProjectX, which is an excellent piece of software ;)).
The latest problem recording demuxes fine apart from the subtitles - I assume that's where the problem lies going by the log (my knowledge of java being almost nothing :o).
What I was wondering was:
Is there a setting in ProjectX I should change or some other quick fix?
If not, are there any suggestions or is there any advice on what I should do?
Perhaps I could make a small change in the source code to skip these errors?
I'm aware of other demuxers like PVAStrumento etc, but I would like to keep the subtitles, so if anyone knows of another demuxer which will retain the subtitles, please say :).
Here is a copy of the problem area of the log:
ProjectX 0.82.1.02 (07.05.2005)
--> Subpicture (SubID 0x20)
-> selected DVB subpicture color model: (1) 16 colours ; fixed to page id:
-> export format: sup
-> temp. file: C:\Video.sp (3995661 bytes)
Video PTS: start 1.GOP 13:14:29.688, end last GOP 14:35:16.168
Subpicture PTS: first packet 13:14:28.156, last packet 14:35:16.556
-> adjusting subpicture at video-timeline
-> source is DVB Subtitle...
!> decoding error: 4, Region_Id 1 (pts 4441342)
!> decoding error: 7, Region_Id 1 (pts 4623142)
!> decoding error: 4, Region_Id 1 (pts 7276342)
!> decoding error: 6, Region_Id 1 (pts 8775742)
!> decoding error: 2, Region_Id 0 (pts 12499942)
!> decoding error: 2, Region_Id 0 (pts 13065142)
!> decoding error: 4, Region_Id 0 (pts 13261342)
!> decoding error: 6, Region_Id 0 (pts 13826542)
!> decoding error: 4, Region_Id 0 (pts 15352942)
!> decoding error: 4, Region_Id 0 (pts 32694142)
!> decoding error: 2, Region_Id 0 (pts 41964142)
!> decoding error: 2, Region_Id 0 (pts 48066142)
!> decoding error: 6, Region_Id 0 (pts 60046942)
!> decoding error: 4, Region_Id 1 (pts 61080142)
!> decoding error: 4, Region_Id 1 (pts 66415342)
!> decoding error: 2, Region_Id 0 (pts 68911942)
!> decoding error: 4, Region_Id 1 (pts 70326742)
!> decoding error: 2, Region_Id 0 (pts 70420342)
!> decoding error: 6, Region_Id 1 (pts 70542742)
!> decoding error: 2, Region_Id 0 (pts 71273542)
!> decoding error: 4, Region_Id 1 (pts 72202342)
!> decoding error: 4, Region_Id 1 (pts 73008742)
!> decoding error: 4, Region_Id 1 (pts 75170542)
!> decoding error: 2, Region_Id 0 (pts 0)
!> decoding error: 4, Region_Id 0 (pts 77546542)
stopped...
java.lang.NegativeArraySizeException
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.prepare_output(DVBSubpicture.java:329)
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.page_composition(DVBSubpicture.java:408)
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.Subtitle_Segment(DVBSubpicture.java:279)
at net.sourceforge.dvb.projectx.subtitle.DVBSubpicture.decodeDVBSubpicture(DVBSubpicture.java:240)
at net.sourceforge.dvb.projectx.subtitle.SubPicture$Picture.decode_picture(SubPicture.java:979)
at net.sourceforge.dvb.projectx.common.X$WORK.processSubpicture(X.java:14522)
at net.sourceforge.dvb.projectx.common.X$WORK.vdrparse(X.java:8798)
at net.sourceforge.dvb.projectx.common.X$WORK.working(X.java:6968)
at net.sourceforge.dvb.projectx.common.X$WORK.run(X.java:6416)
Thanks in advance ;)