Performance Probleme

Begonnen von apollo567, September 16, 2012, 11:52:40

« vorheriges - nächstes »

apollo567

Hallo,

ich habe bei säubern von SD-Aufnahmen der Privatsender in der letzten Zeit öfters ein Performance Problem, daß TS-Doktor für mich fast unbenutzbar macht. (Version Beta 1.2.42). Bei Aufnahmen von öffentlichen Sender habe ich das Problem nicht, auch kann ich meistens mit AVIdemux 2.6 trotzdem ein Ergebnis erreichen.
Beim Säubern einer geschnittenen Datei stoppt das Programm fast vollständig und man meint schon es würde hängen, aber die Performance sinkt von 3 Sekunden pro Filmminute auf ca. 10 Minuten für 30 Filmsekunden. Gleichzeitig ist erzeugt TSdoctor eine konstante 25% Auslastung meines Q9400, wobei hier nicht ein Core vollausgelastet ist, sondern alle Cores gleichmäßig ausgelastet werden.

Eine Idee was diesen Effekt erzeugt und wie er behoben werden kann ?

Gruß
apollo

Cypheros

Unter Einstellungen/Korrekturverhalten die Option "Erzwinge AC3-Konsistenz" deaktivieren.

apollo567

Danke für den Tip,
habs gleich ausprobiert, aber leider verlierts nach wie vor an der gleichen Stelle an Performance.

Gruß
apollo

Cypheros

Fehler in der der Datei?

Kannst Du das Log posten?

apollo567

Ich kann nochmal bis 20 % laufen lassen und das Log posten.
Mit AVIdemux habe ich mit dem MKV muxer (nicht mit dem TS-Muxer) mittlerweile eine Lösung erzielt. Da ich das Problem aber öfters habe mit TS-Doctor, würde mich schon interessieren woran es hängt.

Cypheros

Die neu erzeugte Datei wird aber nicht zufällig auf einen USB-Stick gespeichert oder ?

apollo567


apollo567

Erstaunlicher Weise ging jetzt durch, mit diesem log:


Opening file I:\TV-Aufzeichnungen\Nichts als die Wahrheit.ts

OS: Windows XP Service Pack 3
TSDoctor.exe V 1.2.42 beta (Build 02672D)
NVIDIA GeForce GTX 460 (DISPLAY1)
Supported TS source filter found  : TS Doctor FileSource (on)
Supported splitter filter found   : Haali Media Splitter, LAV Splitter
Supported audio filter found      : LAV Audio Decoder, ffdshow Audio Decoder
Supported Mpeg video filter found : LAV Video Decoder, ffdshow Video Decoder(4422)
Supported H264 video filter found : LAV Video Decoder, ffdshow Video Decoder(4422)
Supported video renderer found    : Video Renderer, Enhanced Video Renderer

File size: 4692260040
Packets  : 24958830


Scanning for TRP fill packets

Scanning for PIDs

Found 6 different PIDs
Broadcast standard: DVB

Identifying stream types

$0000: 2%   = PAT
$00FE: 2%   =
$0A8F: 8%   = AC3 Audio (PES_StreamID BD = Private_Stream_1) [PTS][PESLength]
$0A8D: 83%  = MPEG2 Video (PES_StreamID E0 = Video_Stream_0) [PCR,PTS,DTS]
$0A8E: 4%   = MPEG1 Audio (PES_StreamID C0 = Audio_Stream_0) [PTS][PESLength]
$00FF: 2%   =


Scanning for PATs

----------- PAT 0 -----------
PacketCount              : 1
Table ID                 : 0
Section Syntax Indicator : 1
Reserved Bit 0           : 0
Reserved Bit 1           : 0
Reserved Bit 2           : 0
Pointer Field            : 0
Section Length           : 13
Transport Stream ID      : 1
Reserved Bit 3           : 0
Reserved Bit 4           : 0
Version Number           : 0
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0001
  Map PID        : $00FE

CRC32                    : $36AE0F8C = $36AE0F8C
-----------------------------

Found 1 different PATs
Found 1 different PMT PIDs
Scanning for PMTs

----------- PMT 0 -----------
Packet                   : $00000002
PacketCount              : 1
PID                      : $00FE
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 45
Pointer Field            : 0
Section Length           : 37
Program Number           : $0001
Version Number           : 1
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0A8D

Program Info Length      : 0

  Stream Type    : 2
  Description    : ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream
  Elementary PID : $0A8D
  ES Info Length : 0

  Stream Type    : 4
  Description    : ISO/IEC 13818-3 Audio
  Elementary PID : $0A8E
  ES Info Length : 6
  ES Info        : $0A, $04, $64, $65, $75, $00
  ES Info Text   : __deu_

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0A8F
  ES Info Length : 3
  ES Info        : $6A, $01, $00
  ES Info Text   : j__

CRC32                    : $8137082A = $8137082A
-----------------------------

Found 1 different PMTs

Selecting PMT with PID 00FE at position 00000002
CRC OK!

0.
  stream_type              : 2 = ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream
  elementary_pid           : 0A8D
  ES_info_length           : 0

1.
  stream_type              : 4 = ISO/IEC 13818-3 Audio
  elementary_pid           : 0A8E
  ES_info_length           : 6

2.
  stream_type              : 6 = ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  elementary_pid           : 0A8F
  ES_info_length           : 3

PCR PID is 0A8D

Created PAT:

----------- PAT 0 -----------
PacketCount              : 0
Table ID                 : 0
Section Syntax Indicator : 1
Reserved Bit 0           : 0
Reserved Bit 1           : 1
Reserved Bit 2           : 1
Pointer Field            : 0
Section Length           : 13
Transport Stream ID      : 1
Reserved Bit 3           : 1
Reserved Bit 4           : 1
Version Number           : 0
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0001
  Map PID        : $00FE

CRC32                    : $8FD6C2A2 = $8FD6C2A2
-----------------------------



Created PMT:

----------- PMT 0 -----------
Packet                   : $00000002
PacketCount              : 1
PID                      : $00FE
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 45
Pointer Field            : 0
Section Length           : 37
Program Number           : $0001
Version Number           : 1
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0A8D

Program Info Length      : 0

  Stream Type    : 2
  Description    : ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream
  Elementary PID : $0A8D
  ES Info Length : 0

  Stream Type    : 4
  Description    : ISO/IEC 13818-3 Audio
  Elementary PID : $0A8E
  ES Info Length : 6
  ES Info        : $0A, $04, $64, $65, $75, $00
  ES Info Text   : __deu_

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0A8F
  ES Info Length : 3
  ES Info        : $6A, $01, $00
  ES Info Text   : j__

CRC32                    : $B88AD979 = $B88AD979
-----------------------------


First video PTS is 2956107691 09:07:25.641
Last video PTS  is 3658125691 11:17:25.841

First PCR  is 886819035600 09:07:25.149
Last PCR  is 1097422903268 11:17:25.293
Duration of video stream is 702012892 02:10:00.143
Video PCR to PTS difference -579 ms
$0A8E: Delay to video stream = -238ms
$0A8F: Delay to video stream = -383ms


The following PIDs will be imported into new stream: $0A8D, 0A8E, 0A8F

Scanning for video details
First I-Frame PTS at 09:07:26.561 [00:00:00.920]
Video format: MPEG2 720x576 / 25 fps
First GOP = 24 frames : I2 B0 B1 P5 B3 B4 P8 B6 B7 P11 B9 B10 P14 B12 B13 P17 B15 B16 P20 B18 B19 P23 B21 B22

Scanning for audio details
Audio stream 1: MPEG1 Audio
AC3 2 channels: 2 times
AC3 6 channels: 16 times
AC3 detection mode: Prefer 5.1
$0A8F 2 different AC3 types detected!
$0A8F selecting AC3 type with mode 5.1
Audio stream 2: AC3 5.1 48000Hz ()
WMP12 PMT patch: AC3 is first in stream
PMT audio order patched to make AC3 first (Mediaplayer 12 fix)
AC3 change cut: 00:00:00.000-00:24:21.217
AC3 change cut: 00:31:50.657-00:49:46.177
AC3 change cut: 00:57:14.817-01:20:15.777
AC3 change cut: 01:23:48.897-02:02:03.937
AC3 change cut: 02:02:23.937-02:10:00.143
End PCR not found: 11:17:25.784 [11:17:25.293]

Cutting areas (PES aligned)
Cut 1 In : 09:13:41.561 ()
Cut 1 Out: 09:31:46.761 ()
Cut 1 PCR/PTS/DTS offset: 00:00:00.000

Cut 2 In : 09:39:16.281 ()
Cut 2 Out: 09:57:11.721 ()
Cut 2 PCR/PTS/DTS offset: -00:07:29.520

Cut 3 In : 10:04:40.441 ()
Cut 3 Out: 10:27:41.441 ()
Cut 3 PCR/PTS/DTS offset: -00:14:58.240

Cut 4 In : 10:31:14.521 ()
Cut 4 Out: 11:09:29.601 ()
Cut 4 PCR/PTS/DTS offset: -00:18:31.320


Intersections
Intersection 1 at 00:18:05.200
Intersection 2 at 00:36:00.640
Intersection 3 at 00:59:01.640

Deleting PMT entry: PID 0A8E type 4 = ISO/IEC 13818-3 Audio

Recreated PMT:

----------- PMT 0 -----------
Packet                   : $00000002
PacketCount              : 1
PID                      : $00FE
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 45
Pointer Field            : 0
Section Length           : 26
Program Number           : $0001
Version Number           : 1
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0A8D

Program Info Length      : 0

  Stream Type    : 2
  Description    : ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream
  Elementary PID : $0A8D
  ES Info Length : 0

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0A8F
  ES Info Length : 3
  ES Info        : $6A, $01, $00
  ES Info Text   : j__

CRC32                    : $9BB79C1D = $9BB79C1D
-----------------------------



Cut in  at PCR: 00:06:15.920 (09:13:41.069)
Cut out at PCR: 02:02:03.920 (11:09:29.069)
First packet  : 00122091
Last packet   : 01659A9F
AC3 5.1 packets (32ms) inserted for PID 0A8F
AC3 5.1 packets (32ms) inserted for PID 0A8F
TS Warning: PCR timing for PID 0A8D last PCR:09:07:27.525 current PCR:09:07:32.378 at paket 00001E6F TimeBase:2956713992 PCRExtension:199

Starting at paket 00122091 PCR: 00:06:15.802 (09:13:40.951)
ES  WARNING: For PID 0A8F AC3 properties changed at 00:24:21.345 (5.1 48kHz >>> 2.0 48kHz)
ES  WARNING: For PID 0A8F AC3 properties changed at 00:31:50.689 (2.0 48kHz >>> 5.1 48kHz)
ES  WARNING: For PID 0A8F AC3 properties changed at 00:49:46.305 (5.1 48kHz >>> 2.0 48kHz)
ES  WARNING: For PID 0A8F AC3 properties changed at 00:57:14.913 (2.0 48kHz >>> 5.1 48kHz)
ES  ERROR  : For PID 0A8F 01:05:03.777 AC3 paket 0001DBFA has AC3 Crc error
TS  WARNING: For PID 0A8D 00:45:42.251 TS packet 00C3FC4E: Packet discontinuity  last=0 , current=2
TS  WARNING: For PID 0A8F 00:45:42.251 TS packet 00C3FC56: Packet discontinuity  last=5 , current=3
PES ERROR  : For PID 0A8F 00:45:42.193 PES paket 000061F0 is invalid (SizeMismatch), starting with TS paket 00C3FACC Size: 13024 should be 7688
TS  WARNING: For PID 0A8D 00:53:57.051 TS packet 00DC2841: Packet discontinuity  last=8 , current=10
TS  WARNING: For PID 0A8F 00:53:57.051 TS packet 00DC2846: Packet discontinuity  last=4 , current=2
PES ERROR  : For PID 0A8F 00:53:57.073 PES paket 00006E04 is invalid (SizeMismatch), starting with TS paket 00DC27A7 Size: 5296 should be 7688
ES  WARNING: For PID 0A8F AC3 properties changed at 01:20:15.905 (5.1 48kHz >>> 2.0 48kHz)
ES  WARNING: For PID 0A8F AC3 properties changed at 01:23:48.961 (2.0 48kHz >>> 5.1 48kHz)
TS  WARNING: For PID 0A8D 01:21:47.162 TS packet 01382897: Packet discontinuity  last=15 , current=1
Cutting the end at paket 01659AA0 PCR: 01:55:48.717 (11:09:29.668)
Cutted pakets at the beginning: 1084197
Cutted pakets at the end: 1522894
Discarded pakets (to synch audio/video): 3249164
Discarded pakets (not needed): 2047446

PID stream sizes
$0A8D: 2,7 GB
$0A8F: 274,7 MB

ERRORS : 3
WARNINGS : 12

Speed: 31,1 MBytes/sec
Duration: 00:02:08

Cypheros

Naja in 95% aller Fälle ist es die Option "AC3-Konsistenz erzwingen" und beim Rest sind es große Stream-Fehler oder langsame Datenträger.

Kannst ja ein Log schicken, sobald der TS-Doctor wieder Probleme macht.

apollo567



www.cypheros.de