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. Nov 1, 2009 #1441 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    RTV audio is mp2 which is compatible if you use audio copy. The problem is RTV mpeg2 has to be cleaned up before doing anything else with it. You will notice if you transfer RTV mpeg2 to Tivo it will play but none of the trick functions will work.

    The key is you need to run the mpeg2 from RTV through VideoRedo QuickStream fix (which you can do in kmttg) to clean it up before doing anything else with it.

    I just tried a 30 min medium quality RTV 50xx recording (800MB):
    * Original recording transferred to Tivo - trick functions didn't work. Attempting to transcode to any other format results in a/v sync issues.

    * Ran recording through VRD QS Fix - trick functions worked fine now when playing on S3.

    * Encoded the QS fix mpeg2 using ff_ps3 profile (H.264 video + AAC audio). Result was a 570MB file which pushes without transcoding needed to S3 Tivos and plays back fine and with proper a/v sync.

    NOTE: Unless you are looking for some space savings you are better off leaving them as mpeg2 run through VRD QS Fix instead of degrading quality by re-encoding.
     
  2. Nov 1, 2009 #1442 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Highlights are new pyTivo "push" task and better control over which video files to generate "metadata" files for.

    See release_notes for details of all changes.
     
  3. Nov 1, 2009 #1443 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Just so I completely understand, to enable the push task all I have to do is specify a valid pyTivo.conf? Seems easy enough. :up:

    Thanks!
     
  4. Nov 2, 2009 #1444 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Yes, and obviously pyTivo server has to be running and functional and the video must come from a pyTivo video share hierarchy for the pushes to actually work. i.e. kmttg is initiating the pushes via pyTivo which is doing most of the work. This integration is a lot more robust than the previous "custom" task based method which only allowed video files to reside in a specific video share and only the top folder of that share. Now videos can be in any video share at any level of hierarchy below top share folder.
     
  5. Nov 3, 2009 #1445 of 10413
    zabolots

    zabolots Member

    75
    0
    May 24, 2007
    NW Chicago...
    I guess my original post wasn't clear. I'm not looking to convert RTV MPG files into TiVo-compatible files. I'm looking for a script (or at least a set of ffmpeg cmd line options) to create a TiVo-compatible file from any source video file, similar to what the VideoToReplayTV.bat file used to do.

    The existing profiles from kmttg all seem to use "-acodec copy" which assumes that the file was created by TiVo. I'm looking for a list of settings that will take non-compatible video files and create a file in the proper format for streaming to TiVo without conversion (and without A/V sync issues).
     
  6. Nov 3, 2009 #1446 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    If you're using pyTivo to transfer it to the TiVo, you might try adding a line like this to the file's metadata to make pyTivo remux it during transfer:

    Override_container: asf

    (That "asf" can be anything other than "mpeg", really.)
     
  7. Nov 3, 2009 #1447 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    There are several encoding profiles that do not use "-acodec copy" (in fact a lot of them do not) such as ff_ps3, ff_xbox360, ff_ipod_high_res, ff_ipod_low_res, ff_psp, ff_zen, ff_zune, ff_zune_hd and all the hanbrake profiles. The video_compatiblity Wiki describes what formats are natively supported for TiVo playback, so that should be used as a guide. Coming up with a generic profile that works well regardless of video source is very difficult and would not be optimal. In my case most of my sources are from Tivos and so I tend to focus on encoding from mpeg2 w/ AC3. While multi-channel AAC is supported by Tivo I would use AC3 whenever possible if you have more than 2 channels of audio in your source. Start with something like ff_ps3 profile and tweak it from there.
     
  8. Nov 3, 2009 #1448 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    I use a command line like this: (But I'm a Mac user, and I'm using a VH version of ffmpeg)
    Code:
    ffmpeg -y -i HardDrive/Input.mp4 -b 2611k -s 544x480 -aspect 4:3 -r ntsc -threads 4 -vcodec mpeg2video -g 15 -qmin 5 -bf 2 -async 50  -acodec mp2 -ar 48000 -ac 2 -ab 128k -ar 48000 -f vob HardDrive/Output.mpg
    But... I was thinking that this particular (KMTTG) thread really isn't the best place on this forum for this particular type of question. Since KMTTG is focused on getting files out of the TiVo, it might be a good idea to ask this particular question on a thread for one of the software packages that enable you to get files back into the TiVo. I'm thinking you might get a better answers there.
     
  9. Nov 4, 2009 #1449 of 10413
    dlfl

    dlfl Cranky old novice

    7,005
    19
    Jul 6, 2006
    Near...
    moyekj,

    I'm curious how you use ffmpeg to determine the video dimensions for use with the dimension filter feature of VRD QSF. Do you just run ffmpeg -i <videoFilePath> and parse the dimensions out of the resulting text output?
    If so, ffmpeg apparently does a good job of determining the dominant dimensions, correct?

    Or maybe you're using ffmpeg another way?

    My file source is a TiVo HD and all but local broadcasts are blocked from TTG by copy protection (thanks Time Warner). I have yet to see a video that had a dimension change in it, so I have nothing to test with.

    Thanks
     
  10. Nov 5, 2009 #1450 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Yup, that's how. Can't say if ffmpeg always does the right thing but at least so far it has been accurate for shows for which I had the problem with. Oddly enough the problem shows for me are usually from one of few SD channels I record (for news programs which I like to offload to portable player and hence prefer SD version since it's quicker and quality is not important). Since I enabled this method and the video filter I've never ran into that pesky VRD problem again.

    BTW, do you know if there is a setting that can be used in VRD vbs script to automatically amplify audio? That would be another very useful option to have during QS Fix run.
     
  11. Nov 5, 2009 #1451 of 10413
    dlfl

    dlfl Cranky old novice

    7,005
    19
    Jul 6, 2006
    Near...
    No, and I don't see such a function in the help for the COM interface. I usually review cuts prior to saving and both the audio sync and volume can be adjusted in the GUI at that time.

    It would be nice if the VRD folks could enhance the COM interface but I know they are busy with other things. A function to scan a video and return the dominant dimensions has been on their "might do eventually" list for a long time.
     
  12. Nov 5, 2009 #1452 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Could you maybe output the streams into elementary streams and then invoke another program for the audio amplification and then re-mux?
     
  13. Nov 5, 2009 #1453 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    For audio amplification if you have VRD you can do it there in the GUI while editing a title (Tools->Adjust Audio...) which is what I use for those that I edit manually. Also I made an encoding profile called volume_boost.enc using mencoder which can do it as well for an automated method. So there are ways to do it, but since I always run VRD QS Fix on everything along with the video dimension filter it would be nice to have an option in COM interface to do it there as well.
     
  14. Nov 5, 2009 #1454 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    You could maybe add it as a feature request on the VRD forums. It might be something they can do easily. Not sure. They are "threatening" to release VRD with H.264 editing capability soon, so they may not have a lot of time for it, but who knows?

    Up to maybe a week ago, I hadn't really cared about volume leveling or normalization or whatever you might want to call it. Then I started converting episodic DVDs with 6ch AC3 and captions. When I convert to stereo in XVID4PSP it does attempt to normalize the audio, but it is MUCH louder than my other conversions (it is adjusting 12-20dB). While this is DVD rips and not tivo downloads, I am interested to know what you do. Do you simply add a &#37; or fixed amount of amplification or do you attempt to normalize all your videos?

    update: I went ahead and added a thread in the Feature request forum.
     
  15. Nov 5, 2009 #1455 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    No I don't do equalization, though that is an interesting idea that I would not even know where to begin accomplishing. It would be nice to have a reference level to adjust to.
    For my case I use my portable media player at the gym and without audio amplification some recordings are barely audible even at full volume, so I have to boost them by about 13dB so I have good volume control on portable player.
    Thanks for posting the request in VRD forums.
     
  16. Nov 5, 2009 #1456 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    I use a program called MP3Gain to normalize audio levels for my mp3s. I have used the normalization from iTunes and WMP in the past and not been happy with the results. Some of my older CDs had much different volume levels and I hated to constantly need to adjust volume when shuffling tracks. I have been very happy with MP3Gain. I would guess that there must be a similar method to adjust audio tracks for video, but I haven't looked into it.
     
  17. Nov 6, 2009 #1457 of 10413
    Kaiser_Amir

    Kaiser_Amir New Member

    2
    0
    Nov 6, 2009
    Hello,

    I see that the above solution helped solve the EXACT SAME PROBLEM I'm having.

    Can you please give more details about how can I shut down the "kmttg service"?

    Just a reminder:

    I recently re-installed Windows.
    After that I moved some .mpg files from one hard drive to another and now whenever I try to run some of those .mpg files I get the following error:

    windows media player cannot access the file

    Thanks in advance!
     
  18. Nov 6, 2009 #1458 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    The folks over at VRD responded to the feature request (I believe the alpha they are referring to is the H.264 editor, but thought it was in beta now):
     
  19. Nov 6, 2009 #1459 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    I'm not sure exactly what you are posting since "windows media player cannot access the file" has nothing to do with kmttg. In any case for easy control over kmttg service just start kmttg GUI and use Auto Transfers->Service menu entries to check status, install, start, stop or remove the service.
     
  20. Nov 6, 2009 #1460 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    txporter, thanks for following up. That is great news on next version of VRD. (Of course there will not be free upgrade to next version but hopefully a discount for existing VRD customers).
     

Share This Page