SmartCutter Produces Defective Streams

The world's first H.264 AVCHD accurate cutter without re-encoding!
Smart Cutter and Mate for DV and DVB.
Smart products manages, splits, joins movies from DV Camcorder and DVB HD PVR.
Post Reply
MOSMarauder
Posts: 6
Joined: Thu Oct 07, 2010 3:21 pm

SmartCutter Produces Defective Streams

Post by MOSMarauder »

Hi Folks..

I tested Smart Cutter again (1.3.8f & 1,3,9) and again i found out that it destroys the Output streams.


I have my Streams tested with TSDOctor and all clean with no errors.

When i cut with SMart Cutter and test the Result i got something like this:

Code: Select all

Starting at paket $0000002C(00000000) PCR: 00:00:00.000 (11:49:41.946)
No cutting at the end needed
ES  WARNING: H264 video resolution info changed at -11:49:42.895
             from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS Warning: PCR timing for PID 00FF last PCR:11:49:44.145 current PCR:11:49:44.600 at paket $00005742 TimeBase:3832614008 PCRExtension:263
ES  WARNING: H264 video resolution info changed at -11:49:42.895
             from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS  WARNING: For PID 0103 $0059EF7D: Packet discontinuity 13,0
TS  WARNING: For PID 00FF $0059EF7E: Packet discontinuity 14,0
ES  WARNING: H264 video resolution info changed at -11:49:42.895
             from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS Warning: PCR timing for PID 00FF last PCR:12:07:22.000 current PCR:12:07:22.109 at paket $005A4196 TimeBase:3927789768 PCRExtension:0
TS Warning: PCR timing for PID 00FF last PCR:12:07:22.146 current PCR:12:07:22.384 at paket $005A43B5 TimeBase:3927814534 PCRExtension:77
ES  WARNING: H264 video resolution info changed at -11:49:42.895
             from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS  WARNING: For PID 00FF $00AAAEA9: Packet discontinuity 11,0
TS  WARNING: For PID 0103 $00AAD0A1: Packet discontinuity 8,0
ES  WARNING: H264 video resolution info changed at -11:49:42.895
             from 1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS Warning: PCR timing for PID 00FF last PCR:12:22:51.345 current PCR:12:22:51.632 at paket $00AAEC00 TimeBase:4011446919 PCRExtension:229
ES  WARNING: H264 video resolution info changed at -11:49:42.895
             from 1920x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1920x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
Resulting in a lot Glitches all over the Video.

Again the Source Stream is fine... no errors or something like this above....


MOSMarauder
admin
Site Admin
Posts: 740
Joined: Mon Jun 01, 2009 12:54 pm

Re: SmartCutter Produces Defective Streams

Post by admin »

Dear MOSMarauder:
Thanks for your message.

'it destroys the Output streams.'
Could you please send us a video sample for a test?

It would be better if the sample file size is less than 100 MB.

If you can not find small sample, use this simple tool to split your movie file into small pieces, and upload any one of them.
http://www.softpedia.com/get/PORTABLE-S ... rger.shtml
-------------------------------------
before uploading sample, please create sub-directory with your name under the root, then upload sample to this sub-directory.

FULL priviliged --- mkdir, read, write, remove
Will be helpful to limit the sample file size under 100MB.
Thank you.

FTP Username: samples@fame-ring.com
Password: samples
FTP Server: ftp.fame-ring.com
FTP Server Port: 21
-------------------------------------

Looking forward to your further message.
Thank you very much.

Best Regards,
FameRing Support Team
MOSMarauder
Posts: 6
Joined: Thu Oct 07, 2010 3:21 pm

Re: SmartCutter Produces Defective Streams

Post by MOSMarauder »

Ok i will do that tonight ...

Marauder
rtm42
Posts: 4
Joined: Mon Apr 25, 2011 3:22 pm

Re: SmartCutter Produces Defective Streams

Post by rtm42 »

OK. I join to this thread. I have the same problem. I performed the following experiment:
- I cut a piece of capture with tsDoctor. The result is 0 warnings and 0 errors. I uploaded this video. (corte.ts)
-I opened it with SmartCutter and I pressed only the red button to convert the file without cutting any frame. The result is a file with 9 warnings and 0 errors. I uploaded the file (corte.ts.12.ts) (I don`t know why it always add ".12").
Although the video looks good, I wonder why the warnings if I have not touched anything.
Thank you
rtm42
Posts: 4
Joined: Mon Apr 25, 2011 3:22 pm

Re: SmartCutter Produces Defective Streams

Post by rtm42 »

Any answer?
admin
Site Admin
Posts: 740
Joined: Mon Jun 01, 2009 12:54 pm

Re: SmartCutter Produces Defective Streams

Post by admin »

Dear rtm42:
rtm42 wrote:The result is a file with 9 warnings and 0 errors.
Thanks for your sample files.

But we did not see any warning info in the ts doctor, we are keeping on testing it.
We will keep you posted about the progress.

Please feel free to send us your further advice and suggestion.
Thank you very much.

Best Regards,
FameRing Support Team
rtm42
Posts: 4
Joined: Mon Apr 25, 2011 3:22 pm

Re: SmartCutter Produces Defective Streams

Post by rtm42 »

Do you can't re-produce the problem? It's strange. If you check the file "corte.ts.12.ts" with tsdoctor you obtain 0 warnings?
I send you an screen capture and then log file.
I'm using tsdoctor v 1.1.14 and smartcutter 1.3.9 with windows 7 Profesional SP1 32 bits

Thank's for your answer.

rtm42
admin
Site Admin
Posts: 740
Joined: Mon Jun 01, 2009 12:54 pm

Re: SmartCutter Produces Defective Streams

Post by admin »

Dear rtm42:
rtm42 wrote:Do you can't re-produce the problem?rtm42
Thanks for your help. We did re-produce the problem this time.
It looks like a TS time code thing. We are trying to fix it.
We will keep you posted about the progress.

Please feel free to send us your further advice and suggestion.
Thank you very much.

Best Regards,
FameRing Support Team
mrth
Posts: 11
Joined: Sat Sep 24, 2011 8:40 pm

Re: SmartCutter Produces Defective Streams

Post by mrth »

I have similar problems. TSDoctor and TS packet Editor has Problems with the cutting result.
TS Doctor:

Code: Select all

Opening file V:\dvd\test2_smc.ts

OS: Windows 7 Service Pack 1
TSDoctor.exe V 1.1.31 beta (Build 028009)

Supported TS source filter found  : TS Doctor FileSource (on)
Supported splitter filter found   : Haali
Supported audio filter found      : CyberLink Audio Decoder (PDVD10), Microsoft DTV-DVD Audio Decoder
Supported Mpeg video filter found : CyberLink Video/SP Decoder (PDVD10), Microsoft DTV-DVD Video Decoder
Supported H264 video filter found : CoreAVC Video Decoder, CyberLink Video Decoder (PDVD10), Microsoft DTV-DVD Video Decoder
File size: 42054284
Packets  : 223693


Scanning for TRP fill packets

Scanning for PIDs

Found 4 different PIDs

Identifying stream types

$0200: 0%   = PMT
$0202: 96%  = H264 Video (PES_StreamID E0 = Video_Stream_0) [PTS,DTS][PESLength]
$0203: 4%   = AC3 Audio (PES_StreamID BD = Private_Stream_1) [PCR,PTS][PESLength]
$0000: 0%   = PAT


Scanning for PATs

----------- PAT 0 -----------
PacketCount              : 1
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           : 2
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0201
  Map PID        : $0200

CRC32                    : $1F949484 = $1F949484
-----------------------------

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

----------- PMT 0 -----------
Packet                   : $00000001
PacketCount              : 1
PID                      : $0200
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 46
Pointer Field            : 0
Section Length           : 38
Program Number           : $0201
Version Number           : 2
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0203

Program Info Length      : 0

  Stream Type    : 27
  Description    : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  Elementary PID : $0202
  ES Info Length : 3
  ES Info        : $52, $01, $01
  ES Info Text   : R__

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0203
  ES Info Length : 12
  ES Info        : $52, $01, $02, $0A, $04, $64, $65, $75, $00, $6A, $01, $00
  ES Info Text   : R____deu_j__

CRC32                    : $0F82A93E = $0F82A93E
-----------------------------

Found 1 different PMTs

Selecting PMT with PID 0200 at position 00000001
CRC OK!

0.
  stream_type              : 27 = AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  elementary_pid           : 0202
  ES_info_length           : 3

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

PCR PID is 0203

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           : 2
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0

  Program Number : $0201
  Map PID        : $0200

CRC32                    : $1F949484 = $1F949484
-----------------------------



Created PMT:

----------- PMT 0 -----------
Packet                   : $00000001
PacketCount              : 1
PID                      : $0200
Table ID                 : 2
Section Syntax Indicator : 1
PMT Size                 : 46
Pointer Field            : 0
Section Length           : 38
Program Number           : $0201
Version Number           : 2
Current Next Indicator   : 1
Section Number           : 0
Last Section Number      : 0
PCR PID                  : $0203

Program Info Length      : 0

  Stream Type    : 27
  Description    : AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video
  Elementary PID : $0202
  ES Info Length : 3
  ES Info        : $52, $01, $01
  ES Info Text   : R__

  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data (AC3)
  Elementary PID : $0203
  ES Info Length : 12
  ES Info        : $52, $01, $02, $0A, $04, $64, $65, $75, $00, $6A, $01, $00
  ES Info Text   : R____deu_j__

CRC32                    : $0F82A93E = $0F82A93E
-----------------------------


First video PTS is 80585310 00:14:55.392
Last video PTS  is 84579505 00:15:39.772

First PCR  is 24165974100 00:14:55.036
Last PCR  is 25324812900 00:15:37.956
Duration of video stream is 3862796 00:00:42.920
Video PCR to PTS difference 0 ms
$0203: Delay to video stream = -28ms


The following PIDs will be imported into new stream: $0202, 0203

Scanning for video details

-------- H264 Video ---------
profile_idc                            : 77
constrained_set0_flag                  : 0
constrained_set1_flag                  : 1
constrained_set2_flag                  : 0
constrained_set3_flag                  : 0
reserved_zero_4bits                    : 0
level_idc                              : 40
seq_parameter_set_id                   : 0
log2_max_frame_num_minus4              : 1
pic_order_cnt_type                     : 0
log2_max_pic_order_cnt_lsb_minus4      : 2
num_ref_frames                         : 4
gaps_in_frame_num_value_allowed_flag   : 0
pic_width_in_mbs_minus1                : 79
pic_height_in_map_units_minus1         : 33
frame_mbs_only_flag                    : 0
mb_adaptive_frame_field_flag           : 1
direct_8x8_inference_flag              : 1
frame_cropping_flag                    : 1
frame_crop_left_offset                 : 0
frame_crop_right_offset                : 0
frame_crop_top_offset                  : 0
frame_crop_bottom_offset               : 2
vui_parameters_present_flag            : 1
aspect_ratio_info_present_flag         : 1
aspect_ratio_idv                       : 255
sar_width                              : 3
sar_height                             : 2
overscan_info_present_flag             : 0
video_signal_type_present_flag         : 1
video_format                           : 0
video_full_range_flag                  : 0
colour_description_present_flag        : 1
colour_primaries                       : 1
transfer_characteristics               : 1
matrix_coefficients                    : 1
chroma_loc_info_present_flag           : 0
timing_info_present_flag               : 1
num_units_in_tick                      : 1
time_scale                             : 50
fixed_frame_rate_flag                  : 1
nal_hrd_parameters_present_flag        : 0
vcl_hrd_parameters_present_flag        : 0
-----------------------------

Video format: H264 1280x1088i/25 fps/Main@4.0
Colorimetry : ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
Warning: PES length on video stream
Patching PES length on video stream!

Scanning for audio details
Audio stream 1: AC3 2.0 48000Hz (DEU)

Cut in  at PCR: 00:00:00.000 (00:14:55.036)
Cut out at PCR: 00:00:42.920 (00:15:37.956)

Starting at paket 00000002(00000000) PCR: 00:00:00.000 (00:14:55.036)
No cutting at the end needed
ES  WARNING: H264 video resolution info changed at -00:14:55.396
             from 1280x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1280x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
PES ERROR  : For PID 0203 -00:00:00.032 PES paket 00000001 is invalid (SizeMismatch), starting with TS paket 00000A84 Size: 1466 should be 1544
ES  WARNING: H264 video resolution info changed at -00:14:55.396
             from 1280x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1280x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS  WARNING: For PID 0203 0000D9A2: Packet discontinuity 0,0
TS  WARNING: For PID 0202 0000D9C3: Packet discontinuity 12,0
PES ERROR  : For PID 0203 00:00:10.952 PES paket 00000047 is invalid (SizeMismatch), starting with TS paket 0000D9A2 Size: 6066 should be 6152
ES  WARNING: H264 video resolution info changed at -00:14:55.396
             from 1280x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1280x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
TS  WARNING: For PID 0203 00024D2A: Packet discontinuity 5,0
TS  WARNING: For PID 0202 00024D43: Packet discontinuity 4,0
ES  WARNING: H264 video resolution info changed at -00:14:55.396
             from 1280x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1280x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
PES ERROR  : For PID 0203 00:00:25.544 PES paket 000000A3 is invalid (SizeMismatch), starting with TS paket 00024D2A Size: 4594 should be 4616
ES  WARNING: H264 video resolution info changed at -00:14:55.396
             from 1280x1088, Interlaced / 25 fps / Main@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
             to   1280x1088, Interlaced / 25 fps / High@4.0 / ColourPrimaries=BT.709, TransferCharacteristics=BT.709, MatrixCoefficients=BT.709
PES WARNING: For PID 0203 DVB/ATSC unconform PES formating detected: SizeMismatch

---------  NAL Unit Type Statistic  ---------
Slices                 : 2129
    I-Slices           : 34
    P-Slices           : 532
    B-Slices           : 1563
    SP-Slices          : 0
    SI-Slices          : 0
Data Partition A       : 0
Data Partition B       : 0
Data Partition A       : 0
IDR Picture            : 8
SEI                    : 2142
Sequence Parameter Set : 42
Picture Parameter Set  : 42
AUD                    : 2137
End of Sequence        : 0
End of Stream          : 0
Filler                 : 0
Slices                 : 0
Seq. Param. Set Ext.   : 0


Cutted pakets at the beginning: 0
Cutted pakets at the end: 0
Discarded pakets (not needed): 42

PID stream sizes
$0202: 38,0 MB
$0203: 2,1 MB

ERRORS : 3
WARNINGS : 10

Speed: 31,4 MBytes/sec
Duration: 00:00:01
TSPE:

Code: Select all

TSPE Version 0.813 Scan of: V:\dvd\test2_smc.ts
Scan performed on: Sat, 24 Sep 2011 22:34:48 GMT

PID 0x0200 Continuity Error found at offset 0x134120
PID 0x0203  Continuity Error found at offset 0x9FD2F8
  (Related continuity break in PID 0x0202 at offset 0x9FEB34)
  (Related continuity break in PID 0x0000 at offset 0xDE3EF8)
  (Related continuity break in PID 0x0200 at offset 0xDE3FB4)
  (...also PCR gap of 3,1 seconds in PID 0x0203 at offset 0xED68E0)
PID 0x0203 Continuity Error found at offset 0x1B0AAD8
  (Related continuity break in PID 0x0202 at offset 0x1B0BD34)
  (Related continuity break in PID 0x0000 at offset 0x1CF1918)
  (Related continuity break in PID 0x0200 at offset 0x1CF19D4)
  (...also PCR gap of 2,2 seconds in PID 0x0203 at offset 0x1D8C79C)

PID Tree:
PAT PID: 0x0000 Ver: 2 TS ID: 0x0001
  0x0200: PMT Ver: 2 Program : 513
    0x0202: H.264/AVC Video (as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video)
    0x0203: AC-3 Audio (DVB) Stream


PID List:
PID: 0000: PAT PID: 0x0000 Ver: 2 TS ID: 0x0001
PID: 0200: 0x0200: PMT Ver: 2 Program : 513
PID: 0202: H.264/AVC Video (as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video)
    H.264 1280x1088 (1920x1080) @ 25,000 fps
PID: 0203: AC-3 Audio (DVB) Stream
    AC3: 2/0: L,R  48KHz 384Kbit/s

Filter Info: 
Video Resolution from Codec: 1280 x 1080 @ 25.00 fps
Approximate System Bitrate: 722632985440203,00 Mbits/s
Approximate Duration: 00:00:44.40

Video Duration by PTS: 00:00:44.439
Filesize: 00,04GB   Average bitrate 07,22 Mbps

PID: 0x0202: H.264 1280x1088 (1920x1080) @ 25,000 fps
PID: 0x0203: AC3: 2/0: L,R  48KHz 384Kbit/s
2138 Total Video Frames found
281 Total Audio Frames found

Continuity Errors: 9, Transport Error Indicator Errors: 0
Timestamp gaps: 0, PCR gaps: 2
Total number of separate discontinuous regions: 3

End Of Log.
The line "PID 0x0200 Continuity Error found at offset 0x134120" is the only error which ist detected in the original stream.

If it helps i can upload the test file (40MB) and project file.
Post Reply