.mpg file loops forever

Here you can ask your questions on how to use Comskip for the detection of commercials. Also questions on how to remove commercials are welcome
Post Reply
chico
Posts: 32
Joined: Sat Nov 26, 2011 2:48 am

.mpg file loops forever

Post by chico »

Hi Erik -

I've been testing version 81_057 (after our tuning discussions) and I found a video file that comskips fine in 81_053 but seems to enter an endless loop in 81_057.

At the end of the video file, 81_053 shows this activity:

Code: Select all

.....
Frame  57123 - Uniform frame with brightness of 27 and uniform of 0
Frame  57124 - Uniform frame with brightness of 26 and uniform of 119

End logo block 4	frame 57097	Length - 0:00:20.05
Frame  57298 - Black frame with brightness of 19,uniform of 270 and volume of 419
Frame  57299 - Black frame with brightness of 19,uniform of 271 and volume of 117
Frame  57300 - Black frame with brightness of 19,uniform of 268 and volume of 56
Frame  57301 - Black frame with brightness of 19,uniform of 271 and volume of 4
Frame  57302 - Black frame with brightness of 19,uniform of 272 and volume of 1
Frame  57303 - Black frame with brightness of 19,uniform of 271 and volume of 0
Video jumped by -2860450.6 at frame 57381, inter = 1, rep = 0, ticks = 2

Parsed 57440 video frames and 57442 audio frames of 29.97 fps

Maximum Volume found is 4687
Finished scanning file.  Starting to build Commercial List.
Platau@[71] frames 7, volume 0, distance 2 seconds
Platau@[1610] frames 14, volume 29, distance 51 seconds
.....
But with version 81_057, this occurs at the end of the video file:

Code: Select all

.....
				Nonlogo Length - 0:02:19.47
Start logo cblock 4	frame 56347
Frame  57107 - Uniform frame with brightness of 29 and uniform of 229
Frame  57108 - Uniform frame with brightness of 29 and uniform of 208
Frame  57109 - Uniform frame with brightness of 28 and uniform of 0
Frame  57110 - Uniform frame with brightness of 28 and uniform of 0
Frame  57111 - Uniform frame with brightness of 28 and uniform of 0
Frame  57112 - Uniform frame with brightness of 28 and uniform of 0
Frame  57113 - Uniform frame with brightness of 28 and uniform of 0
Frame  57114 - Uniform frame with brightness of 28 and uniform of 0
Frame  57115 - Uniform frame with brightness of 28 and uniform of 0
Frame  57116 - Uniform frame with brightness of 28 and uniform of 0
Frame  57117 - Uniform frame with brightness of 28 and uniform of 0
Frame  57118 - Uniform frame with brightness of 28 and uniform of 0
Frame  57119 - Uniform frame with brightness of 28 and uniform of 0
Frame  57120 - Uniform frame with brightness of 28 and uniform of 1
Frame  57121 - Uniform frame with brightness of 27 and uniform of 0
Frame  57122 - Uniform frame with brightness of 26 and uniform of 119

End logo block 4	frame 57097	Length - 0:00:20.05
Frame  57296 - Black frame with brightness of 19,uniform of 270 and volume of 651
Frame  57297 - Black frame with brightness of 19,uniform of 271 and volume of 143
Frame  57298 - Black frame with brightness of 19,uniform of 268 and volume of 76
Frame  57299 - Black frame with brightness of 19,uniform of 271 and volume of 171
Frame  57300 - Black frame with brightness of 19,uniform of 272 and volume of 111
Frame  57301 - Black frame with brightness of 19,uniform of 271 and volume of 92
Frame  57302 - Black frame with brightness of 23,uniform of 1860 and volume of 20
Video jumped by -2860451.1 at frame 57379, inter = 1, rep = 0, ticks = 2

Retry=0 at frame=57438, time= 1916.51 seconds
Video jumped by -11477.0 at frame 57439, inter = 1, rep = 0, ticks = 2

				Nonlogo Length - 25:38:50.50
Start logo cblock 5	frame 57449
Resizing scene change array to accomodate 4000 frames.
Frame  63855 - Uniform frame with brightness of 29 and uniform of 551
Frame  63856 - Uniform frame with brightness of 28 and uniform of 228
Frame  63857 - Uniform frame with brightness of 28 and uniform of 228
Frame  63858 - Uniform frame with brightness of 28 and uniform of 38

End logo block 5	frame 63680	Length - 0:03:22.93
Frame  63859 - Uniform frame with brightness of 27 and uniform of 1
Frame  63860 - Uniform frame with brightness of 27 and uniform of 0
Frame  63861 - Uniform frame with brightness of 27 and uniform of 0
.....
Then comskip just keeps on chugging, going back into the video file and looping forever.

Sorry to be the guy who always points out problems, although that's the tester's fate, I guess. :oops: But, as always, I'm willing to help any way I can. :)

I've uploaded the logs in two folders on your server in the "chico" folder: bilko_053 and bilko_057. Please let me know if you want me to upload the video file as well (it's about 845 MB).

(I just noticed there's a comskip update, 81_058. I tested with that version and this video file fails on _058 as well).

Regards,

chico
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: .mpg file loops forever

Post by erik »

What is your setting for the live tv retry in comskip.ini?
chico
Posts: 32
Joined: Sat Nov 26, 2011 2:48 am

Re: .mpg file loops forever

Post by chico »

erik wrote:What is your setting for the live tv retry in comskip.ini?
Both the correctly functioning _053 and incorrectly functioning _057 have the same values:

live_tv=0 ; set to 1 if you use parallelprocessing and need the output while recording
live_tv_retries=4 ; change to 16 when using live_tv in BTV, used for mpeg PS and TS
dvrms_live_tv_retries=300 ; only used for dvr_ms
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: .mpg file loops forever

Post by erik »

But this fails on a already recorded file yes?
chico
Posts: 32
Joined: Sat Nov 26, 2011 2:48 am

Re: .mpg file loops forever

Post by chico »

erik wrote:But this fails on a already recorded file yes?
Yes. And yesterday it failed on a newly recorded file too. Infinite loop.

Would you like me to upload the video file?
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: .mpg file loops forever

Post by erik »

Yes, please do
chico
Posts: 32
Joined: Sat Nov 26, 2011 2:48 am

Re: .mpg file loops forever

Post by chico »

erik wrote:Yes, please do
I uploaded "bilko.mpeg" to the "chico" folder on your ftp server, but my ftp app says the upload halted with 30 seconds left on an 886 Mb transfer, and the connection timed out. I haven't been able to log into your server since then. So maybe the file made it? Please check and let me know if you got it, if not I can re-upload assuming I can log in to your server...
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: .mpg file loops forever

Post by erik »

File did make it.
Can reproduce the problem.
Thanks
Post Reply