Bug with cutting TS File in the Video Editor (1 Viewer)

chrissooo

Portal Pro
February 21, 2007
434
35
Home Country
Germany Germany
TV-Server Version: latest
MediaPortal Version: latest
MediaPortal Skin: BlueTwo wide
Windows Version: Windows XP Media Center 2005 / all updates
CPU Type: Pendium 4 HT 2.8Ghz
HDD: SATA 250 GB
Memory: 2x512MB DDR2
Motherboard Chipset: Intel 915
Motherboard Bios:
Video Card: (ATI)MSI RX2400Pro-TD256EH 256MB PCIe (passive)
Video Card Driver: Catalist 8.1 + Hotfix
Sound Card: Realtek with 7.1 Support
Sound Card AC3: Realtek with 7.1 Support
Sound Card Driver: latest
1. TV Card: Technotrend S2-3200
1. TV Card Type: DVB-S2
1. TV Card Driver: 5.0.0.12
MPEG2 Video Codec: Latest Cyberlink + patch
MPEG2 Audio Codec: MPA
Satelite/CableTV Provider: Astra 19.2°E + Hotbird 13°E
Remote: MCE
TV: SEG LCD-TV 82cm
TV - HTPC Connection: DVI

Hi,

I thing i have find a Bug with the Video Editor when cutting .ts files.

Bevor i cut the video i set the cutpoind like this:

.......[......].......[.......].......[.........].........

After cutting the video, the editor just cut the beginning and the end, like this:


[......].......[.......].......[.........]

Here are the Logfiles:
 

chrissooo

Portal Pro
February 21, 2007
434
35
Home Country
Germany Germany
Now i have finde something in the Logfile:
PHP:
2008-01-29 18:24:19.218750 [Info.][16]: Cutpointslist:
2008-01-29 18:24:19.218750 [Info.][16]:   0:5 - 0:26
2008-01-29 18:24:19.218750 [Info.][16]:   0:55 - 1:17
2008-01-29 18:24:19.218750 [Info.][16]:   1:42 - 1:47
2008-01-29 18:24:19.218750 [Info.][16]: "negative" cutpoints
2008-01-29 18:24:19.218750 [Info.][16]:   0:0 - 0:5
2008-01-29 18:24:19.218750 [Info.][16]:   0:26 - 0:5
2008-01-29 18:24:19.218750 [Info.][16]:   1:17 - 0:5
2008-01-29 18:24:19.218750 [Info.][16]:   1:47 - 1:57

This after "negative" cutpoints (- 0:5) must be wrong, or not?
I will take a look on the sourcecode.


EDIT:
Ok,
i thing i have find the Problem:

In the VideoEditorPreview.cs start at line 682 is this code:
PHP:
for (int i = 1; i < cutPointsList.Count; i++)
  cutList.Add(new TimeDomain( cutPointsList[i-1].EndTime,cutPointsList[0].StartTime));

The cutter add always the cutPointsList[0].StartTime
Just edit it to this and its work:
PHP:
for (int i = 1; i < cutPointsList.Count; i++)
  cutList.Add(new TimeDomain( cutPointsList[i-1].EndTime,cutPointsList[i].StartTime));

Can one of the DEVS add this please ?

Chrissooo
 

Users who are viewing this thread

Top Bottom