TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 04-01-2009, 11:36 PM   #541
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
I've been using the KMTTG on my Mac for several months, and I've recently decided to start using the "Auto Transfer" feature.

When using this feature, I've noticed that it leaves the mp4 extension off the final encoded files. It leaves the period, but truncates the mp4. "Lie to Me." This ONLY happens with Auto Transfers, and not with shows that I manually download.

Has anyone seen this? Are there any hints on solving this?
AudioNutz is offline   Reply With Quote
Old 04-01-2009, 11:45 PM   #542
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by qtip96 View Post
Hey thanks for the help -- everything is being downloaded, decoded, and run through VideoRedo with no problems. The only thing left is the encoding and its running into an error:

Thu 3/26/2009 08:31 AM *ERROR* Encoding command not found/executable:


I created a new ffmpeg encoding profile and it works fine from the GUI. I've quit and started kmttg up again with the same results. Any thoughts?
It seems that someone else is seeing this error... Hmmm... I'm running in GUI mode though.

EDIT: I'm also getting missing information in the file name of the metadata. Instead of "Lie to Me.mp4.txt" it's "Lie to Me..txt".

Last edited by AudioNutz : 04-02-2009 at 01:41 AM.
AudioNutz is offline   Reply With Quote
Old 04-02-2009, 10:22 AM   #543
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
AudioNutz, which version are you using? If you switched to 0.5k and are using a built in encoding profile did you update the auto configuration to fix the encode names? (names changed in 0.5k)
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-02-2009, 11:52 AM   #544
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by moyekj View Post
AudioNutz, which version are you using? If you switched to 0.5k and are using a built in encoding profile did you update the auto configuration to fix the encode names? (names changed in 0.5k)
First, I was using 0.5h when I first noticed this issue. I thought I would be clever, and I upgraded to 0.5k, but I observed the same problem. I too assumed that an update might/could help. However, since it did not, I reverted back to 0.5h.

Second, since I'm using a different encode profile than any of your provided profiles, I didn't need to update the auto configuration, but it certainly was one of the things that I checked, since it made the most sense.

THEN... I started poking around, and remembered that kmttg was VERY particular about the names of the encode profiles. (No spaces) I also noticed that all of your provided profiles are all lower case. Upper vs. Lower case has not been a problem in the past. I have always used a profile that had mixed upper/lower case in it, but... I thought I would switch to all lower-case in the encode profile name, and give it a shot.

This has helped on one computer, but not the other.

When I thought I had it solved on both, so I switched to the "Background" option instead of the GUI. (The "Run in GUI" doesn't seem to look for new shows at the "Check TiVos at Interval" unless you actually force it to by clicking "Run in GUI". This defeats the purpose of automation)

So... I've got one working, and one with a background process that's jammed hard. Since I have no idea what the (UNIX) "Process Name" is to kill it, I'm waiting for an opportunity for a Re-Start this particular machine. Since this machine is the file server for my entire house I'll need to wait until the 1st machine is done with its processing.

Questions:
1. You wouldn't happen to know the name of the process that these background auto transfers use, would you?
2. You wouldn't happen to know how to make "Run in GUI" actually check at the 10min interval, or whatever you set it to?
AudioNutz is offline   Reply With Quote
Old 04-02-2009, 12:05 PM   #545
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
qtip96: Does the name of your encoding profile have capital letters in it?
AudioNutz is offline   Reply With Quote
Old 04-02-2009, 12:33 PM   #546
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
Quote:
Originally Posted by AudioNutz View Post
First, I was using 0.5h when I first noticed this issue. I thought I would be clever, and I upgraded to 0.5k, but I observed the same problem. I too assumed that an update might/could help. However, since it did not, I reverted back to 0.5h.

Second, since I'm using a different encode profile than any of your provided profiles, I didn't need to update the auto configuration, but it certainly was one of the things that I checked, since it made the most sense.

THEN... I started poking around, and remembered that kmttg was VERY particular about the names of the encode profiles. (No spaces) I also noticed that all of your provided profiles are all lower case. Upper vs. Lower case has not been a problem in the past. I have always used a profile that had mixed upper/lower case in it, but... I thought I would switch to all lower-case in the encode profile name, and give it a shot.

This has helped on one computer, but not the other.

When I thought I had it solved on both, so I switched to the "Background" option instead of the GUI. (The "Run in GUI" doesn't seem to look for new shows at the "Check TiVos at Interval" unless you actually force it to by clicking "Run in GUI". This defeats the purpose of automation)

So... I've got one working, and one with a background process that's jammed hard. Since I have no idea what the (UNIX) "Process Name" is to kill it, I'm waiting for an opportunity for a Re-Start this particular machine. Since this machine is the file server for my entire house I'll need to wait until the 1st machine is done with its processing.

Questions:
1. You wouldn't happen to know the name of the process that these background auto transfers use, would you?
2. You wouldn't happen to know how to make "Run in GUI" actually check at the 10min interval, or whatever you set it to?
Spaces in profile names would definitely be a problem. Upper or lower or mixed case should not matter at all, but if you do that you have to be careful that the exact case is consistent wherever you use it. (i.e. case sensitivity does matter in perl). Ultimately the file that matters for auto transfer configuration is the "auto.ini" file. So you should double check the names saved in that file.
To your other questions:
1. Background auto transfers run as "perl kmttg.pl -a". You shoud be able to kill it by starting kmttg in GUI mode on the appropriate machine and selecting Auto Transfers->Background Job->Disable
2. Auto Transfers -> Run in GUI was a request by a user a while back to just have an easy way to test auto transfer setup while in GUI (which is easier than debugging problems in background mode). There really is not an easy way to set it to loop at user specified interval in GUI mode and that could be confusing/annoying if you are trying to do something else with the GUI in the interim. So while conceivably it would be possible I'm not inclined to do it.

If there is an issue with background auto transfers then that really needs to be debugged and fixed. However since you mention it seems to be working on one machine and not another I would lean towards a config issue of some sort on the one that's not working.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-02-2009, 01:08 PM   #547
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by moyekj View Post
Spaces in profile names would definitely be a problem. Upper or lower or mixed case should not matter at all, but if you do that you have to be careful that the exact case is consistent wherever you use it. (i.e. case sensitivity does matter in perl). Ultimately the file that matters for auto transfer configuration is the "auto.ini" file. So you should double check the names saved in that file.
This makes total sense now. If you look at the auto.ini file that is generated by the GUI, I notice that it always generates everything in lower case, EVEN IF you type it in upper/lower, and EVEN IF you have your profile named with upper/lower. I'll just switch to all lower case, and it solves this issue. Otherwise, I would have had to edit the auto.ini file manually every time I edited it, to put the upper case characters back in... Not worth it...



Quote:
Originally Posted by moyekj View Post
1. Background auto transfers run as "perl kmttg.pl -a". You shoud be able to kill it by starting kmttg in GUI mode on the appropriate machine and selecting Auto Transfers->Background Job->Disable...
Yeah, I tried that first. No luck. I can "Enable" the background processes to begin with the GUI menu option, but I can't stop them that way. One other thing: If I have the background processes going, and I select the menu option for "Enable" once again, it tried to begin the automatic transfers again, gives me errors about too many downloads already happening etc... And then it completely HOSES everything. I think this is why I needed the re-start, however knowing the name of the process that I need to kill might have helped me out of this without the re-start. As you know, this MAY be due to the fact that I'm running this in the Mac environment. Maybe we've found the ONE thing that doesn't work on a Mac.


Quote:
Originally Posted by moyekj View Post
2. Auto Transfers -> Run in GUI was a request by a user a while back to just have an easy way to test auto transfer setup while in GUI (which is easier than debugging problems in background mode). There really is not an easy way to set it to loop at user specified interval in GUI mode and that could be confusing/annoying if you are trying to do something else with the GUI in the interim. So while conceivably it would be possible I'm not inclined to do it...
Gotcha! I agree that it does help with the de-bugging. I'm switching to the full background mode as soon as I can get the little bugs worked out.


Quote:
Originally Posted by moyekj View Post
...If there is an issue with background auto transfers then that really needs to be debugged and fixed. However since you mention it seems to be working on one machine and not another I would lean towards a config issue of some sort on the one that's not working...
After my re-start, I noticed that I had one machine running 0.5h and the other on 0.5k. (The 0.5h was the server, which was the one that was not working) I switched the server to 0.5k, and then did a test run in GUI mode after the restart. This seemed to work fine, so I killed all of these, and switched to background mode. It seems to be working correctly for now, but I'm going to watch it closely for a few days.

I'm betting that either 1) I hosed myself by "Enabling" the background process twice. or 2) There's something in 0.5k that is helping this process work better than 0.5h.

Quote:
Originally Posted by moyekj View Post
1. Background auto transfers run as "perl kmttg.pl -a"...
Hmmm... I see "perl" as a running process on my Macs, but not "perl kmttg.pl -a". The next time I get hosed up I'll try killing this process. I did try this when I was hosed up earlier, but there were three of them running. (I'm guessing because of my multiple "Enable") Killing all three of these completely locked up the machine.

Or... Maybe I'll try a "perl kmttg.pl -x" argument in an X11 or Terminal window...
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-02-2009, 01:24 PM   #548
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
Quote:
Originally Posted by AudioNutz View Post
Hmmm... I see "perl" as a running process on my Macs, but not "perl kmttg.pl -a". The next time I get hosed up I'll try killing this process. I did try this when I was hosed up earlier, but there were three of them running. (I'm guessing because of my multiple "Enable") Killing all three of these completely locked up the machine.

Or... Maybe I'll try a "perl kmttg.pl -x" argument in an X11 or Terminal window...
Don't know how you are checking for running processes but depending how you do it you will only see the main executable. So "perl" is the main executable and "kmttg.pl -a" are the arguments to it.
On unix systems "ps -ef" or for other flavors "ps -auxww" show you processes plus command line arguments, don't know about Macs specifically.
(NOTE: Probably a typo but -x argument doesn't mean anything to kmttg. I think you meant -a right?)
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-02-2009, 04:23 PM   #549
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by moyekj View Post
Don't know how you are checking for running processes but depending how you do it you will only see the main executable. So "perl" is the main executable and "kmttg.pl -a" are the arguments to it...
I usually use the "Activity Monitor". It looks similar to the "Task Manager" on a PeeeCeee if you look at the "Processes" tab and the "Performance" tab at the same time.





Quote:
Originally Posted by moyekj View Post
...On unix systems "ps -ef" or for other flavors "ps -auxww" show you processes plus command line arguments, don't know about Macs specifically...
I'll try that. I'll admit that like most Mac users I'm like the guy on the right in the Apple commercials, and I just sorta expect stuff to work, without getting into the command-line interface too much.


Quote:
Originally Posted by moyekj View Post
(NOTE: Probably a typo but -x argument doesn't mean anything to kmttg. I think you meant -a right?)
Actually, no, I meant that. I thought that -a was the command line to start the process, and I looked in your perl application, and I noticed where a -x argument was meaning "Exit". I put one and one together and arrived at that assumption. (I got this working on my Macs by doing a bunch of assumptions.)

Sooo... I'll ask...
Is the -a argument a switch to turn the automatic processing on and off?

By the way.. THANK YOU for building this wonderful tool. I don't know how I lived without it. (I was using VisualHub before)
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-02-2009, 04:28 PM   #550
MikeAndrews
Registered abuser
 
MikeAndrews's Avatar
 
Join Date: Jan 2002
Location: Northern Illinois (Dn Nr WI)
Posts: 11,891
Quote:
Originally Posted by AudioNutz View Post
I usually use the "Activity Monitor". It looks similar to the "Task Manager" on a PeeeCeee if you look at the "Processes" tab and the "Performance" tab at the same time.
...
I use top, but them I spoke Unix shell long before I bought a Mac - because it had a Unix shell I coudl put to good use if I hated everything else. I didn't hate everything else - well I hate some stuff like some aspects of networking setup ....

I never got GUI-impaired.
__________________
1) Series 4 Premiere - Lifetime
2) Series 3 OLED - Lifetime.
2) Series 2 DT 500GB
Mac Mini NAS with 9 7 x 2TB drives.
UVerse and OTA

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MikeAndrews is offline   Reply With Quote
Old 04-02-2009, 04:33 PM   #551
MikeAndrews
Registered abuser
 
MikeAndrews's Avatar
 
Join Date: Jan 2002
Location: Northern Illinois (Dn Nr WI)
Posts: 11,891
I'm putting shows in thier own directory which works great, execept it screws up when I have shows on auto-transfer. It will auto transfer existing shows if they're not duplicated in the default directory.

On windows, I tried putting shortcuts but that didn't work. On a Mac, Unix, or Linux it could be solved with a hard or soft link in the base directory.

I could put in an empty file named the same, but those would make the a player go boom if I ever tried to play the wrong version.

How about support for a unique destination folder on each auto-transfer?
__________________
1) Series 4 Premiere - Lifetime
2) Series 3 OLED - Lifetime.
2) Series 2 DT 500GB
Mac Mini NAS with 9 7 x 2TB drives.
UVerse and OTA

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
MikeAndrews is offline   Reply With Quote
Old 04-02-2009, 04:33 PM   #552
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
AudioNutz, the only command line arguments supported are -h, -b, -a, -d
-h => Print help and exit
-b => Batch mode (no GUI) and perform a single auto download loop and then exit
-a => Batch mode (no GUI) and perform repeated auto downloads in a loop (using interval specified by check_tivos_interval in auto.ini) without exiting
-d => Spit out some verbose debugging information
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-02-2009, 04:43 PM   #553
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
Quote:
Originally Posted by netringer View Post
I'm putting shows in thier own directory which works great, execept it screws up when I have shows on auto-transfer. It will auto transfer existing shows if they're not duplicated in the default directory.

On windows, I tried putting shortcuts but that didn't work. On a Mac, Unix, or Linux it could be solved with a hard or soft link in the base directory.

I could put in an empty file named the same, but those would make the a player go boom if I ever tried to play the wrong version.

How about support for a unique destination folder on each auto-transfer?
Are you running auto transfer from GUI or in batch mode? In batch mode each time a successful auto download happens kmttg is supposed to add an entry to auto.history file with programId of the program to prevent it from auto processing the same show over and over. If running from auto transfer from GUI, then the auto.history file is only updated if it exists in the first place. So if you are always running from GUI then just create an empty auto.history file and then that file will get updated as you auto download.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by moyekj : 04-02-2009 at 05:59 PM.
moyekj is offline   Reply With Quote
Old 04-02-2009, 05:41 PM   #554
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by moyekj View Post
AudioNutz, the only command line arguments supported are -h, -b, -a, -d
-h => Print help and exit
-b => Batch mode (no GUI) and perform a single auto download loop and then exit
-a => Batch mode (no GUI) and perform repeated auto downloads in a loop (using interval specified by check_tivos_interval in auto.ini) without exiting
-d => Spit out some verbose debugging information
Got it. That's why I can't kill the process unless I do it in the Activity Monitor. Now that I've got things sorted, it does allow me to quit these processes without re-starting the machine.
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-03-2009, 11:27 AM   #555
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by moyekj View Post
...Auto Transfers -> Run in GUI was a request by a user a while back to just have an easy way to test auto transfer setup while in GUI (which is easier than debugging problems in background mode). There really is not an easy way to set it to loop at user specified interval in GUI mode and that could be confusing/annoying if you are trying to do something else with the GUI in the interim. So while conceivably it would be possible I'm not inclined to do it...
After running in background mode for a couple of days now, I now see why I wanted to run it in the GUI. It sure would be nice to have the ability to actually see what's being processed. What if the GUI had the ability to monitor what was happening in the background auto processing?


It might not help me in my particular case, since I'm running KMTTG on two different machines, so I'm thinking of writing a little Xcode application to monitor the log files on the two machines, (One for each TiVo) and give me a status report in a little application window on my laptop (or SmartPhone) or any other machine in the house.

Then I would never need to look at the screens of these two machines via ARD...
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-06-2009, 11:24 AM   #556
fyodor
Registered User
 
Join Date: Sep 2006
Posts: 438
Handbrake Encode Times

Hi

I was wondering what type of encode times people were seeing with handbrake. I've found that it takes at least 5 times as long as FFMPEG for comparable bitrates. I've been trying handbrake encodes using the parameters listed on the streambaby compatibility page. Converting a three minute movie clip takes at least forty minutes on a 2.5 ghz pentium dual core processor. Is this typical?
fyodor is offline   Reply With Quote
Old 04-06-2009, 12:11 PM   #557
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
fyodor that hanbrakeCLI recipe that you see in that wiki page I posted there yesterday after some feedback in streambaby thread. Two things with that recipe that make it slower to begin with:
* It's setup as 2 pass encoding (-2 argument)
* It will re-encode audio (though that should not be that much overhead)
Note that immediately above the handbrake recipe given in the wiki page is a roughly equivalent (for video) ffmpeg recipe that is 1 pass and simply copies audio, so that should run much quicker and give comparable results. I think in general ffmpeg is a faster encoder than handbrakeCLI so I would tend to stick with it over handbrake if you have a choice.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-06-2009, 12:39 PM   #558
Yoav
Registered User
 
Join Date: Jan 2007
Posts: 1,048
Quote:
Originally Posted by moyekj View Post
I think in general ffmpeg is a faster encoder than handbrakeCLI so I would tend to stick with it over handbrake if you have a choice.
I just want to correct this meme that is being circulated and repeated.

ffmpeg is using the EXACT same code for encoding h.264 (which is what we're talking about). It's libx264 from the videolan project (the guys who make vlc). Therefore, unless it's compiled with better optimization options, it will not run any faster or slower.

IF you're seeing differences in speed between mencoder, handbrake and ffmpeg, it's because you're using different options to the encoding (like 2-pass, larger blocks, more reference frames, etc -- all those have a HUGE effect on the time). Or it is because 'reading, rescaling, anti-aliasing, changing frame-rate, etc' is done. Each of these programs use a different method to achieve those (although none of those account for major performance differences).

In the old days, ffmpeg had a faster mpeg-2 and mpeg-4 encoder, until projects like mplayer switched to using ffmpeg's encoder (Handbrake doesn't support those encoding outputs). That's when the general opinion that 'ffmpeg is faster at everything' started.

ffmpeg can also be faster because people are accidentally using the 'mpeg-4' encoder instead of h.264 encoder, and thinking that it's the same thing (it's a lower-quality encoder that also spits out an .mp4 file, so people get confused).

Ok rant over sorry...
__________________
Don't pay for Tivo Desktop / Roxio on the mac:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Yoav is offline   Reply With Quote
Old 04-06-2009, 01:05 PM   #559
fyodor
Registered User
 
Join Date: Sep 2006
Posts: 438
I guess that I've generally not been thrilled with the video quality I've gotten with FFMPEG. The handbrake encodes (and the Mencoder encodes that I did back in my SageTV days) seemed to deliver much better quality for the same bitrate. That being said, it's been a long time since I've use FFMPEG, so I'll give the command lines you suggested a shot. Thanks for the advice.

Quote:
Originally Posted by moyekj View Post
fyodor that hanbrakeCLI recipe that you see in that wiki page I posted there yesterday after some feedback in streambaby thread. Two things with that recipe that make it slower to begin with:
* It's setup as 2 pass encoding (-2 argument)
* It will re-encode audio (though that should not be that much overhead)
Note that immediately above the handbrake recipe given in the wiki page is a roughly equivalent (for video) ffmpeg recipe that is 1 pass and simply copies audio, so that should run much quicker and give comparable results. I think in general ffmpeg is a faster encoder than handbrakeCLI so I would tend to stick with it over handbrake if you have a choice.

fyodor is offline   Reply With Quote
Old 04-06-2009, 01:31 PM   #560
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
As Yoav mentioned ultimately ffmpeg, mencoder & handbrakeCLI all use libx264 for encoding, so given the same encoding setup you should get comparable results for all of them. The difficulty of course is since each uses different command line options it's sometimes difficult to setup identical encodings so that you can compare encoding time, quality, etc. From the wiki post the ffmpeg command you would setup in kmttg .enc file is:
Code:
FFMPEG -y -i INPUT -vcodec libx264 -b 2000k -refs 3 -flags2 +mixed_refs+wpred+bpyramid+dct8x8-fastpskip -bf 3 -me_method umh -subq 9 -g 24 -keyint_min 2 -acodec copy -f mp4 OUTPUT
The roughly equivalent one using handbrake is (except this re-encodes audio as well where ffmpeg is doing an audio copy):
Code:
HANDBRAKE -i INPUT -f mp4 -O -p -e x264 -b 2000 -a 1 -E ac3 -B 160 -R 0 -6 dpl2 -D 1 -s 1 -x ref=3:mixed-refs=1:bframes=3:weightb=1:direct=auto:b-pyramid=1:me=umh:subq=9:analyse=all:8x8dct=1:no-fast-pskip=1:psy-rd=1,0.2:keyint=24:min-keyint=2:no-dct-decimate=1 -v -o OUTPUT
(And of course in both cases you can adjust -b argument to control desired video bit rate)
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-08-2009, 07:34 PM   #561
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Kevin,
I'm thinking about throwing together a little application that monitors the KMTTG "Auto Transfers" for Macs. (Maybe even an iPhone widget) I know the "auto.log" file is a good source to monitor information about what is happening, but I have two questions:
  1. Is there a command line argument that makes this logging more verbose, to get more information about what is "Currently" happening? (Or just more information) I tried the "perl kmttg.pl -a -v" type of argument, but it doesn't appear to give me any more information in the log.
  2. Are there any other logs that tell me what is going on with the Perl script itself?

Right now I'm simply using SSH to monitor two different instances of the auto.log file, but I'm looking at making something more elegant for Mac users that want to know what is happening... (This will be helpful for me, since I'm running this on a Mac server platform.)
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-09-2009, 12:29 AM   #562
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 8,986
adding -d argument to kmttg.pl will print a bunch of debugging info to stdout which you can re-direct to a file for monitoring (i.e. "perl kmttg.pl -a -d >/some/log/file") , but I'm not sure how useful that information would be as it's very verbose during some actions and not much so during others, plus there is no time-stamping for that output. (It focuses on areas where I may have had trouble with in the past).
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 04-14-2009, 12:15 PM   #563
starmanj
Registered User
 
Join Date: Aug 2007
Posts: 27
Is there a way to have KMTTG maintain delete old transfers to make room for new transfers?

I use KMTTG to fetch all new episodes of a series, but it fills up my hard drive so requires me to routinely delete old shows. It would be great to place all episodes in a folder that only allows, say, 5 episodes before it deletes older transfers...

Thanks!
starmanj is offline   Reply With Quote
Old 04-14-2009, 12:23 PM   #564
qtip96
Registered User
 
Join Date: Jan 2009
Posts: 24
Quote:
Originally Posted by moyekj View Post
I'll have to check when I get a chance (been very busy with paying job lately) but it's possibly a bug in kmttg in service mode.
Interesting though that you mention you actually got VideoRedo running in service mode? I and others haven't been able to do that.

EDIT: Didn't see anything obviously wrong in the code and I just confirmed running as a service including encoding worked fine. When you execute Auto Transfers->Run in GUI does the encoding part work?
Yes, I tried this but it errors out when it starts to encode. I am able to encode manually though.
qtip96 is offline   Reply With Quote
Old 04-14-2009, 01:33 PM   #565
qtip96
Registered User
 
Join Date: Jan 2009
Posts: 24
Quote:
Originally Posted by AudioNutz View Post
qtip96: Does the name of your encoding profile have capital letters in it?
I used a default profile and then create my own with upper and lowercase -- still see the error. I am now attempting to run one in service mode with a default ff_ipod profile all lowercase.
qtip96 is offline   Reply With Quote
Old 04-14-2009, 01:58 PM   #566
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by starmanj View Post
Is there a way to have KMTTG maintain delete old transfers to make room for new transfers?

I use KMTTG to fetch all new episodes of a series, but it fills up my hard drive so requires me to routinely delete old shows. It would be great to place all episodes in a folder that only allows, say, 5 episodes before it deletes older transfers...
Are you running it on a Mac, or a PeeeCeee? If it's a Mac, then a Folder Action script would be a good solution. Maybe there's an equivalent automation tool on PeeeCeee, like a "Scheduled Task"...

I currently have a bunch of folder actions happening on my setup right now:
1. Edits Metadata, to take "episodeTitle" line out, and add it to the "title" line in the txt file. (to get around pyTiVo bug)
2. Re-names the MetaData file, to end with "_cut.mpg.txt" instead of "mp4.txt". (so I can pop the file back to my TiVo, for viewing without commercials.)
3. Moves the MetaData file to the "comcut" directory. (same reason as #2)
4. Waits for the mp4 file to be finished writing, then zip's it, scrambles the name, then moves it to a directory of my XServe that is shared via FTP. (I can't access my file server from my office LAN when I travel, except for FTP protocol, and I also don't want the names of these TiVo shows showing up in the PIX logs if I get audited at the office...)

Now I'm working on one that gets status of the two instances of kmttg that I have installed, and deliveres it to me via ssh while I'm traveling.
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-14-2009, 02:12 PM   #567
AudioNutz
Registered User
 
Join Date: Nov 2008
Posts: 289
Quote:
Originally Posted by qtip96 View Post
I used a default profile and then create my own with upper and lowercase -- still see the error. I am now attempting to run one in service mode with a default ff_ipod profile all lowercase.
Switch the name of your encoding profile to all lower case.
__________________
I am the Stig
AudioNutz is offline   Reply With Quote
Old 04-14-2009, 06:34 PM   #568
starmanj
Registered User
 
Join Date: Aug 2007
Posts: 27
PeeeCeee. Not good enough at MSDOS scripting to figure this one out (if DOS scripts are even capable of doing this).
starmanj is offline   Reply With Quote
Old 04-17-2009, 06:44 AM   #569
qtip96
Registered User
 
Join Date: Jan 2009
Posts: 24
Quote:
Originally Posted by AudioNutz View Post
Switch the name of your encoding profile to all lower case.
That's exactly what it was! I switched it back to lower and upper case just to make sure I could replicate and sure enough it would error out. Hopefully this can make it in the documentation or FAQ.


Thanks for your help.
qtip96 is offline   Reply With Quote
Old 04-20-2009, 08:33 AM   #570
mcharkowski
Registered User
 
Join Date: Aug 2004
Location: Epping, NH
Posts: 47
This may be a question that's already been answered, but I've done some searches and haven't been able to find it...

Is there any way to get the encoder to include the metadata in the file for itunes compatibility, the way that Tivo Desktop does it? I much prefer the quality available with KMTTG, but I do miss having TV shows show up in iTunes with the show name, season number, description, etc. As it is now, they show up as movies.

I have been using the Handbrake encoder so far, though I'm testing with the ffmpeg encoder as I type this to see if it's any different in this regard.

Any ideas?
mcharkowski is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 04:05 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |