This project has moved and is read-only. For the latest updates, please go here.

WTV processing does not retain closed captions (subtitles)

Mar 24, 2015 at 2:17 AM
Hello,

I am using Early Access bits (version 2.4 just downloaded) to process a MCE recorded WTV file to removed ads using WTV Unprocessed profile. Unfortunately it strips off subtitles altogether and using Extract closed caption options creates a srt file, is there a setting or profile that retains subtitle?

Also, how do I fine tune the ad removal process, as it leaves behind a chunk of ad?

Thanks
Mar 24, 2015 at 6:05 AM
Yes that's true, unfortunately there is no way to support creating CC in WTV. It's a closed proprietary format for Microsoft.
Mcebuddy only support subtitles for formats like mp4, Mkv m4v etc.

As for fine tuning the commercial detection process there is a whole thread dedicated to it on the list of sticky threads and also check the out the advanced commands page on the documentation tab above. If you are using comskip then use the comskip editor GUI included.


Marked as answer by rboy1 on 4/28/2015 at 12:32 PM
Mar 24, 2015 at 9:47 PM
Thanks, I will try other formats and also check out the sticky threads.
May 8, 2015 at 10:23 PM
Actually, I tried creating MP4 using "MP4 High Quality" configuration and it still does not create cc in the converted file. Could you please share the workflow that would convert a wtv file to mp4 with cc on and commerical removed?

Appreciate your help!
May 9, 2015 at 12:17 AM
Select comskip.
Select extract subtitles in the conversion task advanced settings.
Then in expert settings select add subtitles and chapters.

If there are closed captions it'll extract them and embed them.

If it isn't working then upload the conversion log to the server.

May 9, 2015 at 12:37 AM
I've uploaded my logs with my recent attempts with screen shots, please let me know if you need anything.
May 9, 2015 at 12:37 AM
Location is ftp://files.mcebuddy2x.com/upload/discussion%20609340/
May 9, 2015 at 1:29 AM
Please ignore my log file and the screenshot, will send the correct one later.

Thanks


May 10, 2015 at 12:03 AM
I've uploaded the logs super*.log, with screenshot that shows MCE settings along with original file with CC and MP4 with no CC as well as commercials not clipped. Any help in narrowing down this issue is much appreciated.

Thanks!
May 11, 2015 at 6:49 PM
so I checked your logs and it's showing that it found and extracted the closed captions and also embedded them, as you can see from the end of the log, an analysis of the converted file
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Metadata:
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> major_brand : mp42
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> minor_version : 512
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> compatible_brands: isomiso2avc1mp41
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> encoder : MCEBuddy
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> title : Super Bowl XLVIII: Seattle Seahawks vs. Denver Broncos
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> show : Super Bowl XLVIII: Seattle Seahawks vs. Denver Broncos
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> media_type : 10
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> network : NFL Network HD
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> genre : Sports
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> description : The Seattle Seahawks and their top ranked defense help deliver the first Super Bowl in franchise history by punishing Peyton Manning and the Denver Broncos 43-8.
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> synopsis : The Seattle Seahawks and their top ranked defense help deliver the first Super Bowl in franchise history by punishing Peyton Manning and the Denver Broncos 43-8.
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> comment : The Seattle Seahawks and their top ranked defense help deliver the first Super Bowl in franchise history by punishing Peyton Manning and the Denver Broncos 43-8.
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Duration: 00:17:08.16, start: 0.000000, bitrate: 7492 kb/s
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 7116 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Metadata:
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> handler_name : VideoHandler
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Metadata:
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> handler_name : Surround
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Stream #0:2(und): Subtitle: mov_text (tx3g / 0x67337874), 1920x1080, 0 kb/s (default)
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Metadata:
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> creation_time : 2015-05-09 21:58:25
2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> handler_name : * Denver Broncos_NFLHD_2015_01_25_13_30_02.srt:hdlr=sbtl@GPAC0.5.1-DEV-rev4891 2015-05-09T14:59:05 MCEBuddy.AppWrapper.Base --> Stream #0:3: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 200x150 [SAR 96:96 DAR 4:3], 90k tbr, 90k tbn, 90k tbc
It's clearly shows Stream 0:2 as subtitle stream. So it's there. You need to ensure your playback software supports embedded subtitles.

As for commercials, comskip isn't perfect, remember we're trying to optimize this for 100+ countries and 10,000+ channels across the globe. You should tweak the comskip ini for your channel using the Comskip INI GUI tool included. See the Documentation page for more details on it. Or you can see some of the INI's created by the users and put on the SHARED_INFORMATION folder. Infact if you're able to tune your comskip please feel to share it with the rest of the users and we'll host it for you with your credits.
May 11, 2015 at 11:05 PM
Actually, CCing doesn't look like they are embedded as I still see a separate SRT file. Both WMC and WMP fails to recognize cc, are those apps no longer valid for these converted files. Please let me know if there are other players that works for me to try.

With respect to comskip, I'd be happy to share the INI file but I failing to generate EDL file with option "Only detect Ads" check. Am I missing any other option?
May 12, 2015 at 7:11 AM
Wmc and wmp don't support subtitles. Use kmplayer

Com skip and only detect ads should create an EDL unless you've check the add subtitles and chapters in which case it converts the EDL to a chapter and embeds it

May 14, 2015 at 10:26 PM
Could you please check the log (ftp://files.mcebuddy2x.com/upload/discussion%20609340//Latest.log) and let me know what I might be missing? I made sure this time I did not check anything but "Only detect ads" but still no luck
May 15, 2015 at 2:26 AM
That's because comskip is hanging/failing. Update to the latest 2.4.2 build of MCEbuddy it has the newer version of comskip. It should solve your issue.

2015-05-14T14:05:48 MCEBuddy.AppWrapper.Comskip -->  0:17:04 - 32188 frames in 138.01 sec(233.23 fps), 1.00 sec(273.00 fps), 49%
ERROR> --> No response from process for 300 seconds, process likely hung - killing it
ERROR> --> Process hung, killing process
WARNING> 2015-05-14T14:10:50 MCEBuddy.CommercialScan.Scanner --> Comskip failed or no output EDL/EDLP file found
2015-05-14T14:10:50 MCEBuddy.CommercialScan.Scanner --> Commercial Scan: Percentage Complete 0
INFORMATION> 2015-05-14T14:10:50 MCEBuddy.CommercialScan.Scanner --> Skipping EDLP, using EDL file for commercial removal
WARNING> 2015-05-14T14:10:50 MCEBuddy.CommercialScan.Scanner --> Cannot find EDL File

May 15, 2015 at 4:03 AM
In today's build we've also put a check for comskip failing if so terminate the conversion so it doesn't give an impression that things are okay

May 15, 2015 at 5:50 AM
Can you please share the location to updated bits?

Tried uinstalling my existing install and installed the bits from http://earlyaccess.mcebuddy2x.com/EARLY_ACCESS/2.4.2_BETA/MCEBuddy%202.4.2%2032bit%20-%2020150514.zip. I am still seeing the same error

ERROR> --> No response from process for 300 seconds, process likely hung - killing it
ERROR> --> Process hung, killing process
WARNING> 2015-05-14T20:18:25 MCEBuddy.CommercialScan.Scanner --> Comskip failed or no output EDL/EDLP file found/not accessible
2015-05-14T20:18:25 MCEBuddy.CommercialScan.Scanner --> Commercial Scan: Percentage Complete 0
INFORMATION> 2015-05-14T20:18:25 MCEBuddy.CommercialScan.Scanner --> Skipping EDLP, using EDL file for commercial removal
WARNING> 2015-05-14T20:18:25 MCEBuddy.CommercialScan.Scanner --> Cannot find or access EDL File
INFORMATION> 2015-05-14T20:18:25 MCEBuddy.Engine.ConversionJob --> Running custom commands

Here is the top portion of the log for version details
--> Starting conversion - DEBUG MESSAGES
INFORMATION> --> Windows OS Version -> Microsoft Windows NT 6.1.7601 Service Pack 1 (WIN_7_2008_SERVER_R2, Professional)
INFORMATION> --> Windows Platform -> 64 Bit
INFORMATION> --> MCEBuddy Build Platform -> 32 Bit
INFORMATION> --> MCEBuddy Build Version : 2.4.2.0
INFORMATION> --> MCEBuddy Build Date : 05/14/2015 21:38:48
INFORMATION> --> MCEBuddy Running as Service : True
--> Domain Name ->
May 15, 2015 at 1:44 PM
Did you try to install a 32 bit version of MCEBuddy on a 64 bit system?
May 15, 2015 at 1:53 PM
Can you upload a copy of the original WTV file to the server for analysis.
Also use the build we put up a few hours ago and see is that helps.

May 17, 2015 at 8:11 PM
Downloaded the latest bits and attempted MP4 conversion with "Only detect ads" still no EDL file but MP4 is generated. Logs and the original files housesmarts*.* is in the same location. Please let me know if you need any other logs.
May 17, 2015 at 8:19 PM
from your logs it ran fine this time, no issues but it didn't find any commercials in your video so no EDL file.

2015-05-16T08:54:28 MCEBuddy.AppWrapper.Comskip --> Commercials were not found.

May 17, 2015 at 8:26 PM

Could you please look at the super*.log that I just uploaded? Original file for this is much larger which is why I chose the HouseSmart*.wtv but I can upload this file if that helps.

Let me know.

May 17, 2015 at 8:28 PM
Definitely super*.log show the process stopped with no conversion, so I started copyign the 4GB file...will let you know when the upload completes probably would take an hour or so
May 17, 2015 at 8:32 PM
yep I can see that. You would want to report this to Erik also the comskip developer at Erik Kaashoek <[email removed]>
Meanwhile try to use Showanalyzer to see if that works.

Another thing you may want to try is download an older version of comskip from www.comskip.org say 0.81.061 and try that instead. Definitely a comskip hanging issue which will have to be addressed by Erik.

May 17, 2015 at 10:40 PM

How do I forward this to Erik, is there a different forum for it?

May 17, 2015 at 11:01 PM
yes, comskip is developed and maintained by Erik. You can post it here:

You can also find Erik's email erik at Kaashoek dot com
Codeplex won't allow us to post emails.

May 19, 2015 at 3:34 PM
@KayPlex your Super WTV file was never uploaded. I hope you've also reported it to Erik.
May 21, 2015 at 4:55 AM
I aborted this copy as it was taking too long...but in the mean time I wanted few more things like trying with ShowAnalyzer, or a different comskip ini file to see if I get it work. If you interested in my Super WTV file, let me know I can try to copy the bits over again.
May 21, 2015 at 5:53 AM
Yes please

May 22, 2015 at 4:00 AM
Uploaded, please let me know if you can find anything interesting...
Jun 10, 2015 at 12:04 AM
Thanks for the sample, we also spoke to Erik and we realized that the stream was bad video which waas causing comskip to take longer than expected but eventually it finished up. The issue was that since there was no output from comskip for 5 minutes mcebuddy assumed it hung and terminated it.
The temp workaround is to goto System Settings page and set the app hang timeout to 0 (disable) or say 15 (minutes). This should solve your issue.
Jun 27, 2015 at 6:37 PM
Thanks for the update, it does help... what I noticed is that ComSkip sometime creates both EDL and XML file -

EDL => 0.01135 141.325 0
XML => <commercial end="141.324517" start="0.011350"/>

Are those frame number is so, how I fetch frame numbers to fine tune further, I am thinking of fine tuning them by hand and I wanted to enter the numbers in a way MCEBuddy can understand.

Thanks for your help!
Jun 27, 2015 at 8:27 PM
That may not work, MCEBuddy cuts along GOP boundary lines which go by I frames and not frame numbers.
You can use the MCEBuddy Custom Cuts program to mark your own cut points and click send to send it to mcebuddy to process it.

Jan 23, 2016 at 4:00 PM
Is the WTV uncompressed setting still unable to put subtitles back into the new WTV file? And is there anyway/are there any plans to try to add this in the future releases, this is big one for me as we have a hearing impaired member in our family. Thanks