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

Want to play nearly ANY video file on your TiVo?

Discussion in 'TiVo Home Media Features & TiVoToGo' started by pipakin, Jan 23, 2007.

  1. Jan 25, 2007 #201 of 1740
    BoyScout

    BoyScout New Member

    226
    0
    Aug 9, 2002
    Utah
    pipakin,

    any thoughts on a directory with more than 8 files?

    thanks for the great work!

    BoyScout
     
  2. Jan 25, 2007 #202 of 1740
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Another benefit of the Mono version I guess ... the ErrorLog file is in the same directory as everything else. ;)
     
  3. Jan 25, 2007 #203 of 1740
    pipakin

    pipakin New Member

    315
    0
    Jan 22, 2007
    Yeah, I've utterly beaten up the windows mono version and can't get an error... Have you taken a look at your ffmpeg settings? which options are enabled?

    Er...yeah...that's a hack. I don't know what size a final encoded file will be until after I decode it, so I just made up a ridiculously big size. :) I'm working on an estimation algorithm that will work a bit better.
     
  4. Jan 25, 2007 #204 of 1740
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    When I do a 'ffmpeg -options' here's what I get (it's long so I'm attaching it rather than pasting it inline).

    Everything looks okay to me. Can you give me a sample command-line that TiVo.Net might be issuing so I can do some more debugging? Or is there a way to get more detailed logs?
     

    Attached Files:

  5. Jan 25, 2007 #205 of 1740
    pipakin

    pipakin New Member

    315
    0
    Jan 22, 2007

    ffmpeg -i test.mov -vcodec mpeg2video -r 29.97 -b 1024k -s 720x480 -ac 2 -ab 128 -f vob -

    (though you may want to specify a file instead of the "-" on the end so your terminal doesn't get flooded with control characters :) )
     
  6. Jan 25, 2007 #206 of 1740
    Stu_Bee

    Stu_Bee New Member

    887
    0
    Jan 14, 2002
    Silicon...
    Hmm... Some videos are fine, some have the audio out of sync.

    I'm trying to find a pattern. (the sources of both working and not are both xvid,mp3..so I don't think it's a codec thing). I'll post if I discover anything.
     
  7. Jan 25, 2007 #207 of 1740
    pipakin

    pipakin New Member

    315
    0
    Jan 22, 2007
    try adding "-async x" (where x is a tolerance in samples/second) to the "Extra Output Options" on the admin page. That should resync the audio by adjusting it up to "x" samples per second. See if that helps.

    Also, just doing "-async 1" is a special case that adjusts the first bit of audio tosync with the first bit of video and might also fix it.
     
  8. Jan 25, 2007 #208 of 1740
    pipakin

    pipakin New Member

    315
    0
    Jan 22, 2007
    Is this still broken in 0.5.5a? It seems to be working for me...
     
  9. Jan 26, 2007 #209 of 1740
    leppard

    leppard New Member

    15
    0
    Jan 25, 2007
    Hi everyone. I'm new to this forum, new to tivo (my box arrived today), and new to tivodotnot. I've downloaded and installed tivodotnot and have gone to the Now Playing List menu. I see the tivodotnot server menu and I select that. On the next screen, however, I get the following error message:

    Now Playing List could not be displayed because of an unknown error.

    I'm running tivodotnot version 0.5.5a. I've gone the the localhost:9033 and set the path to my video directory. When I hit Submit / Rescan and check the running processes, I see ffmpeg running. I've also disabled the windows firewall and opened ports 9032 and 9033 in my router. Needless to say, I'm baffled. Any suggestions on how to bring up the video list?

    Thanks,

    leppard
     
  10. Jan 26, 2007 #210 of 1740
    ubuntop

    ubuntop oxymoron

    10
    0
    Jan 23, 2007
    Austin, TX
    Pipakin,



    Can you implement and option that allows you to keep the transcoded file, perhaps in a specific directory? It would save on processing for repeat viewings of that file.

    Anyway, mine seems to be working pretty well.
     
  11. Jan 26, 2007 #211 of 1740
    BoyScout

    BoyScout New Member

    226
    0
    Aug 9, 2002
    Utah

    Ya, but I have a directory of sub directories. Maybe that is the difference. I'll try to put the files all in the same directory and see what happens.
     
  12. Jan 26, 2007 #212 of 1740
    Aiken

    Aiken Blah, blah, blah.

    287
    0
    Feb 17, 2003
    Redmond, WA
    pipakin--

    As far as I know, the only guaranteed audio format on TiVos is AC3, 48kHz, 384kb/s.

    So, instead of:

    You'd want

    I just did some experimenting, and all of my units will accept AC3 at bitrates of 128, 192, 256, 320, and 384, so I'd suggest putting them all in the drop-down list. (My test video produced ffmpeg bit allocation errors at 64/96 and there was no/choppy audio at all on the TiVo.) I don't know about series 1 boxes, series 2 boxes other than 240's, or DT boxes. I definitely can't speak for series 3 boxes.

    Anyway, this makes many, many more of my videos, which come in many, many source formats, play correctly on TiVo, so I'm assuming it would significantly improve the compatibility of TiVo.Net.

    ---

    By the way, I'm not sure about the -ac 2 part. I'm pretty sure that if you don't force it, you get however many channels the source had. I gather that a series 2 TiVo can play 5.1 AC3 audio, so limiting it to stereo might be a waste of good data. I'm not very well informed on this, though.

    ---

    A suggestion: Add a few more video bitrates, like 1536, 3072, and 6144. My system can currently stream 2048 in real time easily, but not quite 4096. 3072 would be nice to have as an option. I'm pretty sure a TiVo can play such video bitrates. In fact, I don't think it really cares much at all, since I think it can do VBR.

    ---

    Another suggestion: Add more of the formats that the newer ffmpeg supports to the default extension list. For instance, I've added mp4, m4v, flv, and a few others. (It's very cool to play back flv videos saved from YouTube on my TiVo. I didn't know ffmpeg could read flash video.)

    ---

    Yet another suggestion: I know you said you're going to make an a/v option control panel of sorts, but for the moment it might be nice to have a quick option to reduce output resolution from 720x480 to 480x480 (High/Best on an S2 tivo) or 352x480 (Basic/Low). It'd probably improve transcoding/transfer speeds quite a bit without degrading the quality of the average internet/torrent video, since most are at or below that resolution.

    In fact, since all I think you need to be TiVo-compatible is to be 480 rows, you might not even want to override the source's horizontal resolution, since that would probably degrade the signal the least and the aspect ratio in the mpeg header will take care of the rest. Maybe as an option, anyway. Or maybe an option to set the *maximum* horizontal resolution?

    ---

    I think that's all I have. :)

    Great work, by the way. I know everyone else already said that, but it bears repeating.. :) Thanks for doing it.

    Aik
     
  13. Jan 26, 2007 #213 of 1740
    Enrique

    Enrique Active Member

    5,066
    4
    May 15, 2006
    I have just one small complaint (does not matter to me if it gets fixed or not just would be nice) when I put new videos in to my Tivo.net folder I have to go back to http://localhost:9033/ and hit submit/rescan directory then I see the new videos that I can download to tivo is there anyway for Tivo.net to automatically see there are new files in there?

    thanks.
     
  14. Jan 26, 2007 #214 of 1740
    dumbdiety

    dumbdiety New Member

    27
    0
    Feb 10, 2005
    While your at it, can you turn this jug of water ino wine for me? :)
    I've had no problems with 0.5.5a, I watched a marathon of Doctor Who yesterday using it, it works WONDERFULLY!
     
  15. Jan 26, 2007 #215 of 1740
    greg_burns

    greg_burns Now in HD

    6,384
    0
    May 21, 2004
    Slower...
    http://customersupport.tivo.com/LaunchContent.aspx?CID=4012d160-79c3-4238-96c8-a27b323d1413
    According to that, AC3 only works wth DVD models. Now, I know that isn't right, but I wouldn't go so far as to say AC3 is the only guaranteed format. That seems contrary to the KB at least.

    http://www.tivocommunity.com/tivo-vb/showthread.php?p=3180009&&#post3180009

    pipakin: FileSystemWatcher
    ;)

    Don't need to open ports in your router. That is for outside traffic.
     
  16. Jan 26, 2007 #216 of 1740
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    I think this is the second time in this thread I've seen someone call this dotnot. Are you guys doing that on purpose as a joke, jabbing Microsoft?
     
  17. Jan 26, 2007 #217 of 1740
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Ok, on one of my test MPEG files this returned a "Unsupported codec (id=86020) for input stream #0.1" but on the second one it actually started transcoding (again, this is on the Linux command-line):

    Code:
    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
      configuration:
      libavutil version: 49.0.0
      libavcodec version: 51.7.0
      libavformat version: 50.3.0
      built on Feb 17 2006 16:53:53, gcc: 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
    Input #0, mpeg, from 'Pete Miser - Scent of a Robot.mpg':
      Duration: 00:03:47.7, start: 0.257567, bitrate: 2597 kb/s
      Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 352x240, 8300 kb/s
      Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 224 kb/s
    File 'test.mpg' already exists. Overwrite ? [y/N] y
    Output #0, vob, to 'test.mpg':
      Stream #0.0, 29.97 fps(c): Video: mpeg2video, yuv420p, 720x480, q=2-31, 1024 kb/s
      Stream #0.1: Audio: mp2, 48000 Hz, stereo, 128 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
      Stream #0.1 -> #0.1
    Press [q] to stop encoding
    
    So it would seem my ffmpeg installation is fine. I still get the "this transfer will start when other transfers are completed" message on my TiVo, no .tvm files in my Videos directory.
     
  18. Jan 26, 2007 #218 of 1740
    greg_burns

    greg_burns Now in HD

    6,384
    0
    May 21, 2004
    Slower...
    If it is, they are very ill informed. :thumbsdown:
     
  19. Jan 26, 2007 #219 of 1740
    leppard

    leppard New Member

    15
    0
    Jan 25, 2007
    No, it's because the forum software thinks tivo '.' net is a url and won't allow you to post it (until you have made five posts). At least that's why I used it.
     
  20. Jan 26, 2007 #220 of 1740
    pipakin

    pipakin New Member

    315
    0
    Jan 22, 2007
    Hrm. Ok, I'm going to go add a "verbose" mode and output all sorts of debugging info to the console for the mono version. I'll probably get to that when I get home today. I'll have a lot more time to work on this this weekend, when I don't have to work.

    As for all the feature requests, if you add to the tracker at sourceforge, I'm more likely to get to them :)

    I thought I had forced the audio codec to mpeg-2, but I guess I didn't...and I was going from spec, which said mpeg-2, stereo, was the most compatible. *shrug*

    I'll move the AV options page up in the list.

    Also, the dynamic scanning of the directory: I'll move this up on the features to be added list, but how often are the files in that directory changing while you're watching TV? :)
     

Share This Page