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. Sep 25, 2013 #5821 of 10413
    wuzznuubi

    wuzznuubi New Member

    118
    0
    Jan 16, 2013
    Thanks moyekj!, you didn't have to do that. I imagine it would get pretty tricky depending on how you setup VRD profiles. You could have it ingest .TiVo TS or PS files and output anything that VRD is capable of outputing.
     
  2. Sep 25, 2013 #5822 of 10413
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Care to share your script? Will it change my .mpg.txt files to .mp4.txt?

    I agree, other than this the two step process has been working great for me.
     
  3. Sep 25, 2013 #5823 of 10413
    wireman121

    wireman121 Member

    126
    0
    Nov 8, 2008
    Is it possible to update the VRD scripts so they work properly with the most current released version as well as the last public release? Right now I need to remember to either move the scripts before updating or re-edit the scripts to minimize to tray afterwards. I'd assume it would be a quick edit to check the version before doing 1 or the other?
     
  4. Sep 25, 2013 #5824 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Please provide a lot more detail including what VRD settings in kmttg you are using as I don't know what you're talking about. I'm using the latest beta version of VRD TVSuite and haven't noticed any problems when using with kmttg default scripts. Perhaps you have "Allow multiple VideoRedo jobs at once" setting enabled such that you are seeing VRD windows?
     
  5. Sep 25, 2013 #5825 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI
    Can anyone reccomend an ideal set of settings for playback on the ipad with a good balance of file size and quality.

    I was using handbrake and was getting some audio cutouts. I tried my copy of video redo tv suite 3 and QS fix and the audio was way out of sync.

    What should I try next?
     
  6. Sep 25, 2013 #5826 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Try QS Fix + encode with ff_ipad profile.
     
  7. Sep 25, 2013 #5827 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI
    Do I need to upgrade my profile or ff?


    encoding failed (exit code: 1 ) - check command: C:\kmttg\ffmpeg\ffmpeg.exe -y -i "C:\videos\tivo\Dads - Heckuva Job, Brownie (09_24_2013)_1011.mpg" -threads 4 -vcodec libx264 -level 31 -subq 6 -me_range 16 -qmin 10 -qmax 50 -g 300 -s 1280x720 -r 29.97 -b 2500k -maxrate 4000k -acodec aac -strict -2 -ac 2 -ab 160k -ar 48000 -f mp4 "C:\videos\tivo\Dads - Heckuva Job, Brownie (09_24_2013)_1011.mp4"
    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --enable-memalign-hack --enable-postproc --enable-swscale --enable-gpl --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --disable-ffserver --disable-ffplay --enable-avisynth --enable-libdirac --enable-libschroedinger --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libspeex --enable-libopenjpeg --enable-small --disable-decoder=aac --extra-cflags=-mtune=generic -fno-common -I/usr/local/include --extra-ldflags=-L/usr/local/lib
    libavutil 49.15. 0 / 49.15. 0
    libavcodec 52.20. 0 / 52.20. 0
    libavformat 52.31. 0 / 52.31. 0
    libavdevice 52. 1. 0 / 52. 1. 0
    libavfilter 0. 4. 0 / 0. 4. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Mar 13 2009 23:50:16, gcc: 4.3.3

    Seems stream 0 codec frame rate differs from container frame rate: 119.88 (120000/1001) -> 59.94 (60000/1001)
    Input #0, mpeg, from 'C:\videos\tivo\Dads - Heckuva Job, Brownie (09_24_2013)_1011.mpg':
    Duration: 00:29:56.57, start: 0.200000, bitrate: 14447 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 38710 kb/s, 59.94 tbr, 90k tbn, 119.88 tbc
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Unknown encoder 'aac'
     
  8. Sep 25, 2013 #5828 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Yes, you need a newer ffmpeg by the looks of it.
    You could edit profile and change "aac" to "libfaac" to work with ffmpeg you have, but from what I recall libfaac was pretty lousy.
     
  9. Sep 25, 2013 #5829 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI
    Upgraded to the latest kmttg, latest profiles, latest tools, still having audio that is horribly out of sync.

    Any ideas?
     
  10. Sep 25, 2013 #5830 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    It's a long shot, but you could try temporarily disabling VideoRedo in kmttg by just adding a "-" at the end of the directory path. Then when you run QS Fix step it will use ProjectX instead. If both VRD and ProjectX can't fix the sync issues then I don't know what can.
    I suppose one more option is to try trial version of VRD TVSuite 4 and one of its built in H.264 encoding profiles.
     
  11. Sep 26, 2013 #5831 of 10413
    wuzznuubi

    wuzznuubi New Member

    118
    0
    Jan 16, 2013
    Pretty simple, assuming you're running Windows 7 or 8. If XP or 2K you may need to tweak the SCRIPT to work.
    Copy & Paste the SCRIPT code below into a new text file and save it as rename_MetaFile.cmd in your kmttg directory,
    SCRIPT
    Code:
    REM this is supposed to be used as a custom kmttg script that gets passed mpeg_fname (program.ts) as a parameter
    REM if nothing passed to us (i.e. command script was just run by double-clicking it) just exit
    IF %1.==. GOTO FINISHED
    SET _SOURCEN=%~dpn1.mpg.txt
    SET _TARGETN=%~n1.ts.txt
    ren "%_SOURCEN%" "%_TARGETN%"
    :FINISHED
    EXIT
    
    then setup kmttg to call it as a custom command, like
    Code:
    C:\kmttg\rename_MetaFile.cmd [mpegFile]
    and check the custom checkbox when you want to use it.
    My mpeg files after download, decrypt, QSF & saving are .ts files, so just change .ts to .mp4 in the SCRIPT and it should work for you.
     
  12. Sep 26, 2013 #5832 of 10413
    ALbino

    ALbino Lurker Series 2

    109
    0
    Jun 24, 2002
    FWIW, even with QS Fix, I was having some sync issues using HandBrake when converting to MP4 and I solved it by switching my container to MKV.
     
  13. Sep 26, 2013 #5833 of 10413
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    I had same issues with out of sync sound until I upgraded to the latest kmttg. My problem is with AtomicParsley failing every time:
    AtomicParsley failed (exit code: 138 ) - check command: /Applications/kmttg_v1p0c/AtomicParsley/AtomicParsley "/Applications/kmttg_v1p0c/The Librarian Curse of the Judas Chalice (09_22_2013).mp4" --overWrite --stik Movie --year 2008 --description "A librarian and a beautiful singer must prevent vampires from taking over the world. " --TVShowName "The Librarian: Curse of the Judas Chalice" --artist "The Librarian: Curse of the Judas Chalice" --albumArtist "The Librarian: Curse of the Judas Chalice" --TVNetwork TNTHD -d 1/1

    I am on a Mac OS 10.76.
     
  14. Sep 26, 2013 #5834 of 10413
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Yes, I've given up on Atomic Parsley. It takes a long time, gives no benefit and then fails. I wish there was a way to disable it, but kmttg requires a path for it.

    I found you can give it a bad path, and it is skipped, but you get an error everytime you change a configuration.
     
  15. Sep 26, 2013 #5835 of 10413
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    Well, I really didn't understand what Atomic Parsley was suppose to do so I just read the "Using Atomic Parsley file.... Boy an i stupid some times.
    No onder it doesn't work for Movies.:


    AtomicParsley is a command line program for reading & writing iTune-style metadata in mpeg4 files (m4a, m4b, m4p, m4v & mp4) whether iTMS drm protected or not. AtomicParsley can set most user accessible tags, and some that iTunes doesn't let you change. Of particular note are the Mac OS X only image modification preferences that allow artwork to be modified prior to embedding. Artwork can be converted to jpeg, file size limited, reduced & squared through setting command line preferences.

    Currently, AtomicParsley lets you set these type of iTunes-style tags in MPEG-4 files:

    artist lyrics category TVEpisodeNum
    title album artist artwork TVSeasonNum
    album composer compilation podcast flag
    genre copyright advisory podcast feed url
    tracknumber grouping stik podcast episode GUID url
    disknumber bpm/tempo TVNetwork purchase date
    comment description TVShowName encoder tool
    year keyword TVEpisode play gapless

    3GPP & 3GPP2 files (.3gp & .3g2) have a different set of metadata tags available called assets:

    title author performer genre
    album * year copyright description
    rating keyword classification location

    * album asset is only available on 3gp6 and later branded files.

    It is NOT used for Movie files at all... so it fails?
     
  16. Sep 26, 2013 #5836 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    With recent kmttg versions you can empty the field in configuration. You probably have to rename the AtomicParsley folder in kmttg installation though so kmttg doesn't find it automatically.
     
  17. Sep 26, 2013 #5837 of 10413
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Ah, thats what I remember. I'd empty the field, it would fill it in.

    So if I rename the directory, and leave the field blank I should be good to go?
     
  18. Sep 26, 2013 #5838 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    There are updated versions of AtomicParsley that support additional options for movies, etc. I can't remember now where I got the Windows binary from, but at least on Windows I believe it does work properly for movies. Since I don't have a Mac I don't keep the Mac tools up to date so that's probably an ancient version included with Mac that doesn't have the enhancements.
     
  19. Sep 26, 2013 #5839 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Yes.
     
  20. Sep 27, 2013 #5840 of 10413
    cherry ghost

    cherry ghost Active Member

    5,277
    5
    Sep 13, 2005
    Chicago
    Also on Windows, so I can't test, but the Mac version here may have the enhancements

    https://bitbucket.org/shield007/atomicparsley
     

Share This Page