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

mp4 transcoding appears to be eliminated

Discussion in 'TiVo Home Media Features & TiVoToGo' started by larry99, Feb 18, 2009.

  1. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    Sorry. But actually they way you fixed it accomplishes the same thing. (Putting the entire "mp4a / 0xblahblah" in the compatible audio codecs). My post was just changing the regular expression to accomplish the same thing.

    I haven't looked into exactly how pyTivo tivo determines when to transcode, but what jumps out now that I am taking a closer look at both your ffmpeg -i output and the pyTivo log from above is:

    vFps=59.94

    Which may be causing pyTivo to force transcoding. (As it should if the frame rate is really 59.94 fps, because TiVo won't like that) Your mediainfo dump shows 29.97 as the fps, so it looks like ffmpeg is somehow getting an incorrect frame rate from that file.
     
  2. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    OK. I never learned C (back in the day I taught myself Pascal but who uses that now!). I thought perhaps I might have it backwards. But then seeing the failure later on in the logs made me question it...

    I would think files encoded from your build of iTivo should work and be pushable back but who knows at this point. And I haven't been able to get pyTivoX to configure properly to test this feature out with it...
     
  3. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    Well, it looks like it all comes back to my install of ffmpeg. I really don't want to try compiling it for ARM9 (not sure I even have the compilers on the NAS) and wish I could find a useful version out there. I'll keep looking.

    Rats... :mad:
     
  4. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    What OS is the NAS running? I know netbsd for ARM makes their packages easily available...
     
  5. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    It's whatever Linux distribution comes on the Buffalos.

    I'm not sure if it's a variant of busy box or what. My unix isn't good enough to tell me how to know... :)
     
  6. CuriousMark

    CuriousMark Forum Denizen

    2,606
    0
    Jan 13, 2005
    SoCal
    You may have to set up the Precompiled C Cross Toolchain and compile it. I don't envy you that task.
     
  7. moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Actually the mediainfo dump on the tigger show does show 59.94 fps so ffmpeg does appear to be reporting it correctly.
     
  8. kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    My bad. I was looking at the galactica episode mediainfo dump.

    NA9D: You may want to see if the galactica episode pushes, now that the audio detection is probably OK.
     
  9. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Backwards.

    This indicates that it passed the test. Period.

    This is just standard output from tivo_compatible(). It's what would happen if you did a pull. It doesn't indicate that the file is going to be transcoded... nothing in those log excerpts does.

    If you're seeing the TRANSCODE=NO message, but not seeing a transfer, you may just need to wait. Push transfers don't start immediately. Or you may have to restart the TiVo... give it a few minutes, though.
     
  10. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm curious: what does
    Code:
     uname -a 
    report?
     
  11. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    Linux MEDIASERVER 2.6.16.16-arm1 #6 Fri Aug 31 13:07:15 JST 2007 armv5tejl unknown
     
  12. CuriousMark

    CuriousMark Forum Denizen

    2,606
    0
    Jan 13, 2005
    SoCal
    There are several projects out there for upgrading kernels and putting other distributions on it. foonas and debian are in various states of testing and availability. I have the same NAS, but am trying to stay as close to stock as I can since it has a lot of great functionality that would need to be recreated with quite a bit of effort if I replaced it with Debian. I am following this discussion with interest and plan on following in NA9D's footsteps this weekend.
     
  13. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok I failed to find any dpkgs or rpms that would work. Welcome to the world of cross-compiling :) Have fun!! (it's a pain in da butt).

    edit I spoke too soon:

    http://packages.debian.org/lenny/ffmpeg

    you may need to install a bunch of dependencies (potentially really huge ones like libc), but I think that should work on your kernel... I see there is also an ipkg installation (ipkg install ffmpeg). I assume that's the one you have?

    Or just use OpenLink? which has the compiler and tools installed...?
    http://buffalo.nas-central.org/index.php/OpenLink
    http://buffalo.nas-central.org/wiki/Precompiled_C_development_environment%2C_running_on_the_LS


    http://buffalo.nas-central.org/wiki/Installing_pyTivo_on_Linkstation_Live
     
  14. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    That was the one that I was looking at that I was thinking of doing. But it was too late last night. I downloaded the .deb file but then my lack of unix/linux skills failed me...:)

    Not sure how to get the .deb file loaded properly onto the NAS...
     
  15. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    OK. I've got a push successfully going now! Thanks for the help.

    My main Tivo is not starting pushes for some reason. I think I know why but I can't say for sure...

    Anyhow, on my second Tivo, the Battlestar Galactica push started right away and it started playing which is very cool....

    Now to figure out why Yoav's H.264 encodes from pyTivox have a 59 fps frame-rate. I wonder if I need to change the de-interlacing setting? Dunno....
     
  16. txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    According to the pytivo configure wiki, 59.94 fps should be ok.

    Also, I answered my own question from earlier about pushing more than one show at a time. It seems to work fine. I clicked on one and then a few seconds later I pushed another and they both transferred up fine.

    One question though, should I be able to watch a mp4 file that is being pushed up while it is actually being pushed? I was pushing 10min clips and wasn't able to view until they were finished. Was wondering if that is what I should expect or maybe just because they were short?

    Jason

    P.S. I am not sure what all is possible on the pytivo push screen, but is there a way to indicate if something is in the process of being pushed or that one is queued, or anything like that?
     
  17. Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    EDIT:
    pyTivo doesn't encode to h.264

    Can you explain what steps you took to end up with this framerate?
     
  18. moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Interlaced frames at that rate is fine, but for mp4 files we are talking about progressive frames. I don't think I've tried 60p framerate for mp4 files (30p or 24p is more common) so don't know if it works or not.
     
  19. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    Don't know. I've used your standard mencoder settings for everything on these. The only change was to add an audio delay of 0.25 seconds.

    I'll check my other files encoded by iTivo.
     
  20. NA9D

    NA9D New Member

    196
    0
    May 26, 2008
    Algonquin, IL
    I was able to. Well, I wasn't supposed to since I'm at work (dang Slingboxes!) but I did check it and it was OK.
     

Share This Page