![]() |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
Rating:
|
Display Modes |
|
|||
|
Comskip 0.79 build 32: Some bugs solved and Beyond TV added
After some serious work on the MPEG decoder I think I have solved many of the audio/video synchronisation and timeline problems.
Some serious MPEG Transport Stream and DVR-MS testing could further improve Comskip so keep sending me your feedback. From the change log Changes in 0.79.32 - Added the BTV Smartskip output format, set output_btv=1 in the comskip.ini file to enable - Bug solved: AC3 sound volume is too high causing missing of black frames - Bug solved: Recording with 3/2 pull down has wrong frame numbers leading to incorrect cut points - Bug solved: The volume_slip default value is too low - Added parameter in ini file: ms_audio_delay=5 set to the number of frames audio lags video in dvr-ms files. Default value of 5 should be OK for most recordings. Download from http://mk.kaashoek.com/comskip |
|
|||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
I did some testing of the new version (0.79.33) with output_btv=1 in the comskip.ini
It appears to create an mpg.chapters.xml file (YAY!!!), but the format looks slightly different from the BTV version of this file. I'm not sure whether it still works. I tried it, via BTV Link and it crashed Link, but this may have been for a different reason. Here is a sample of a BTV chapter file's contents: <cutlist> <Region> <start comment="00:02:21.2410998">1412410998</start> <end comment="00:03:22.6691324">2026691324</end> </Region> <Region> <start comment="00:11:56.4490662">7164490662</start> <end comment="00:15:07.3397658">9073397658</end> </Region> </cutlist> Now, here is a sample of the content of the chapter file created by Comskip: <cutlist> <Region><start>333667</start><end>1683348333</end></Region> <Region><start>5014676333</start><end>5718379333</end></Region> <Region><start>9794785000</start><end>10499155333</end></Region> <Region><start>14948266667</start><end>15515500000</end></Region> <Region><start>17934583333</start><end>17961610333</end></Region> </cutlist> Like I said, I'm not sure if it makes a functional difference or not. It could be that Snapstream included the "comments" in the file to show easy to read numbers for where the cuts are (minutes and seconds, as well as frames.) *EDIT* I checked and the file DOES play back, properly, and the smartchapters are working, correctly. Last edited by cmcquistion; 04-11-2006 at 10:41 PM. |
|
|||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
I have the new version of Comskip working perfectly and integrated with BTV's CustomPostProcessing schedule.
Here is the contents of the batch file to run (I named mine comskip.bat and it is in the same directory as the comskip.exe and comskip.ini): Quote:
Quote:
Here is the contents of my comskip.ini file. I took these entries directly from leecole, in another post, and modified a few things. Quote:
*EDIT 2* Changed detect_method=255 to detect_method=43, upon erik's suggestion. The commercial detection on HD recordings worked much better, after this change. *EDIT 3* Updated my files, above, since some new releases have come out with some new options. Last edited by cmcquistion; 08-31-2006 at 09:43 AM. |
|
|||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
Setting
detect_method=255 enable also silence based cutting which in the current version is only ment for transmissions without sufficient black frames. It is suggested to use detect_method=43 or detect_method=47 when you want somewhat more agressive cutting. The next release will automatically take care of enabling and disabling detection methods. |
|
|||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
Quote:
The player I use on my PalmT|X lets me skip chapters, then. Is there any output file format that has the time of the cuts? mkvmerge chapter xml
__________________
3.20GHz HT Intel|1gb 3DRAM|ASUS P5AD2-E-Premium|WinXP|300gb WDC HD|NVIDIA GeForce 8400 GS|Hauppauge PVR500MCE(2 tuner), HDHR |
|
||||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
No, there wasn't a file output format from comskip that has the time of the cuts in a easily readable format. That is why in this thread I had created a small utility to take a VideoRedo cut file and convert it to a snapstream smart chapter file. But the values in the the VideoRedo and smartchapter files is a time code, just a weird one that needs a touch of processing. I mention it here:
How do I get Comskip to work with v4.1? In short, the last (right-most) seven digits of the value are fractions of a second. Any digit to the left of the first 7 are the seconds. A simple conversion from seconds to minutes and hours and you have your readable time code. That is what I did in my conversion utility. I can send you the source if that's of interest to you. Hope this helps. Geoff
__________________
|
|
|||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
Quote:
__________________
3.20GHz HT Intel|1gb 3DRAM|ASUS P5AD2-E-Premium|WinXP|300gb WDC HD|NVIDIA GeForce 8400 GS|Hauppauge PVR500MCE(2 tuner), HDHR |
|
|||
|
Re: Comskip 0.79 build 32: Some bugs solved and Beyond TV added
Don't use only logo. You do need the others too.
Comskip should use as many clues as possible. The newest version automatically disables detection methods when found not reliable. |
|
||||
|
<edit>An updated version of comproc.cmd can be found here</edit>
YAY! Comskip works beautifully. Attached is a batch file (two actually) that I've made to process all files without a smartchapter file in a directory using comskip. It can be scheduled either on the local btv server or a remote machine to process files outside regular recording hours and will workk with unc paths. I use igCutter to manually process some files so comproc.cmd will also skip any files that end in _cut.mpg Comskip is run at low priority so even if you're up playing games on the processing machine at 3:00 am it shouldn't cause too much of a problem. To make it work: copy comproc.cmd and comprocAction.cmd to the directory that contains the comskip files. comproc has one parrameter which is the path to the directory containing the files to be processed. EG: comproc \\foo\q$\shows comprocAction.cmd is called by comproc.cmd to process individual files and generally shouldn't be called directly unless it's for testing. Use windows scheduled tasks to schedule comproc.cmd to run at a convenient time. When scheduled as a task the command windows executing the processing will not be visible as they run in the background. A log file comProcLog.txt is created in the comskip directory and can be monitored to check the progress of the operation. I use "Tail for Win32" from SourceForge to keep an eye on this. Below is an example of the output; ------------------------------------------------------------------------ -- Mon 24/04/2006 3:00:00.70 - Begin processing files in: -- \\hal\f$\shows ------------------------------------------------------------------------ Mon 24/04/2006 3:00:05.90 - Begin processing \\hal\f$\shows\Compass-(Who Wrote The Bible __ Pt 1)-2006-04-09-0.mpg Mon 24/04/2006 3:20:01.59 - Completed processing \\hal\f$\shows\Compass-(Who Wrote The Bible __ Pt 1)-2006-04-09-0.mpg Mon 24/04/2006 3:20:01.96 - Begin processing \\hal\f$\shows\Cutting Edge-(Israel and Bosnia)-2006-04-11-0.mpg Mon 24/04/2006 3:42:36.46 - Completed processing \\hal\f$\shows\Cutting Edge-(Israel and Bosnia)-2006-04-11-0.mpg Mon 24/04/2006 3:42:36.93 - Begin processing \\hal\f$\shows\Foreign Correspondent-(Another Sun_ Pt 1)-2006-04-11-0.mpg Mon 24/04/2006 4:06:26.58 - Completed processing \\hal\f$\shows\Foreign Correspondent-(Another Sun_ Pt 1)-2006-04-11-0.mpg Mon 24/04/2006 4:06:27.33 - Begin processing \\hal\f$\shows\Dateline-(Women of the Gaza Strip)-2006-04-13-0.mpg Mon 24/04/2006 4:28:25.25 - Completed processing \\hal\f$\shows\Dateline-(Women of the Gaza Strip)-2006-04-13-0.mpg Mon 24/04/2006 4:28:26.11 - Begin processing \\hal\f$\shows\Compass-(Who Wrote The Bible_ - Part 2)-2006-04-16-0.mpg Mon 24/04/2006 4:48:05.36 - Completed processing \\hal\f$\shows\Compass-(Who Wrote The Bible_ - Part 2)-2006-04-16-0.mpg Mon 24/04/2006 4:48:05.91 - Begin processing \\hal\f$\shows\Cutting Edge-(A War on Science)-2006-04-18-0.mpg Mon 24/04/2006 5:13:03.16 - Completed processing \\hal\f$\shows\Cutting Edge-(A War on Science)-2006-04-18-0.mpg Mon 24/04/2006 5:13:03.55 - Begin processing \\hal\f$\shows\Foreign Correspondent-(Another Sun_ Pt 2)-2006-04-18-0.mpg Mon 24/04/2006 5:27:47.74 - Completed processing \\hal\f$\shows\Foreign Correspondent-(Another Sun_ Pt 2)-2006-04-18-0.mpg Mon 24/04/2006 5:27:48.37 - Begin processing \\hal\f$\shows\The 7.30 Report-2006-04-19-0.mpg Mon 24/04/2006 5:35:27.86 - Completed processing \\hal\f$\shows\The 7.30 Report-2006-04-19-0.mpg Mon 24/04/2006 5:35:28.34 - Begin processing \\hal\f$\shows\Dateline-(Chester Wilmot)-2006-04-19-0.mpg Mon 24/04/2006 6:05:50.43 - Completed processing \\hal\f$\shows\Dateline-(Chester Wilmot)-2006-04-19-0.mpg Mon 24/04/2006 6:05:50.88 - Begin processing \\hal\f$\shows\The Glass House-(Akmal, David O'Doherty, Jason Byrne Mon 24/04/2006 6:05:50.98 - Completed processing \\hal\f$\shows\The Glass House-(Akmal, David O'Doherty, Jason Byrne Mon 24/04/2006 6:05:51.35 - Begin processing \\hal\f$\shows\The 7.30 Report-2006-04-20-0.mpg Mon 24/04/2006 6:17:25.23 - Completed processing \\hal\f$\shows\The 7.30 Report-2006-04-20-0.mpg Mon 24/04/2006 6:17:26.06 - Begin processing \\hal\f$\shows\Lost-(Revelation)-2006-04-20-0.mpg Mon 24/04/2006 6:38:52.72 - Completed processing \\hal\f$\shows\Lost-(Revelation)-2006-04-20-0.mpg Mon 24/04/2006 6:38:53.12 - Begin processing \\hal\f$\shows\Lateline-2006-04-20-0.mpg Mon 24/04/2006 6:53:53.75 - Completed processing \\hal\f$\shows\Lateline-2006-04-20-0.mpg Mon 24/04/2006 6:53:54.36 - Begin processing \\hal\f$\shows\Lost Worlds-(Michelangelo Superstar)-2006-04-23-0.mpg Mon 24/04/2006 7:16:12.50 - Completed processing \\hal\f$\shows\Lost Worlds-(Michelangelo Superstar)-2006-04-23-0.mpg Mon 24/04/2006 7:16:13.00 - Begin processing \\hal\f$\shows\Compass-(Gallipoli Pilgrimage)-2006-04-23-0.mpg Mon 24/04/2006 7:36:20.50 - Completed processing \\hal\f$\shows\Compass-(Gallipoli Pilgrimage)-2006-04-23-0.mpg ------------------------------------------------------------------------ -- Mon 24/04/2006 7:36:20.55 - Completed processing files in: -- \\hal\f$\shows ------------------------------------------------------------------------ Here's the content of the two cmd files: comproc.cmd Code:
@echo off rem batch file by mick to process all files in a show folder set folderpath=%1 echo. echo Folder path is %folderpath% echo. echo ------------------------------------------------------------------------ >> comProcLog.txt echo -- %date% %time% - Begin processing files in: >> comProcLog.txt echo -- %folderpath% >> comProcLog.txt echo ------------------------------------------------------------------------ >> comProcLog.txt dir %folderpath%\*.mpg /b /od > showlist.tmp for /F "tokens=* delims=" %%i in (showlist.tmp) do start /wait /min cmd /c comprocAction.cmd %folderpath%\%%i echo ------------------------------------------------------------------------ >> comProcLog.txt echo -- %date% %time% - Completed processing files in: >> comProcLog.txt echo -- %folderpath% >> comProcLog.txt echo ------------------------------------------------------------------------ >> comProcLog.txt echo. >> comProcLog.txt Code:
@echo off rem this file should be called by comproc.cmd set showfile=%* echo Show file is %showfile% rem Check to see if file has been edited with igCutter echo %showfile%|find "_cut.mpg" /i if %errorlevel%==0 goto cutfile echo Checking for %showfile%.chapters.xml if exist "%showfile%.chapters.xml" goto alreadyProcessed :needProcessing echo Need to process %showfile% echo. echo %date% %time% - Begin processing %showfile% >> comProcLog.txt start /wait /min /low cmd /c comskip.exe "%showfile%" echo %date% %time% - Completed processing %showfile% >> comProcLog.txt echo. >> comProcLog.txt goto end :alreadyProcessed echo Already processed %showfile% echo. goto end :cutfile echo. echo Skipping file %showfile% echo Already processed with igCutter. echo. :end Mick. Last edited by MickP; 05-02-2006 at 11:59 PM. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Comskip | tvgk | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 6 | 12-27-2006 09:05 PM |
| Comskip build 61. Much improved 60fps commercial detection | erik | Beyond TV and Beyond TV Link | 0 | 11-13-2006 02:25 AM |
| BTV 4.4 and comskip | Draiko2 | Beyond TV and Beyond TV Link | 6 | 10-04-2006 07:51 AM |
| Comskip .79 build 37: AC3 decoding, better performance | erik | Beyond TV and Beyond TV Link | 1 | 04-26-2006 07:30 PM |
| Problem SOLVED w/ new build! No more choppy video! | key master | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 0 | 01-12-2004 12:59 PM |