This project has moved. For the latest updates, please go here.

MCEBuddy and tivo files

Coordinator
Apr 24, 2014 at 9:09 PM
Edited May 15 at 7:51 PM
Conversion Task -> Advanced Settings -> Expert Settings -> MAK Key

If you're going to use TiVO Desktop to decrypt your files MCEBuddy Engine needs to run a Command Line Service since TiVO Desktop does not work with a Windows Service (since DirectShow filter cannot be accessed from a Windows Service).

To do this, you need to Click on the Start Menu -> MCEBuddy -> MCEBuddy CommandLine Service. This will automatically stop the Windows Service Engine and start the Command Line Engine (a command window will open which will run the engine). Do NOT close the command window, that is your engine and will do all the background processing.

Unfortunately this method requires the user to be logged in at all time to work (again TiVO Desktop limitation as the decoding filters aren't accessible from service mode context, it's only accessible from installed user context).

TiVO Desktop is required is you are doing a Fast Transfer to transfer your files from TiVO to your desktop. However, if you're using a Slow Transfer then MCEBuddy does not need TiVO Desktop and will use the MAK key you entered to decrypt the file AND this can be done using the default MCEBuddy Service Engine (you don't need to start the Command Line engine for it).

Hope this clarifies the solution.
Marked as answer by rboy1 on 11/11/2015 at 7:05 AM
Coordinator
Apr 24, 2014 at 11:32 PM
Also if you want to use TiVO Desktop for fast transfers then you'll have to use 2.3.15 or later.
Apr 25, 2014 at 12:38 AM
Well, it's there now and the program does see it. However, it seems to have a problem with comskip and exits without remuxing. Shows this as error :
2014-04-24T20:33:29 MCEBuddy.AppWrapper.Comskip --> ComSkip: missing option <file>
INFORMATION> --> Comskip version : FREE
Coordinator
Apr 25, 2014 at 4:06 AM
Please read the instructions before posting. Do not paste clippings from the log file. Post a link to the entire file.

Apr 25, 2014 at 5:09 PM
rboy1 wrote:
Please read the instructions before posting. Do not paste clippings from the log file. Post a link to the entire file.
Sorry. Had some problems with this...

LINK
Apr 25, 2014 at 5:31 PM
TheBoz wrote:
rboy1 wrote:
Please read the instructions before posting. Do not paste clippings from the log file. Post a link to the entire file.
Sorry. Had some problems with this...

LINK
Hope this works better...
Log file
Coordinator
Apr 25, 2014 at 6:47 PM
Edited Apr 25, 2014 at 7:59 PM
The issue is here:
WARNING> 2014-04-24T20:21:01 MCEBuddy.RemuxMediaCenter.RemuxMCERecording --> You need to start MCEBuddy engine as a Command Line Service . TiVO Desktop Directshow decryption filters do not work with a Windows Service.
.
If you're going to use TiVO Desktop to decrypt your files MCEBuddy Engine needs to run a Command Line Service since TiVO Desktop does not work with a Windows Service (since DirectShow filter cannot be accessed from a Windows Service).

To do this, you need to Click on the Start Menu -> MCEBuddy -> MCEBuddy CommandLine Service. This will automatically stop the Windows Service Engine and start the Command Line Engine (a command window will open which will run the engine). Do NOT close the command window, that is your engine and will do all the background processing.

Unfortunately this method requires the user to be logged in at all time to work (again TiVO Desktop limitation).

TiVO Desktop is required is you are doing a Fast Transfer to transfer your files from TiVO to your desktop. However, if you're using a Slow Transfer then MCEBuddy does not need TiVO Desktop and will use the MAK key you entered to decrypt the file AND this can be done using the default MCEBuddy Service Engine (you don't need to start the Command Line engine for it).

Hope this clarifies the solution.
Marked as answer by rboy1 on 11/1/2016 at 2:37 PM
Coordinator
Apr 25, 2014 at 7:03 PM
The other option is to decrypt the files and then pass them to the MCEBuddy engine.

Also see this thread for more details on using the TiVOStreamsRemux.exe from MCEBuddy to manually decrypt the files.
https://mcebuddy2x.codeplex.com/discussions/437757
For those looking to use the Fast TiVO transfers with TiVO desktop, while MCEBuddy now supports Fast TiVO tranfers when TiVO desktop is installed, NOTE that due to the limitations of the TiVO DirectShow filter MCEBuddy HAS to be run as command line engine (from Start Menu, not as a service) AND it must be 32bit MCEBuddy. 
This is because the TiVO DirectShow filter used to decode fast transfers is a 32bit DLL and hence can only be accessed by 32bit MCEBuddy (and it doesn't work from Session 0 for some reason). 

The other piece of good news, for those who want to manually remux the TiVO fast transfer files now with 2.3.15 MCEBuddy provide a command line program called 
MCEBuddy.RemuxTiVOStreams.exe (which used TiVO Desktop DirectShow streams to decode the file and ffmpeg to remux it to ts) 
It can be used like: 
Usage: RemuxTiVOStreams <TiVOFile> <TempPath> <MAK> <AudioLanguage> 

Enjoy!
You can write a script to to run this program after a TiVO Fast Transfer and then feed the output to MCEBuddy (this can be done using the MCEBuddy.UserCLI.exe through a script again or manually dragged into MCEBuddy or through a script place the output file from RemuxTiVOStreams to the monitor folder for MCEBuddy)
Coordinator
Apr 25, 2014 at 7:59 PM
One enhancement - with the next build according to @goose you can use the X/Close the window directly, MCEBuddy will capture it and shutdown gracefully
Apr 28, 2014 at 6:45 PM
rboy1,

Thanks for all the help here. Indeed, the issue was the options on the TiVo desktop software. Looks like if I want a fully automated system I'll have to come up with a script using "MCEBuddy.RemuxTiVOStreams.exe" and use the Windows scheduler to fire it up...
Oct 19, 2015 at 9:49 PM
Hi.

Love MCEBuddy! It's made a world of difference in automating many of my manual processes.

I've been trying to get it to decode TIVO files directly. I'm using kmttg to download the .TIVO files and have MCEBuddy monitoring the subdirectory.

Running 2.4.2
Tried it with and without the command line version (MCEBuddy 2.4 CommandLine Service)
Tried 64 and 32 bit
Error is consistent
INFORMATION> 2015-10-19T17:24:21 MCEBuddy.RemuxMediaCenter.RemuxMCERecording --> Attempting to decode and remux TiVO file
INFORMATION> 2015-10-19T17:24:21 MCEBuddy.RemuxMediaCenter.RemuxMCERecording --> Starting RemuxTiVOStreams as a admin user program
INFORMATION> 2015-10-19T17:24:56 MCEBuddy.AppWrapper.TiVOUserRemux --> Process priority changed to Idle
ERROR> 2015-10-19T17:26:04 MCEBuddy.RemuxMediaCenter.RemuxMCERecording --> Unable to remux TiVO using RemuxTiVOStreams
ERROR> 2015-10-19T17:26:04 MCEBuddy.Engine.ConversionJob --> Remux failed)
Complete Log file here: Log File


Any thoughts?

Thanks!
Coordinator
Oct 28, 2015 at 2:19 AM
First change your logging level to debug. Did you enter the MAK key?

Nov 10, 2015 at 1:16 PM
Hi

Thanks for the reply. The MAK Key wasn't originally entered but even after it has been, some shows complete successfully

Success

Some don't

Unable to remux

Thanks for your help!!
Coordinator
Nov 11, 2015 at 6:24 AM
It appears that you're using version 2.4.2 which has a known bug with remuxing TiVO files causing it to fail sometimes.

Please upgrade to the 2.4.3 beta version and report back if you're still seeing this issue. My guess is it's been resolved with 2.4.3

Nov 11, 2015 at 7:06 PM
Will do
Nov 14, 2015 at 2:07 PM
:(
2015-11-13T21:17:15 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 9.04 % (0.14 fps, avg 0.64 fps, ETA 44h07m38s)
2015-11-13T21:17:15 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 9.04 % (0.14 fps, avg 0.64 fps, ETA 44h07m38s)
2015-11-13T21:17:15 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 9.04 % (0.14 fps, avg 0.64 fps, ETA 44h07m38s)
ERROR> --> Job cancelled, killing process
2015-11-13T21:17:16 MCEBuddy.AppWrapper.Handbrake --> Encoding: task 1 of 1, 9.04 % (0.14 fps, avg 0.64 fps, ETA 44h07m38s)
--> Process exited with code -1
WARNING> 2015-11-13T21:17:17 MCEBuddy.AppWrapper.Handbrake --> Handbrake failed, non 0 return code
ERROR> 2015-11-13T21:17:17 MCEBuddy.Transcode.ConvertWithHandbrake --> Handbrake conversion failed
2015-11-13T21:17:17 MCEBuddy.Transcode.ConvertWithHandbrake --> Conversion: Percentage Complete 9.04
2015-11-13T21:17:17 MCEBuddy.Transcode.ConvertWithHandbrake --> Original file size [KB] 4,687,841.00
2015-11-13T21:17:17 MCEBuddy.Transcode.ConvertWithHandbrake --> Finished video conversion, file size [KB] 58,878.00
ERROR> 2015-11-13T21:17:17 MCEBuddy.Transcode.ConvertWithHandbrake --> Conversion of video failed
ERROR> 2015-11-13T21:17:17 MCEBuddy.Transcode.Convert --> Handbrake did not convert successfully, using fallback if configured
ERROR> 2015-11-13T21:17:17 MCEBuddy.Transcode.Convert --> Unable to convert file The Walking Dead - s06e05 - Now.ts using profile MKV Normal Quality
ERROR> 2015-11-13T21:17:17 MCEBuddy.Engine.ConversionJob --> Conversion failed
INFORMATION> 2015-11-13T21:17:17 MCEBuddy.Engine.ConversionJob --> 
--> Performance Metrics for the Current Conversion
--> 

--> Source video duration (hh:mm:ss) -> 01:04:01
--> Source video codec -> mpeg2video
--> Source video height -> 1080
--> Source video width -> 1920
--> Pre-conversion video duration (hh:mm:ss) -> 01:03:56
--> 

--> <Start At Date/Time>    <Duration (hh:mm:ss)>       <Activity>
--> <11/13/2015 16:04:51>   <00:00:00>      <Running custom commands>
--> <11/13/2015 16:04:51>   <00:00:13>      <Getting show information and banner from Internet sources>
--> <11/13/2015 16:05:05>   <00:00:00>      <Running custom commands>
--> <11/13/2015 16:05:05>   <00:00:18>      <Checking for disk space>
--> <11/13/2015 16:05:24>   <00:09:22>      <Remuxing recording>
--> <11/13/2015 16:14:46>   <00:00:34>      <Analyzing video information>
--> <11/13/2015 16:15:21>   <00:00:15>      <Trimming video recording>
--> <11/13/2015 16:15:36>   <00:00:00>      <Extracting closed captions>
--> <11/13/2015 16:15:37>   <00:33:01>      <Extracting closed captions>
--> <11/13/2015 16:48:38>   <00:00:00>      <Validating closed captions>
--> <11/13/2015 16:48:38>   <00:00:00>      <Running custom commands>
--> <11/13/2015 16:48:38>   <00:05:21>      <Analyzing video information>
--> <11/13/2015 16:53:59>   <04:23:17>      <Converting>
--> 

INFORMATION> --> Total time taken by conversion (hh:mm:ss) -> 05:12:25
Coordinator
Nov 14, 2015 at 5:54 PM
What's the issue. It looks like you cancelled the conversion.

Nov 15, 2015 at 1:45 PM
You're right!

My son must have killed the task when he logged me off rather than locked my Windows account.

Ran it again and success!!!

Thanks for your patience and assistance!!
Coordinator
Nov 1, 2016 at 9:38 PM
Quick note please use 2.4.6 BETA or newer version for TiVO Fast Transfer files. There is an issue with the older versions which will prevent them from being decoded.
Marked as answer by rboy1 on 11/1/2016 at 2:38 PM
Coordinator
Nov 16, 2016 at 10:33 PM
Also see this thread for TiVO and Windows 10 issue with TiVO Desktop filters creating an issue.

https://mcebuddy2x.codeplex.com/discussions/659424
Marked as answer by rboy1 on 11/16/2016 at 3:33 PM