MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2006-04-24, 19:39   #11 (permalink)
Retired Team Member
 
Join Date: May 2005
Location: Germany
Posts: 688
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Default

Quote:
I use the comskip/show analyzer with MCE 2005. I don't use it to cut out the commercials right now, just skip them.

In MCE you have the ability to have automatic jump and manual jump through commercials. The "up arrow" turns on automatic jump and the "down arrow" turns it off. The "right arrow" jumps past the commercials and the "left arrow" jumps back.

The way I understand that it works is: show analyzer analyzes the show and looks for the broadcast logo. It outputs an xml file with times/position in the file of the commercials. Comskip then reads the xml and jumps to these points in time. So far I have almost no problems with comercial jumping. The most "problems" I have had are station commercials that put the logo in the corner. Such as a commercials for "news at nine" and it has the channel logo.

Mind you I am useing this in the States and 99% of my channels have a corner logo.
I've MCE2005 also running on my machine and would like to test it.
I didn't know that MCE2005 can skip commercials files?
What output format do I have to enable at comskip?

Regards
Ralph
__________________
MP: 0.2.3.0 latest SVN
Case: Silverstone LC03
Celeron 2,4 GHz ,512MB memory, NVidia FX5200, 1x160GB, 1x250GB, 1x500GB, Asus P4P deluxe
OS: Window MCE SP2
TVcard: Hauppauge PVR 350
Remote: MCE 2005
Ralph is offline   Reply With Quote
Old 2006-04-24, 20:02   #12 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 90
Thanks: 2
Thanked 5 Times in 4 Posts


Default

Quote:
Originally Posted by wishywashy
I use the comskip/show analyzer with MCE 2005. I don't use it to cut out the commercials right now, just skip them.

In MCE you have the ability to have automatic jump and manual jump through commercials. The "up arrow" turns on automatic jump and the "down arrow" turns it off. The "right arrow" jumps past the commercials and the "left arrow" jumps back.

The way I understand that it works is: show analyzer analyzes the show and looks for the broadcast logo. It outputs an xml file with times/position in the file of the commercials. Comskip then reads the xml and jumps to these points in time. So far I have almost no problems with comercial jumping. The most "problems" I have had are station commercials that put the logo in the corner. Such as a commercials for "news at nine" and it has the channel logo.

Mind you I am useing this in the States and 99% of my channels have a corner logo.
Could you post an example of such a XML file?
erik1958 is offline   Reply With Quote
Old 2006-04-24, 20:10   #13 (permalink)
Portal Tester
 
ASiDiE's Avatar
 
Join Date: Jan 2005
Location: USA
Age: 32
Posts: 891
Thanks: 6
Thanked 4 Times in 4 Posts

My System

Default

I just went home and watched a episode of the family guy I recorded. I watched the video without the comericals... Comskip cut out the comericals so good that I thought I was watching the episode I downloaded last night. (all edited and ready to go) I am very impressed. I am hoping that we can get something like wishywashy is talking about in MCE.

KEEP UP THE GOOD WORK!
__________________
I SEE WHAT YOU DID THERE!
ASiDiE is offline   Reply With Quote
Old 2006-04-25, 02:28   #14 (permalink)
Portal Member
 
wishywashy's Avatar
 
Join Date: Jan 2005
Location: Hill AFB, UT
Age: 33
Posts: 458
Thanks: 15
Thanked 3 Times in 3 Posts

Country:

My System

Default

This is an example of the xml file for Criminal Minds:

<?xml version="1.0" encoding="utf-8"?><root><commercial start="229.3291" end="417.3502666666667" /><commercial start="978.0771" end="1191.2233666666666" /><commercial start="1773.5384333333334" end="1930.7288" /><commercial start="2559.5236333333332" end="2782.6799" /><commercial start="3045.1421" end="3167.7646" /><commercial start="3480.9775" end="3778.3078666666665" /> </root>"


Ralph look here for a guide and the files:
http://thegreenbutton.com/forums/thread/99008.aspx

**Note** I only have this working with recorded shows. It may work in timeshifting, but not for me.
wishywashy is offline   Reply With Quote
Old 2006-04-25, 03:54   #15 (permalink)
Portal Member
 
Join Date: Nov 2005
Posts: 227
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

Hi again, more news on the 2 issues i am currently experiencing

I was able to recreate again the dvrcut problem on another different large file. Interestingly i tried again and this time it again got stuck at a file size of 684,550kb, when i viewed the file it was stuck at the 0:9:50 point i.e. at the start of the first set of commercials. I tried again on the same file and tis time the file size was bigger than before but again stuck, this time it had safely negociated the first set of commercials but had got stuck at the second set. I tried on a simpsons episode which was 1.5gb (but 3 sets of commercials) and it performed perfectly. So it would appear that dvrcut is definitely having issues with cutting out commercials on my larger files.

The second problem i mentioned before with commercials being missed from certain files relates to dvr-ms files which i have which are from my dvb-s card. (the boston legal and simpsons samples were recorded from a hauppauge pvr150). When comskip runs on these files i get a lot (like a 4mb logfile full) of inconsistent frame errors here is the start of the log file

Quote:
################################################## ##############
Generated using Comskip 0.79.36
Time at start of run:
Tue Apr 25 11:02:57 2006
################################################## ##############
Mpeg: tv1.dvr-ms
Exe comskip.exe
Logo: tv1.logo.txt
Ini: comskip.ini

Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 2000 seconds
3) Fuzzy Logic
4) Aspect Ratio


ComSkip throttles back from -0001 to -0001.
The time is now 1102 so it's full speed ahead!

unknown asf object (not loaded)
unknown asf object (not loaded)
cannot read one asf object
found 2 streams
added new video stream(ID:1)
unknown stream(ID:2), assumed to be AudioMPEG2 sound at 48 khz
Bad audio at frame 0

First Frame
Frame: 1 MinY: 282 MaxY: 286 Ratio: 0.00

Frame 2 - Black frame with brightness of 0,uniform of 242 and volume of 8979687
Audio PTS jumped 1 frames at frame 4, repairing timeline
Video PTS jumped 1 frames, repairing timeline
Resizing scene change array to accomodate 2000 frames.
Video PTS jumped 2 frames, repairing timeline
Video PTS jumped 1 frames, repairing timeline
Video PTS jumped 2 frames, repairing timeline
Video PTS jumped 1 frames, repairing timeline
Audio PTS jumped 2 frames at frame 19, repairing timeline
Video PTS jumped 5 frames, repairing timeline
Audio PTS jumped 10 frames at frame 179, repairing timeline
Video PTS jumped 6 frames, repairing timeline

Looking For Logo in frames 25 to 1250.
Edge count - 1175 Percentage of screen - 0.77, Check: 0

Looking For Logo in frames 50 to 1275.
Edge count - 1176 Percentage of screen - 0.77, Check: 1

Looking For Logo in frames 75 to 1300.
Edge count - 1181 Percentage of screen - 0.77, Check: 2

Looking For Logo in frames 100 to 1325.
Edge count - 1185 Percentage of screen - 0.77, Check: 3

Looking For Logo in frames 125 to 1350.
Edge count - 1237 Percentage of screen - 0.77, Check: 4

Looking For Logo in frames 150 to 1375.
Edge count - 1223 Percentage of screen - 0.77, Check: 5
Doublechecking frames 150 to 1375 for logo.
Logo present in frame 1275.
Logo present in frame 1300.
Logo present in frame 1325.
Logo present in frame 1350.
Logo present in frame 1375.
Logo present in frame 150.
Logo present in frame 175.
Logo present in frame 200.
Logo present in frame 225.
Logo present in frame 250.
Logo present in frame 275.
Logo present in frame 300.
Logo present in frame 325.
Logo present in frame 350.
Logo present in frame 375.
Logo present in frame 400.
Logo present in frame 425.
Logo present in frame 450.
Logo present in frame 475.
Logo present in frame 500.
Logo present in frame 525.
Logo present in frame 550.
Logo present in frame 575.
Logo present in frame 600.
Logo present in frame 625.
Logo present in frame 650.
Logo present in frame 675.
Logo present in frame 700.
Logo present in frame 725.
Logo present in frame 750.
Logo present in frame 775.
Logo present in frame 800.
Logo present in frame 825.
Logo present in frame 850.
Logo present in frame 875.
Logo present in frame 900.
Logo present in frame 925.
Logo present in frame 950.
Logo present in frame 975.
Logo present in frame 1000.
Logo present in frame 1025.
Logo present in frame 1050.
Logo present in frame 1075.
Logo present in frame 1100.
Logo present in frame 1125.
Logo present in frame 1150.
Logo present in frame 1175.
Logo present in frame 1200.
Logo present in frame 1225.
Logo present in frame 1250.
89012345678901234567890123456789012345678901234567 89012345678901234567890123456789012345678901234567 89012345
43:
44:
45:
46:
47: ---------- ------- -------- -----------
48: -------------- --------- -+------- ---------------
49: ---+++++---+++++--||+++--+++++ ||++----+++| --++++++---+++++--
50: --++++--------++++++++++---+++++ |+++----+++|+++++++-------++++++
51: +++++--- -+++++|||| ++++| ||||+-- -+||++++++-- --+++++
52: ++++++ -- -+++|||| |++++|||||| |||++++-- ------ -++++|
53: |+++++ ------ -+-++|| |++++||||| | |++++- ------- |+++||
54: |+++++ -----+- -+-| ++++||+|| +++- ++++++++|| |++||
55: |+++| +++++-++|| - ++++|+|| -- ||++++-+++|| |||||
56: |+++| |++++--++|| - +++||| -- ||++----++|| |||||
57: ----++++- -||+++-- +|| ------- - ----++++++----- --- --++++----++++---+++++-------------- ----
58: |++++---+|++----++++------------- ---+-+-+------ ----------------- |||+| ----------------------
59: -- ----- ||||--- - ----- - - -------------- --------------------------------------- ----
60: |-+----- |||----++++----------------------------- -------------------- ------------------------
61: | | |||
62: | |||| | | -----
63: | +|-- | ---- --
64: ||-- -- - --- ----- -
65: -- ||| - ----------
66: - --- ||
67: |- |
68: | |
69: ---------- - ----+|||
70: - ------ -- -- ---- -
71: -- ----- -- -- - -- -- --
72: ------- -- ----- -
73:
logoMinX=578 logoMaxX=685 logoMinY=43 logoMaxY=73
******************* End of Logo Processing ***************
Video PTS jumped 1360 frames, frame numbers may be incorrect
Video PTS jumped -1378 frames, frame numbers may be incorrect
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Audio PTS jumped -4 frames at frame 1364, audio may get out of sync
Video PTS jumped -5 frames, frame numbers may be incorrect
Inconsistent frame numbers

First Frame
Frame: 1 MinY: 58 MaxY: 518 Ratio: 1.57
Audio PTS jumped -1369 frames at frame 0, audio may get out of sync
Video PTS jumped -1 frames, frame numbers may be incorrect
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 1 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 1 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 2 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 1 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 1 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 2 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Audio PTS jumped 1 frames at frame 22, repairing timeline
Video PTS jumped 4 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Video PTS jumped 1 frames, repairing timeline
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Inconsistent frame numbers
Audio PTS jumped 1 frames at frame 71, repairing timeline
I agree with the others about the future of this potential plugin, surely one of the most crucial areas. I hope the above gives you some food for thought. Thanks m.[/img]
mdsflyer is offline   Reply With Quote
Old 2006-04-25, 09:05   #16 (permalink)
Portal Member
 
Join Date: Nov 2005
Posts: 227
Thanks: 1
Thanked 3 Times in 3 Posts

Country:

My System

Default

I was able to resolve the second problem by tuning the comskip ini file, i now use detect method 255 and have dropped the logo threshold down to 0.15, those two changes made the biggest difference as the logos used over here are a fairly dim white and frequently lost against a white background. So now just to get dvrcut to behave with large dvr-ms files and i think i'll have a working solution for this shortly. I intend to use dirmon and pvrscheduler to wake the computer up at night, run a batch file that uses comskip then dvr-ms and replaces the original recordings in the recorded tv folder. By the way if i use dvrcut and specify the same output name as input it just crashes. It would be handy if that didn't happen.

I hope this information is useful to you, if not just let me know and i'll cease and desist!



Cheers m.
mdsflyer is offline   Reply With Quote
Old 2006-04-25, 11:47   #17 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 90
Thanks: 2
Thanked 5 Times in 4 Posts


Default

mdsflyer,

I found another reason for the inconsistent frame numbers but can you upload the first say 50MBytes of the file producing this error?
It will help me testing the solution.
PM me for the upload details if needed.

DVRCut is a simple hack I made, nothing fancy. I prefer if someone else with C# skill completes it to whatever you guy's need.
I will post the source and everything needed on my server.
Look for DVRCutsrc.zip
erik1958 is offline   Reply With Quote
Old 2006-04-26, 04:47   #18 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 90
Thanks: 2
Thanked 5 Times in 4 Posts


Default

For thos that know comclean I made a comcleandvr that works like comclean but it works on dvr-ms file.

Internally it uses dvrcut.

Download comcleandvr.zip from my server, everything is in the zip file.
erik1958 is offline   Reply With Quote
Old 2006-04-26, 14:05   #19 (permalink)
Retired Team Member
 
Join Date: May 2005
Location: Germany
Posts: 688
Thanks: 0
Thanked 7 Times in 6 Posts

Country:

My System

Default

Quote:
For thos that know comclean I made a comcleandvr that works like comclean but it works on dvr-ms file.

Internally it uses dvrcut.

Download comcleandvr.zip from my server, everything is in the zip file.
Perfect!
Yesterday, I just spent couple of hours to get this work, too. :?
And I even called it comcleandvr.
I will download your version and will see if we do it the same way. :lol:

Thanks again for all your efforts :!:
Ralph
__________________
MP: 0.2.3.0 latest SVN
Case: Silverstone LC03
Celeron 2,4 GHz ,512MB memory, NVidia FX5200, 1x160GB, 1x250GB, 1x500GB, Asus P4P deluxe
OS: Window MCE SP2
TVcard: Hauppauge PVR 350
Remote: MCE 2005
Ralph is offline   Reply With Quote
Old 2007-10-03, 05:44   #20 (permalink)
Portal Member
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by erik1958 View Post
Quote:
Ok erik, 2 issues for me now, i've now tried this on a bigger file (3GB and 1 hour) the comskip produces a bat file just fine but when i run dvrcut as you described above it starts to create the clean file but progresses no further than 684,550K (or thereabouts) the task manager does not show the programme as not responding an indeed it will close no problem, but the outputted file will not play, it is way too small anyways. Is there an issue with dvrcut and large files? The other problem was on my original tester file of 20mins and 2 ad breaks that it would remove the first of the ad breaks but not the second. This was despite the bat file having start/stop then start/stop times listed. Any ideas?
Its difficult for me because I have not been able to test myself as my development machine does not run XP.
Anyone else with the same experience?
I know this is a dead thread... but yes, I have the exact same experience with a 2 GB dvr-ms file.
judolphin is offline   Reply With Quote
Reply

Bookmarks

Tags
079, added, build, comskip, dvrcut, format, output

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS WDM TV/FM 7134 is supported River Mead General Support 6 2007-08-27 16:12
MP crashing after viewing 21 videos endeneu The old Bugreport Forum 27 2006-06-07 22:58
Problem with audio on DVB/t channel veisfeld General Support 1 2006-04-16 11:08
Radio autotune crash MP configuration pisdu General Support 2 2006-04-10 13:57
RC2 causes laptop to hibernate every 5 mins ms2005 MediaPortal 1 Talk 6 2005-12-19 15:26


All times are GMT +1. The time now is 19:54.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden