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 4, 2014 #6961 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    Thanks! I tried the "ff_ipad" option and it worked perfectly. I'll try the one you recommend. Thanks again!
     
  2. Jul 4, 2014 #6962 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    Is there a way to set up the ad cut jobs to complete without having to review them first? I'd like to set up some jobs to take place automatically.

    EDIT: never mind. I see the option to turn it off
     
  3. Jul 7, 2014 #6963 of 10405
    species8472jj

    species8472jj New Member

    56
    0
    Dec 23, 2009
    I just got a Synology DS214play.

    I have many TV shows that auto download and run the decoder, VideoRedo etc.

    Before getting my NAS, I would have them download to my PC, however I thought I would try to have them download to the NAS instead.

    So, I just tried downloading a TV show to the NAS, and it was extremely slow, whereas when I tried the same thing and switched the path back to my PC, it was fine.

    So, I then tried download the same show to my Synology NAS using pyTivo (which is running on the NAS), and that was lightning fast.

    The only thing I can think of is it has something to do with the fact that KMTTG is running on a PC and pyTivo is running on the NAS.

    If there is something that I'm missing or setting I'm missing, please let me know.


    Thanks in advance.
     
  4. Jul 8, 2014 #6964 of 10405
    moyekj

    moyekj Well-Known Member

    11,128
    27
    Jan 23, 2006
    Mission...
    If not already doing so, specify the NAS drive destination using \\host\share format instead of a volume.
     
  5. Jul 8, 2014 #6965 of 10405
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    I would think you probably have the right idea. kmttg is routing data through the PC, so it has to go over the network to the PC then back out the network to the NAS, whereas the pyTivo running on the NAS does a direct transfer.

    If you're processing stuff, only the final product should go on the NAS.
     
  6. Jul 8, 2014 #6966 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    Help me work on a custom encoding profile for my chromecast.

    If TL;DR, ignore the next paragraph...
    I have played around with the different profiles included but I need to tweak things a bit. The "hb_television" profile you suggested was great, but it was a little bit too big of a file to stream smoothly. Plus, I think the mkv file type doesn't play as well with the chromecast as an mp4 type. I get great quality from the "ff_iphone" profile, but the file is too big to stream smoothly. The "ff_ipod_low_res" profile streams smoothly, but the video quality is not as good as I would like.

    Therefore, I am attempting to edit the "ff_ipod_low_res" profile a bit to get a better video quality and need help with what to tweak. In comparing the high and low res profiles, the differences are...

    Do I just adjust all 3 factors a bit or is there one factor that makes more of an impact that others? I'd like to find a combination that produces the highest video quality that still has a file size low enough to stream smoothly.
     
  7. Jul 8, 2014 #6967 of 10405
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    -b (bitrate) is the major factor. If you starve bitrate, it gets soft or pixelates

    I would do -b 1000k -maxrate 1250k

    For low output, look good stuff, I set 480, as 320 is too low and most material doesn't need 640
     
  8. Jul 8, 2014 #6968 of 10405
    cherry ghost

    cherry ghost Active Member

    5,276
    4
    Sep 13, 2005
    Chicago


    Code:
    FFMPEG -y -i INPUT -threads CPU_CORES -c:v libx264 -preset veryfast -crf 26 -s 640x360 -c:a:0 aac -strict -2 -ac 2 -b:a:0 128k OUTPUT

    https://trac.ffmpeg.org/wiki/Encode/H.264
     
  9. Jul 8, 2014 #6969 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    Thanks for the replies. I'll try these out. It would be great if there was such a thing as a variable bitrate stream like the streaming services use.
     
  10. Jul 8, 2014 #6970 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    OK folks, just to update you all on my trial and errors...

    Philhu, your suggestion to go 480x1000x1250 produced a file of 242mb (in my 30 minute recording). This produced an acceptable video image but caused buffering a few times.

    cherry ghost, your suggestion produced a file size of an incredible 87mb (for the same file), but the video was very pixelated.

    If I could find a file size less than 200mb that had a passable video quality, I think we'll have it. I am going to experiment with some different combinations (480x600x800, 480x700x100, 320x700x1000, etc.) and see what happens.
     
  11. Jul 8, 2014 #6971 of 10405
    cherry ghost

    cherry ghost Active Member

    5,276
    4
    Sep 13, 2005
    Chicago

    Try changing -crf 26 to -crf 22. If the picture is better but the file is too big, go up to 23, 24, 25.
     
  12. Jul 8, 2014 #6972 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    Thanks! I tried -crf 22 and that created a 127mb file. The picture quality was much better, along the line of SD quality. I am hoping for a little better quality picture, so I bumped it up down to 18. This looks pretty good, with a file size of 208mb. I think this will work (unless there is a different tweak that will make a better improvement then bumping to 18).
     
  13. Jul 9, 2014 #6973 of 10405
    jcthorne

    jcthorne Active Member

    2,718
    2
    Jan 28, 2002
    Houston
    Did it occur to you that the problem with your chromecast is your wifi network not the size of your files? Chromecast should be able to stream full HD video without much difficulty and your files sizes are less than 1/10th of that.
     
  14. Jul 9, 2014 #6974 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    Yes it had, but I'm not sure how I check that detail. I checked to see that I had full reception on my chromecast icon, and I have a brand new ac router in the next located not too far away. Any help would be appreciated!

    ETA: Maybe it is as simple as adding a QOS rule to prioritize the chromecast IP?
     
  15. Jul 9, 2014 #6975 of 10405
    cherry ghost

    cherry ghost Active Member

    5,276
    4
    Sep 13, 2005
    Chicago
    There's a couple things you can tweak. Go through the link I provided earlier. I'd start by trying -preset faster and different values of -crf. The conversion time will increase as you go lower on the -preset scale.
     
  16. Jul 9, 2014 #6976 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    OK, I've started reading some Chromecast networking threads on XDA and looks like there is some research I need to do on this topic. An advantage to knocking down the file size was to obviously help with storage space, but it needs to be a quality I'll be happy with.

    ETA: I probably need someone to critique my entire process to troubleshoot any bottlenecks I am creating for myself. I'll start a new thread for that.
     
  17. Jul 9, 2014 #6977 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    OK, found my bottleneck. Or, at least one of them. I am using Localcast on my android phone to connect the file on my PC to the Chromecast. I was under the impression that Localcast just send Chromecast the link to the PC and then the PC conncected directly to the Chromecast. Turns out, that's not how it works. Localcast uses the phone as a bridge between the two. In other words, the video stream has to go from the PC up to the phone via wifi, then the phone sends it back to the wifi which then sends it out to the chromecast. Therefore, this process is creating 3 times the network traffic as streaming directly from the PC to the Chromecast. I need to find another option.

    Thanks to all for the help!
     
  18. Jul 10, 2014 #6978 of 10405
    whitenack

    whitenack New Member

    156
    0
    Aug 26, 2008
    To update anyone that cares, I installed Plex Media Server on my PC and BubbleUPnP on my phone and this allows me to cast the file from the PC straight to the Chromecast, using much, much less bandwidth. I am now streaming full HD files with no problems. Now I just have to find the happy medium between video quality and file size. Thanks to all that helped!!
     
  19. Jul 10, 2014 #6979 of 10405
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    Plex Media should do the trick for you, I have been using since February.

    But beware, although it's great on mp4s. it really does not like other file formats, that's why I still use my other tools (pytivo, etc.).
     
  20. Jul 11, 2014 #6980 of 10405
    ellinj

    ellinj Seems Very Friendly TCF Club

    12,356
    8
    Feb 26, 2002
    RI
    I use a custom job with a batch file to move the encoded file after its done. This way you don't have disk/io for the encode job going over the network.
     

Share This Page