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. Apr 30, 2010 #2281 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI
    Can anyone tell me why I might want to use Video Redo over Handbrake? I am looking to create good quality video that is playable on my ipad.
     
  2. Apr 30, 2010 #2282 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    You can use either one or even ff_mpeg for the encoding, however, video redo is the only one that does the quick stream fix, and that seems to be necessary for most of us.

    For the encoding, I'm not sure how much difference there is. In fact, I suspect they are all using the same h.264 library, but vdrd has the best GUI. Also the new version of tv suite 4, allows us to combine/skip a step or two.

    -David
     
  3. May 1, 2010 #2283 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    speaking of the ipad, since I finally have mine in house for a few hours now ...

    getting back to my encoding questions, I played with several encoding options, including the tv suite 4 ipad and ff-ipad profiles (and modifications of them). This is very unscientific, I only used a single 1080i HDTV input file as source material so far.

    1. tv suite 4 ipad profile. Profile is 1280x720 (720p) dual pass. Takes about 2x - 3x than a single pass encode, result is very good. Encode times are very slow at 720p. This method was painfully slow for me. It literally took 3 - 4 hours to encode 40+ minutes of a cut hour of a TV episode.

    2. tv suite 4 modified ipad profile to 720p single pass. Result looks very good, however, for some reason, itunes wouldn't transfer my one sample of this to the ipad (said it was not playable on the ipad, though it should have been, all I did was copy the ipad profile and change the dual pass to single pass in the profile.) I am probably not going to bother to test this again, as encoding even single pass 720p in tvs4 is very slow for me, though not nearly as bad as the dual pass option.

    3. ff-mpeg, ipad profile, 720p, single pass. Much faster encoding, very good output on the ipad

    4. ff-mpeg modified ipad profile, modified to 1024x576, which is native rez for 16:9 material on the ipad. Fastest encoding, output looks good.

    All files were playable in itunes (quicktime player, basically) and windows media player on my system. WMP was much better than the itunes/quicktime player, which displayed visibly jerky output on my mobile P8400 c2d-based machine.

    All of the transcoded output looked really good, so I'm going for encoding time, as I have no plans or need for the 720p output from the ipad itself.

    I also played with Breaking Bad from AMC a bit. On my cable system, there is no hi-def version of AMC, so all I seem to get is analog, standard def. 640x480 was fine.

    I had a copy of an older CSI:NY episode in itunes that I had converted for my ipod touch/iphone. info said the file was encoded at 566x320, 157kbs, 922kbs total bit rate. You could see visible artifacts, etc, but it was definitely watchable. It looked decent, but not as good as it could.

    Added: There's not a huge difference in file sizes in all of the output formats I was playing with.

    -David
     
  4. May 1, 2010 #2284 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Thanks for the feedback David. So I take it then you can confirm the ff_ipad profile I created works fine then right?
    TVS4 is a nice all in 1 solution but if you want more control then the free public encoders are still a better way to go. Hopefully eventually more encoder options will be added to TVS4. Still very useful to have VRD for QS Fix & Ad Cut tasks of course.
     
  5. May 1, 2010 #2285 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    yes, that's what I used, and I piggybacked off that to copy/create the ff-ipad-1024x576 profile as well. I didn't invent anything. :)

    Absolutely agree and it's still needed for the qs fix. One day maybe there will be an open source alternative for the qs fix, but not yet.

    I also know that the vdrd people will play with and refine their profiles for the ipad and try to make them more efficient also. Like the rest of us, they probably just got there ipads also.


    As a side note to you, kmttg continues to amaze me. I didn't realize it would just do the ap job if I had the right files there, and just unchecked everything except the encode job, using the profile of my choice, and it just does the right thing. Your tool is incredibly powerful for doing this type of repeated encoding/testing, if you pre-select the correct options for not deleting the input files, and it's smart enough to pick up in the middle of a "job". Thanks again.

    -David
     
  6. May 1, 2010 #2286 of 10413
    shiffrin

    shiffrin Member

    217
    0
    Aug 23, 2000
    Lancaster, PA
    Orangeboy, thanks for your bat file solution to the log issue. It looks well thought out and I'll have to give it a try if kmttg doesn't implement something similar soon.
     
  7. May 1, 2010 #2287 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI


    What is quick stream fix? Is this a problem I don't know I have?
     
  8. May 1, 2010 #2288 of 10413
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    VideoRedo's Quickstream fix (QSfix) eliminates the stream errors in the download that cause audio sync problems when re-encoding to other formats. In effect, it eliminates out-of-sync audio.

    If you have VideoRedo installed, kmttg integrates that feature with the QSFix option.
     
  9. May 1, 2010 #2289 of 10413
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,361
    8
    Feb 26, 2002
    RI
    I haven't seen sync issues, I do have an occasional sound hiccup.

    I am getting frustrated with handbrake, the encodes seem to take a lot longer then ffmpeg. I am using the handbrake universal profile which provides pretty good playback on appletv and ipod.
     
  10. May 1, 2010 #2290 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    I have some related code checked into SVN for next release already that allows a user to specify a size limit for auto.log file. Specifically now kmttg logs to auto.log.0 and once user specified limit is reached (defaults to 10MB) then contents are copied to auto.log.1 file and auto.log.0 is emptied out. i.e. auto.log.0 stays below some file limit and auto.log.1 has a copy of older log entries.
    This is implemented using an existing built in Java logging mechanism to do what I described automatically. If you want to try it out you can grab test version of kmttg.jar from here. NOTE: That version also has a new "Loop in GUI" feature to run Auto Transfers in GUI mode as an alternative to service/background mode only, a feature also planned to be in next release.
     
  11. May 1, 2010 #2291 of 10413
    VideoGrabber

    VideoGrabber New Member

    114
    0
    Sep 11, 2003
    > That version also has a new "Loop in GUI" feature to run Auto Transfers in GUI mode as an alternative to service/background mode only, a feature also planned to be in next release. <

    Very cool. I'll be looking forward to that. :up::up:
     
  12. May 2, 2010 #2292 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    I just got an idea for a suggestion on adding a feature to kmttg. How about the ability to drag and drop current jobs around to re-order the jobs list, or even to drag titles from the playlist to the jobs. Is this even possible?

    Edit: How about an estimated time for completion as well?
     
  13. May 2, 2010 #2293 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Changing job order is non-trivial. You can always remove queued jobs and queue up new ones though.
    Personally I dislike estimated completion times as they are inherently inaccurate. Take downloads for example: the TiVo web server rates can fluctuate quite wildly and the size of a show reported by TiVo is not the final size that ends up on your computer which is always smaller but not by a known amount. I remember laughing at TiVo Desktop estimates of download times.
     
  14. May 3, 2010 #2294 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Likely you are dealing with different encoding options between ffmpeg and handbrake. They both use x264 as their h.264 encoding engine. Depending on which version of ffmpeg you are using, you may also be using a more up-to-date version of x264. The speed might be slightly faster on newer code (maybe ~5%), but that is unlikely the source if you are seeing very noticeable differences in encode time. If you are using handbrake 0.9.3, then that is very old x264 code (without mb-tree, etc). I think the main benefit going to handbrake 0.9.4 will probably be final encode size rather than encode time.

    If you are happy with the output from ffmpeg and prefer the speed, then you are fine using that. The main benefit of all of the various bells and whistles with x264 is to allow for extreme bitrate compression with good quality. If you are willing to increase the bitrate, then many of those options can be turned off to sacrifice compression efficiency for speed.
     
  15. May 3, 2010 #2295 of 10413
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    As long as folks are throwing ideas out there, I thought I's throw my own two cents in (I hope you don't mind moyekj).

    It would be great if we could choose two encoding methods for a show (add two encodes to the queue). I often start a show on my TV and end the viewing on my iphone (or visa - versa). To do this and and view it in the best quality for each device I create to versions of the show. There are multiple ways to do this, but none completely straight forward.

    I can't comment about the under the hood stuff. However, it seems you could have a second encoding profile box with and option for none. If a second profile is chosen then add a second encode to the queue and perhaps append "2" to the second file.

    I hope you like the idea, I've always wanted to put it out there.

    Thanks for all that kmttg is.
     
  16. May 4, 2010 #2296 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Not to detract from your suggestion, but do you currently have a custom command enabled? You may be able to leverage a second encoding phase by calling ffmpeg in a script that also contains your encoding profile, passing the [mpegFile_cut] (or whatever file you want to encode) as it's input.
     
  17. May 4, 2010 #2297 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    re: multiple encode profiles

    If you download the files first and accessing from the Files.. tab, I think you could do more than one profile there.
     
  18. May 4, 2010 #2298 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    I like to add to my last post;

    under Files:

    It would be nice to be able to browse folders instead of having to add files every time we start kmttg.
     
  19. May 4, 2010 #2299 of 10413
    jeffster

    jeffster New Member

    79
    0
    Feb 18, 2001
    Southlake, TX
    What about those of us who want to run kmttg on a Mac? I have it all set up and it runs beautifully, takes advantage of my 8 cores, but all the audio is off-sync.

    If I have to use VideoRedo, there's really no point in using kmttg at all, since I need to run it on a VM, and VideoRedo plus TivoToGo does everything I need.

    I REALLY wanna use those cores, tho...
     
  20. May 4, 2010 #2300 of 10413
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    The custom command is in the right queue position for your idea to work. However, I am not sure if I get how the script would work. Could you give an example of how one might look like?
     

Share This Page