1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Jul 25, 2010 #2461 of 10411
    AgtScully

    AgtScully New Member

    10
    0
    May 26, 2009
    Operating System is Win7 Ult, 32bit.
    Using kmttg_v0p7l
    I’m having a problem with the kmttg window service running in the background.
    I can install it and start it using “Run as Admin”.
    It will run for maybe few seconds, then just stop.
    I checked the auto.log looking for an error message but all I see is “NOTE: SHUTTING DOWN”.
    I’ve tried entering my Windows login account in kmttg’s service properties but that didn’t work.
    I’ve uninstalled and then installed Java 6.21 but that didn’t work.
    The thing is the “Loop in Gui” runs just fine.
    Could someone help me figure out why the service would just stop?
    What other error log(s) should I check?

    Thank you.
     
  2. Jul 25, 2010 #2462 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    What else is showing in auto.log before SHUTTING DOWN message? i.e. post the full auto.log contents here.
    In case you haven't already consult auto_transfers Wiki page. It is important to run service using same account you run GUI with, and that account should have a password associated with it (not an empty password).
     
  3. Jul 25, 2010 #2463 of 10411
    AgtScully

    AgtScully New Member

    10
    0
    May 26, 2009
    Here is the portion of the log starting from when I stopped the "Loop in GUI" to when I started the "Loop in GUI" again.
    2010_07_25_10:51:48 >> Getting Now Playing List from Living Room ...
    2010_07_25_10:51:48 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie7161066429884466921.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL2045820330398492401.tmp
    2010_07_25_10:52:00 NOTE: NPL job completed: 00:00:12
    2010_07_25_10:52:00 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_10:52:01 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_10:52:01 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:00:27
    STARTING AUTO TRANSFERS
    2010_07_25_11:00:29 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:00:29 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie797808061402697279.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL207681046410517665.tmp
    2010_07_25_11:00:29 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:00:29 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie3223160777764373119.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL8010280648405871202.tmp
    2010_07_25_11:00:45 NOTE: NPL job completed: 00:00:16
    2010_07_25_11:00:45 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:00:45 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:00:45 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:00:47 NOTE: SHUTTING DOWN
    2010_07_25_11:09:58
    STARTING AUTO TRANSFERS
    2010_07_25_11:10:00 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:10:00 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie8903583512674821981.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL4898702959933730181.tmp
    2010_07_25_11:10:00 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:10:00 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie2996311862612848764.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL7198878098340369380.tmp
    2010_07_25_11:10:14 NOTE: NPL job completed: 00:00:14
    2010_07_25_11:10:14 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:10:14 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:10:14 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:11:32
    STARTING AUTO TRANSFERS
    2010_07_25_11:11:34 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:11:34 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie7203637158901779408.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL3659938114228769913.tmp
    2010_07_25_11:11:34 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:11:34 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie1547168458716804612.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL8418643983000236733.tmp
    2010_07_25_11:11:48 NOTE: NPL job completed: 00:00:14
    2010_07_25_11:11:48 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:11:48 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:11:48 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:11:50 NOTE: SHUTTING DOWN
    2010_07_25_11:13:25
    STARTING AUTO TRANSFERS
    2010_07_25_11:13:28 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:13:28 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6120062661362526130.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL1553052338487782408.tmp
    2010_07_25_11:13:28 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:13:28 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6806746882705123640.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL1758800851511916483.tmp
    2010_07_25_11:13:42 NOTE: NPL job completed: 00:00:14
    2010_07_25_11:13:42 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:13:42 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:13:42 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:14:19
    STARTING AUTO TRANSFERS
    2010_07_25_11:14:21 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:14:21 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6017890146851085060.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL4451660477367155521.tmp
    2010_07_25_11:14:21 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:14:21 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie7303019542165800040.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL3201221463647841369.tmp
    2010_07_25_11:14:37 NOTE: NPL job completed: 00:00:16
    2010_07_25_11:14:37 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:14:37 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:14:37 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:17:32
    STARTING AUTO TRANSFERS
    2010_07_25_11:17:35 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:17:35 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\dlj\AppData\Local\Temp\cookie4905678153182078393.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\dlj\AppData\Local\Temp\NPL3469656805547645927.tmp
    2010_07_25_11:17:35 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:17:35 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\dlj\AppData\Local\Temp\cookie6194090951623550341.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\dlj\AppData\Local\Temp\NPL209358676203485373.tmp
    2010_07_25_11:17:51 NOTE: NPL job completed: 00:00:16
    2010_07_25_11:17:51 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:17:51 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:17:51 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:17:53 NOTE: SHUTTING DOWN
    2010_07_25_11:18:44
    STARTING AUTO TRANSFERS
    2010_07_25_11:18:47 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:18:47 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\dlj\AppData\Local\Temp\cookie6619941968980967666.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\dlj\AppData\Local\Temp\NPL642798118204519919.tmp
    2010_07_25_11:18:47 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:18:47 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\dlj\AppData\Local\Temp\cookie3248142464790723564.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\dlj\AppData\Local\Temp\NPL5824589417100393674.tmp
    2010_07_25_11:19:01 NOTE: NPL job completed: 00:00:14
    2010_07_25_11:19:01 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:19:01 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:19:01 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:22:23
    STARTING AUTO TRANSFERS
    2010_07_25_11:22:26 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:22:26 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6966332345706985227.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL8541448931020097951.tmp
    2010_07_25_11:22:26 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:22:26 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6558445556582732802.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL853314997605974176.tmp
    2010_07_25_11:22:44 NOTE: NPL job completed: 00:00:18
    2010_07_25_11:22:44 ---DONE--- job=playlist tivo=Bedroom
    2010_07_25_11:22:44 Title keyword match: 'outside the lines' found in 'outside the lines'
    2010_07_25_11:22:44 START PROCESSING OF ENTRY: Outside the Lines
    2010_07_25_11:34:37
    STARTING AUTO TRANSFERS
    2010_07_25_11:34:39 >> Getting Now Playing List from Bedroom ...
    2010_07_25_11:34:39 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie9164970755618190217.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL6485173897904206534.tmp
    2010_07_25_11:34:39 >> Getting Now Playing List from Living Room ...
    2010_07_25_11:34:39 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie5012514897372270046.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL3753723941972793907.tmp
    2010_07_25_11:34:53 NOTE: NPL job completed: 00:00:14
    2010_07_25_11:34:53 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_11:34:53 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_11:34:53 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:34:55 NOTE: SHUTTING DOWN
    2010_07_25_12:15:48
    STARTING AUTO TRANSFERS
    2010_07_25_12:15:51 >> Getting Now Playing List from Bedroom ...
    2010_07_25_12:15:51 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6600283123630176837.tmp --url https://192.168.0.77/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL2024356972711321264.tmp
    2010_07_25_12:15:51 >> Getting Now Playing List from Living Room ...
    2010_07_25_12:15:51 C:\kmttg_v0p7l\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Windows\system32\config\systemprofile\AppData\Local\Temp\cookie6670569143622095750.tmp --url https://192.168.0.76/TiVoConnect?Co...tainer=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NPL1596453381642536969.tmp
    2010_07_25_12:16:07 NOTE: NPL job completed: 00:00:16
    2010_07_25_12:16:07 ---DONE--- job=playlist tivo=Living Room
    2010_07_25_12:16:07 Title keyword match: 'cbs news sunday morning' found in 'cbs news sunday morning'
    2010_07_25_12:16:07 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_12:21:50 NOTE:
    Auto Transfers Loop in GUI enabled
     
  4. Jul 25, 2010 #2464 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    Interesting. It looks like in service mode the Now Playing lists are retrieved fine for both Bedroom and Living Room units but 2 seconds after "CBS New Sunday Morning" match the service is always shutting down, before actual attempt to download the show begins.
    Code:
    2010_07_25_11:00:45 START PROCESSING OF ENTRY: CBS News Sunday Morning - How robots are used to build cars
    2010_07_25_11:00:47 NOTE: SHUTTING DOWN
    
    So it's not at all obvious to me what the issue is... If you are still willing to debug this further you can try the following (run kmttg in service mode with debug mode enabled):
    1. Uninstall kmttg service
    2. Edit kmttg installation service\conf\wrapper.conf file and after the line:
    wrapper.app.parameter.2=-a

    Add following:
    wrapper.app.parameter.3=-d

    3. Then re-install kmttg service and modify to use your local account.
    4. Remove auto.log file
    5. Start kmttg service
    6. Post or send me auto.log

    NOTE: When posting auto.log contents here in this forum it's best to wrap contents with code delimiters so the contents don't fill a lot of space. Or if you prefer just email me instead to continue this discussion in private.
     
  5. Jul 25, 2010 #2465 of 10411
    AgtScully

    AgtScully New Member

    10
    0
    May 26, 2009
    To respond to the account issue, I never had to specify an account until about 4 weeks ago when I noticed that the service had stopped running. I didn't have enough time in my life to really investigate the problem until now. So I just turned “Loop in GUI” on and left it alone.
    The only thing I noticed is when I would add a show using “Add selected titles”. It would never download the new show. So I would stop/start the service. That’s when the service would run for a few seconds then stop. Then I would have to uninstall and reinstall it again. It would stay up until I make any changes to the configuration. Then the problem would start again.
     
  6. Jul 25, 2010 #2466 of 10411
    AgtScully

    AgtScully New Member

    10
    0
    May 26, 2009
    Thank you, I will do that and send it via email.
     
  7. Jul 26, 2010 #2467 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    I need an encoder for MP4 320x240 main profile which will work on the Sony NWZ-S545. I tried all the encoder profiles and none had worked.
     
  8. Jul 26, 2010 #2468 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    I found some video specs via Google on page 125 of manual:
    http://www.docs.sony.com/release/NWZS545_EN.pdf
    Looks like very close to the ff_ipod_low_res settings except that max H.264 level supported is 1.3. So basically you can try following.
    1. In kmttg encode folder copy file ff_ipod_low_res.enc to ff_sony.enc
    2. Edit ff_sony.enc and where you see -level 30 change it to -level 13

    Now if you refresh encoding profiles in kmttg or restart kmttg and pick ff_sony profile that may work for you.

    (Make sure you are using latest kmttg and encode folder before anything else).
     
  9. Jul 28, 2010 #2469 of 10411
    poopsie

    poopsie New Member

    131
    0
    Dec 27, 2003
    Hey moyekj, is there any way to have KMTTG watch folders for files to convert instead of downloading them from the Tivo? I know I can manually add the files, but I was wondering if there is a way to have another program download and let KMTTG do the converting after it has downloaded to a specific folder? Thanks!
     
  10. Jul 28, 2010 #2470 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    I plopped in the .enc copied file into notepad, and I can't find '-level' anywhere so I added it into the middle, hope it works.
     
  11. Jul 28, 2010 #2471 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    That means you don't have the latest (kmttg v0p7l) installation or you don't have corresponding "encode" folder from the kmttg v0p7l installation. Several of the profiles were updated with that release and the ff_ipod_low_res.enc has the -level 30 in it for that release, and that's what you should be using as starting point.
     
  12. Jul 28, 2010 #2472 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    I wasn't aware of v0p7L, using v0p7J.
     
  13. Jul 28, 2010 #2473 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    The video plays, but the volume is pretty low. Is there a way to increase volume?


    Here is the file ff_Walkman.enc
    Code:
    # Description (single line, keep short)
    <description>
    Walkman, mpeg4 container, 320x240 30fps mpeg4 video, 48KHz/128Kbps 2 chan aac audio
    
    # Encode command or script (single line)
    # Known keywords: FFMPEG, HANDBRAKE, MENCODER, PERL, INPUT, OUTPUT, PWD, CPU_CORES, SRTFILE
    <command>
    FFMPEG -y -i INPUT -threads CPU_CORES -vcodec mpeg4 -level 13 -maxrate 1000k -qmin 3 -qmax 5 -bufsize 4096k -g 300 -acodec aac -ac 2 -ab 128k -ar 48000 -s 320x240 -r 29.97 -b 700k -f mp4 OUTPUT
    
    # Encoded output file extension
    <extension>
    mp4
    
     
  14. Jul 28, 2010 #2474 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    If you bring up Help->About... window it shows you latest version available.
     
  15. Jul 28, 2010 #2475 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    qmin & qmax are too low, meaning you get much larger file sizes than necessary for that resolution. That was one of the changes made in v0p7l, along with a change to use H.264 video which is better quality. If you want to increase volume you can add "-vol 512" which gives you a 2x boost in volume (256 is nominal volume level). i.e. Starting from v0p7l profile and with -level 13 & -vol 512 the FFMPEG line should look something like:
    Code:
    FFMPEG -y -i INPUT -threads CPU_CORES -vcodec libx264 -level 13 -subq 6 -me_range 16 -qmin 15 -qmax 20 -g 300 -s 320xHEIGHT -r 29.97 -b 700k -maxrate 1000k -acodec aac -ac 2 -ab 128k -ar 48000 -vol 512 -f mp4 OUTPUT
    
     
  16. Jul 28, 2010 #2476 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    What Is the maximum setting for the '-vol' option? 512?
     
  17. Jul 28, 2010 #2477 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    I don't know if there is a maximum. I've used up to 1024 (i.e. 4x boost) before, but you start getting distortion if you amplify too much.
     
  18. Jul 29, 2010 #2478 of 10411
    lew

    lew Active Member

    3,950
    3
    Mar 12, 2002
    I'm going to give your program a try. My intent is to use TTG to transfer tivo HD programs. I want to encode to MP4. Faster transfers back to tivo and smaller file space.

    I looked through the included encoding profiles. I'm looking to either use the handbrake default constant quality setting or a way to set the bit rate at a % (maybe half) of the bitrate in the mpeg original file.

    Is there a profile that does either?

    I paid to upgrade my copy of VRD. Which encoder is likely to give me better results; the encoder used by handbrake or the encoder used by VRD?
     
  19. Jul 29, 2010 #2479 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    If using the Hanbrake GUI you find something that you like note that Handbrake creates an accompanying .txt file to the video file and the first line indicates the command used for the encode, such as:
    Code:
    ### CLI Query:  -i "C:\home\dvd\Daylight_Sat_Mar_08.mpg" -t 1 -c 1 -o "C:\home\dvd\Daylight_Sat_Mar_08-1.m4v" -f mp4 --strict-anamorphic  -e x264 -q 20 -a 1 -E faac -6 dpl2 -R 48 -B 160 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -v 1
    
    So you can then use that as a basis to create a custom kmttg .enc file to go in "encode" folder.

    I haven't seen an encoder option that you can directly specify a percentage of the source file bit rate. Of course Handbrake has the constant quality factor that is useful knob to use. ffmpeg has similar options. I don't much like the VRD encoding profiles since currently there is not much control with VRD. Personally I prefer the ffmpeg profiles as with ffmpeg you have full control and is quite a bit faster than handbrake and gives good quality encodes for my uses, but it's best to play around yourself with the various encoders and find one you like.
    If your target is tivo playback there are some encoding profiles in kmttg you can use as starting points to find something you like such as:
    hb_tivo_hd
    hb_tivo_sd
    ff_tivo_hd
    ff_tivo_sd
    (the sd ones are for SD sources, the hd ones for HD sources).
    You can start with a copy of one of those profiles and then fine tune them for your needs.
     
  20. Jul 30, 2010 #2480 of 10411
    lew

    lew Active Member

    3,950
    3
    Mar 12, 2002
    Thanks--Maybe I'm barking up the wrong tree. I have an issue (maybe I'm wrong) using a single bitrate for all encoding. I'd think a source material that starts with a higher bitrate should be given a higher bitrate after we encode.
    KMTTG makes it easier to run overnight but---I'd rather go with a bitrate high enough so single pass encoding produces acceptable results.

    I'll try constant quality.

    edited to add thanks for the tip regarding the log file. I didn't realize handbrake produced a log which contained the command line that was used to encode.
     

Share This Page