For something like that you can make a custom encoding profile that calls a script which does the main encoding and calls ffmpeg a 2nd time within the script to do the trimming. i.e. The custom encoding profile can be a script as well, it doesn't have to be a call to ffmpeg or handbrake.

FYI, I realized that handbrakecli has arguments to let you trim the beginning and ending in the same command that does the encoding. SO EASY.

Nearly every show I'm trying to transfer recently results in a "missing CR" error. What causes this error?
/download/Untold%20History%20of%20the%20United%20States.TiVo?Container =%2FNowPlaying&id=1126944&Format=video/x-tivo-mpeg-ts: missing CR

I'm using v1p0c.

Post the full log entry since it's not clear what download mode you are using. From what you posted I see that you do have TS transfers turned on. "Missing CR" I would assume means "Missing Carriage Return" which would seem to imply a script is being used which implies perhaps you have combined download/decrypt option turned on as well as TS transfers. But I need more info:
What download mode are you using exactly? (Post the complete message window log contents associated with downloads will make that clear)
What OS?

Post the full log entry since it's not clear what download mode you are using. From what you posted I see that you do have TS transfers turned on. "Missing CR" I would assume means "Missing Carriage Return" which would seem to imply a script is being used which implies perhaps you have combined download/decrypt option turned on as well as TS transfers. But I need more info:
What download mode are you using exactly? (Post the complete message window log contents associated with downloads will make that clear)
What OS?

Untold History of the United States - Bush & Obama: Age of Terror
Recorded Mon 01/14/2013 08:00 PM on 866=SHOWHDP, Duration=56 mins, EpisodeNumber=110, originalAirDate=2013-01-14
>> CREATING d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo.txt ...
https://192.168.1.10:443/TiVoVideoDetails?id=1128158
metadata job completed: 0:00:01
---DONE--- job=javametadata output=d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo.txt
SKIPPING METADATA GENERATION, FILE ALREADY EXISTS: d:\TivoFiles\MPEG\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .mpg.txt
SKIPPING METADATA GENERATION, FILE ALREADY EXISTS: e:\TivoFiles\Cut\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .mpg.txt
SKIPPING METADATA GENERATION, FILE ALREADY EXISTS: e:\TivoFiles\Encoded\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .mp4.txt
>> RUNNING AUTOTUNE FOR TiVo: EliteLR
autotune job completed: 0:00:06
---DONE--- job=autotune TiVo=EliteLR
>> DOWNLOADING d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo ...
http://192.168.1.10:80/download/Untold%20History%20of%20the%20United%20States.TiVo?Container=%2FNowPlaying&id=1128158&Format=video/x-tivo-mpeg-ts
http://192.168.1.10:80/download/Untold%20History%20of%20the%20United%20States.TiVo?Container=%2FNowPlaying&id=1128158&Format=video/x-tivo-mpeg-ts: missing CR
d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo: size=990.08 MB elapsed=0:02:01 (68.64 Mbps)
Download failed to file: d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo
(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo: Download attempt # 2 scheduled in 10 seconds.
>> DOWNLOADING d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo ...
http://192.168.1.10:80/download/Untold%20History%20of%20the%20United%20States.TiVo?Container=%2FNowPlaying&id=1128158&Format=video/x-tivo-mpeg-ts
http://192.168.1.10:80/download/Untold%20History%20of%20the%20United%20States.TiVo?Container=%2FNowPlaying&id=1128158&Format=video/x-tivo-mpeg-ts: missing CR
d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo: size=4326.48 MB elapsed=0:09:28 (63.90 Mbps)
Download failed to file: d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo
(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo: Download attempt # 3 scheduled in 10 seconds.
>> DOWNLOADING d:\TivoFiles\Raw\Untold History of the United States\(EP110)-Bush and Obama Age of Terror (2013-01-14) .TiVo ...
http://192.168.1.10:80/download/Untold%20History%20of%20the%20United%20States.TiVo?Container=%2FNowPlaying&id=1128158&Format=video/x-tivo-mpeg-ts

If I try curl, I get "curl: (56) Received problem 3 in the chunky parser" errors.

Is it just certain/same shows doing this or all of them you try? Try downloading one that is failing using your browser instead of kmttg to see what happens. You can copy the URL from kmttg message window. When prompted the login is "tivo" and password is your 10 digit MAK. If that still fails then something funky going on with TiVo web server for those shows.

Interesting. I tried several other shows.
CBS, TNT, and USA work.
Discovery and Showtime always fail.

You should try the failing ones with a web browser just to confirm they fail there too. I'm surprised Showtime shows are not CCI protected and allow you to download in the 1st place. Maybe the shows are CCI protected but just not marked that way in metadata which may explain why they fail to download. What provider are you with?

I'd rather not say. They might CCI them.
I tried one from the browser and it failed.

OK, so you have a hacked series 3 unit by sound of it. Makes sense the browser fails too since it's same download mechanism. Guess if you do have a hacked unit you can probably use tytools or such to download instead and that would probably work.

Because you stated "they might CC1 them". I *think* he interpreted that to mean that you didn't know whether or not the CC1 byte was set rather than the explanation of why you didn't want to reveal your provider. Do you honestly think that someone at Verizon will read this thread and say "Oh crap, we need to copy protect Showtime."?

Quote:

Originally Posted by HookdOnTivonics

I don't have a hacked series 3. This is happening from an original, unhacked 4 tuner elite.
If you *must* know the provider, it's FIOS.

Verizon FIOS reportedly has moved some channels in some localities to MPEG4. Any chance that this is the problem?

I compiled it for mac and it works fine to decode TS. That's the only reason I started working with KMTTG again. Everything was on hold until I could finally download at a reasonable speed.

Maybe you just got lucky then, because when I tried that one it still had issues on several test TS .TiVo clips I have. In some cases it works, some cases it won't decrypt anything and throws an error, some cases it seemingly decrypts successfully until you go watch the decrypted TS file and notice heavy macroblocking in spurts due to improperly decrypted segments. (That wasn't actually new code that was posted either, it was code from a couple of years back that never got formally released because there are still issues with it).

Because you stated "they might CC1 them". I *think* he interpreted that to mean that you didn't know whether or not the CC1 byte was set rather than the explanation of why you didn't want to reveal your provider. Do you honestly think that someone at Verizon will read this thread and say "Oh crap, we need to copy protect Showtime."?

I don't think its out of the realm of possibilities that media companies (Showtime, HBO, etc.) have web scrapers looking for potential copyright violations and/or ways to transfer their shows to other devices. Up until several months ago, HBO didn't have the CCI flag on FIOS.

Quote:

Verizon FIOS reportedly has moved some channels in some localities to MPEG4. Any chance that this is the problem?

I don't know if they have done that for these 2 channels.

Quote:

You might also want to try turning off the "Combine download" option.

I thought that only affected tivodecode and only if the decode box was checked.

Thank you for your great efforts. I'm a long time TiVo user but just now trying KMTTG. My system is 64-bit Windows Vista Home Premium, and kmttg_v1p0c.zip was downloaded and extracted to C:\kmttg , I installed 32-bit Java 7u25, assigned javaw.exe in the x86 program files to execute ".jar" files. When double-clicking the kmttg.jar file nothing happened other than a brief rotating circle beside the cursor, I also installed the 32-bit java runtime environment (i.e., jre-7-windows-i586-iftw.exe at javase downloads java-se-jre-7-download-432155.html) and reassigned the javaw.exe file in the jre1.7.0/bin folder to execute ".jar" files. Again, nothing occurs other than a brief rotating circle beside the cursor.

Basically, I am at a standstill. It seems I've followed all instructions but can't get the kmttg.jar file to do anything. Any ideas?

Thank you for your great efforts. I'm a long time TiVo user but just now trying KMTTG. My system is 64-bit Windows Vista Home Premium, and kmttg_v1p0c.zip was downloaded and extracted to C:\kmttg , I installed 32-bit Java 7u25, assigned javaw.exe in the x86 program files to execute ".jar" files. When double-clicking the kmttg.jar file nothing happened other than a brief rotating circle beside the cursor, I also installed the 32-bit java runtime environment (i.e., jre-7-windows-i586-iftw.exe at javase downloads java-se-jre-7-download-432155.html) and reassigned the javaw.exe file in the jre1.7.0/bin folder to execute ".jar" files. Again, nothing occurs other than a brief rotating circle beside the cursor.

Basically, I am at a standstill. It seems I've followed all instructions but can't get the kmttg.jar file to do anything. Any ideas?

Best regards!

I can tell you it does run on Vista 64 as that is what my main laptop is still running and I use all the time. Probably easiest way try running it and see any error messages is doing the following:
From Start menu choose "Run..." and then type "cmd" (without the quotes) to get a command prompt, then execute the following 2 commands:
cd c:\kmttg
java -jar kmttg.jar

I would expect you should see some kind of error printed to the screen at which point please cut and paste the error here if it's not clear what the problem is.

For "normal" JRE installations it normally takes care of associating jar files to javaw.exe as well as adding java to your path, so sounds like you may not have a "normal" Java install. You will need to substitute "java" in the command above with full path to "java.exe" or "javaw.exe" in your installation. i.e. something like:
"c:\Program Files (x86)\Java\jre7\bin\java.exe" -jar kmttg.jar

Maybe you just got lucky then, because when I tried that one it still had issues on several test TS .TiVo clips I have. In some cases it works, some cases it won't decrypt anything and throws an error, some cases it seemingly decrypts successfully until you go watch the decrypted TS file and notice heavy macroblocking in spurts due to improperly decrypted segments. (That wasn't actually new code that was posted either, it was code from a couple of years back that never got formally released because there are still issues with it).

0.4.4? Odd. Are you sure you're not thinking of 0.3pre6 from March?

I've had no graphics problems at all. I've had sound screw up on 4 out of dozens and dozens of shows, but haven't figured out a pattern or tried to test to see if turning TS off would help those.

This is a VERY VERY VERY minor issue, and not even really a bug.. But I do notice it.

Since downloads from Premiere 4s are "so fast" (compared to my TivoHD, they are), the "go into second by second countdown when it is under 5 minutes to go" actually means it's doing second by second countdown the MAJORITY of the time, since an hour long SD show (yeah, I record virtually all SD) takes about 7-8 minutes to download.

So maybe it should switch to second by second in the last 10% or something (I know the % isn't really accurate, and somewhere near the end, it just finishes without actually getting to 100%).

I'm completely new to kmttg.
I put kmttg on my Mac and was checking out it's features for a few minutes and then I left that and picked up my peanut remote to check something on my Premiere and it didn't work. The Tivo was reset to remote code 0 and then an entire folder of 31 recordings was deleted.
Is kmttg to blame or is it just coincidence?

__________________discipuli nostrum bardissimi sunt.
- Assuming based on evidence is not the same as knowing.
- If you want to argue with me at least use some actual facts instead of making it up.