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

pyTivoX

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.

  1. Feb 18, 2009 #281 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, since there *is* no preferences panel, the bug isn't that it's greyed out. The bug is that there's a menu option for it. Removing it for next release. The main window is all there is. Sometimes it is hidden behind other windows (try minimizing/hiding other applications). Also, top right menulet may let you hide/show the main window.

    As to why it's not working for you in general for pyTivo. I don't really know. Since there's nothing interesting in the logs, and nothing more than 'it used to work for me but now it doesn't', it's really hard to debug.
     
  2. Feb 18, 2009 #282 of 1437
    Sevenfeet

    Sevenfeet Gentle Giant

    164
    0
    Jun 24, 2000
    Nashville, TN
    It was the top right menulet. I feel completely embarrassed now. :)

    Hey, b20 is up !
     
  3. Feb 18, 2009 #283 of 1437
    TadK

    TadK New Member

    19
    0
    Oct 19, 2007
    Tivo S2, I am able to stream content through the Tivo (showcases, photostream, etc.) iTivo see the tivo and transfer to mac is fine. Tivo is hardwired to same route as mac.

    Was previously using the tivo software and visual hub plugin to place content back on the tivo with no issues. I really was drawn to this for the ability to organize my media collection. Nothing else has changed network wise.

    Shared media is on mounted external drive and a local folder on the mac.

    Tad
     
  4. Feb 18, 2009 #284 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I'm assuming you don't mean 'stream content through the Tivo' with streambaby? That doesn't work on S2.

    When you use iTiVo, does it tell you the tivo's name at the top menu? or does it say "My Tivos" and you type in an IP address?
     
  5. Feb 18, 2009 #285 of 1437
    TadK

    TadK New Member

    19
    0
    Oct 19, 2007
    No- I can access the standard web content through the tivo- not the streambaby content. (honestly not even sure what that is).

    In iTivo, from left to right- my IP address, a drop menu with "My Tivos" and "HomeTivo" (where hometivo is our tivo)
     
  6. Feb 18, 2009 #286 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Hm... so your tivo and your mac are definitely talking. and nothing seems to be filtering broadcast packets.... I guess there's a few more things to try, none of them too easy though :(.

    First, lets try using a different port, just in case something else is already using that (although I *think* we would see something in the log if that were the case). Open up pyTiVoX (use the beta), Make sure you have 'pyTivo's checkbox selected (classic). Add at least one video share at the bottom. Hit Apply, and then hit the big red 'exit' button.
    Now open up the Finder, and go to <user>/Library/Application Support/pyTivoX/. Option-click (or right click) pyTivo.conf, and choose "Open With...", "other...". From the menu choices pick "TextEdit".

    Where you see a Port=9032, change that to somehting like 9123. And where you see a beacon=xxx.xxx.xxx.255, change that to the IP address of your tivo. Save, and exit.

    Now start up pyTivoX again. DO NOT HIT APPLY!!! :)

    Go to your tivo, check the bottom of the 'now playing...' list. Is your computer listed there now?
     
  7. Feb 18, 2009 #287 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    it would be useful if you could look at /tmp/pyTivoX-SB.log and see if there's anything useful there. I know for a fact that my mkv files, which I encoded using x.264/ac-3 using handbrake, work fine.

    Sounds like the mpeg-4 video is using a h.264 encoding that is more advanced than the tivo likes, but which ffmpeg is happy to read (which is why transcoding to mpeg-2 is working fine, as are thumbnails, but when transmitted as-is, it breaks). Unfortunately, your only solution (other than hoping that tivo suddenly supports more advanced encodings) is to re-encode it -- either on the fly, or by loading it into handbrake again. Selecting 'high' for the transcode *should* be of a high-enough quality that you wouldn't notice the re-encode's quality degradation. Is your complaint that it looks bad or that it eats CPU cycles on your computer?
     
  8. Feb 18, 2009 #288 of 1437
    kearygriffin

    kearygriffin New Member

    346
    0
    Jan 31, 2008
    The SVN version of streambaby should recognize these MP4 files as not being TiVo compatible and transcode appropriately. V0.24 would just try to pass them to the TiVo and you would get the blackscreen with audio. This will be included in the next release.
     
  9. Feb 18, 2009 #289 of 1437
    TadK

    TadK New Member

    19
    0
    Oct 19, 2007
    Okay- multi thread response here... Not being one to wait around, I pulled out my laptop and installed iTivo and pyTivoX. Fired it up and my share was found. Hooray. Sadly this confirmed that something with the desktop was wrong.. I'm a believe now- the software is that simple and works! Amazed.

    Back to the home machine.... I opened the conf file and changed the port and beacon. Everything now works from the home machine. So i must have a conflict on the machine with ports.

    I am going to assume that any updates or accidental clicks of "apply" will require me to reset the port (unless I can figure out what other app is sitting on it) and beacon?

    Tad
     
  10. Feb 18, 2009 #290 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Updates will not touch the file.

    Clicking 'apply' will. So avoid hitting 'apply'. Unfortunately, with some releases, you may want to hit apply to enable new features :(.

    Before you spend a lot of time trying to track down the culprit. Maybe a reboot will help? Maybe there's some rogue old version of pyTivo left over that's holding the port open?
     
  11. Feb 18, 2009 #291 of 1437
    matelot

    matelot New Member

    12
    0
    Feb 6, 2009
    Everything is working fine with the beta version. I want to find out if it's possible to add movie description before viewing the movie. Just like Tivo where it gives the show description. Right now, it just shows the filename on Tivo.
     
  12. Feb 19, 2009 #292 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Yes. This is called metadata. To set up metadata that works with both pyTivo and streambaby, you will need to create a .txt file with the appropriate metadata. So for a movie named myfile.mp4, you need to create a text file named myfile.mp4.txt , and put appropriate values in it. The values are documented here: http://pytivo.armooo.net/wiki/MetaData. If you get your shows off the tivo using 'iTiVo', you can have iTiVo create an appropriate metadata file for you with all the correct values.

    If you only care about streambaby, and only use mp4 files, you can go a slightly easier route and just use metadata within the mp4 file. A tool like MetaX will do the hard work for you.

    If you have further questions about this, I'd recommend posting them under the pyTivo or streambaby thread (not pyTiVoX, which is just a mac front-end). As there will be more people who can help you out.
     
  13. Feb 19, 2009 #293 of 1437
    pmd

    pmd New Member

    32
    0
    Dec 14, 2004
    I made a slight mistake, the actual error shown in red on the TV was 'Stream failed to open'. Here's the log:

    Code:
    Thu 2009/02/19 20:25:56.184|   |Acceptor|VideoModuleHelper|Guessing bitrate for file:/Volumes/Store/Video/TV/The%20Wire/Season%201/Wire_S01E01.mkv to: 565
    Thu 2009/02/19 20:25:56.264|   |Acceptor|ViewScreen|Desc: Wire_S01E01
    Thu 2009/02/19 20:25:57.913|   |Acceptor|PreviewWindow|pWidth: 640
    Thu 2009/02/19 20:25:57.913|   |Acceptor|PreviewWindow|preview parent=BView[#2559,bounds=0,0,640x480]
    Thu 2009/02/19 20:25:57.916|   |Acceptor|HostContext|key=mpos:file:/Volumes/Store/Video/TV/The%20Wire/Season%201/Wire_S01E01.mkv applicationId=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
    Thu 2009/02/19 20:25:57.916|   |Acceptor|HostContext|applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
    Thu 2009/02/19 20:25:57.917|   |Acceptor|HostContext|applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/02/19 20:25:57.917|   |Acceptor|HostContext|compKey=6630001801F21FD-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/02/19 20:25:57.942|   |Acceptor|ViewScreen|goto position: 0, vidlen: 3728426
    Thu 2009/02/19 20:25:57.942|   |Acceptor|ViewScreen|Position not in buffer, starting new stream
    Thu 2009/02/19 20:25:58.193|   |master|ViewScreen|Openening stream at position: 0(0 secs)
    Thu 2009/02/19 20:25:58.193|   |master|VideoModuleHelper|quality setting is above quality of video, streaming normally
    Thu 2009/02/19 20:25:58.197|   |master|FFmpegExeVideoModule|Using ffmpeg transcode args: -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 2 -sameq -ab 384k
    Thu 2009/02/19 20:25:58.201|   |master|FFmpegExeVideoModule|FFmpegCmd: /Applications/pyTivoX.app/Contents/Resources/ffmpeg.bin -ss 0.0 -i /Volumes/Store/Video/TV/The Wire/Season 1/Wire_S01E01.mkv -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 2 -sameq -ab 384k tcp://127.0.0.1:8500
    Thu 2009/02/19 20:25:58.247|   |Acceptor|Application|Already initialized, not re-initing.
    Thu 2009/02/19 20:25:58.249|   |Acceptor|Application|Already initialized, not re-initing.
    Thu 2009/02/19 20:25:58.362|   |master|FFmpegExeVideoModule|FFmpeg failed to continue running... Assuming error
    Thu 2009/02/19 20:25:58.363|   |master|SocketProcessInputStream|Destroying running process...
    Thu 2009/02/19 20:25:58.364|   |master|ViewScreen|error=Failed to open stream
    Thu 2009/02/19 20:26:05.480|   |Acceptor|ViewScreen|code=4 rawcode=16777732
    Thu 2009/02/19 20:26:05.481|   |Acceptor|HostContext|key=mpos:file:/Volumes/Store/Video/TV/The%20Wire/Season%201/Wire_S01E01.mkv value=0
    Thu 2009/02/19 20:26:05.484|   |Acceptor|HostContext|key=mpos:file:/Volumes/Store/Video/TV/The%20Wire/Season%201/Wire_S01E01.mkv value=0applicationId=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
    Thu 2009/02/19 20:26:05.484|   |Acceptor|HostContext|applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
    Thu 2009/02/19 20:26:05.485|   |Acceptor|HostContext|applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/02/19 20:26:05.485|   |Acceptor|HostContext|compKey=6630001801F21FD-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/02/19 20:26:05.485|   |Acceptor|HostContext|compKey=6630001801F21FD-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/02/19 20:26:05.485|   |Acceptor|HostContext|compKey=6630001801F21FD-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/02/19 20:26:05.706|   |master|SelectionScreen|focusOn entry=Wire_S01E01
    And the output from ffmpeg -i:

    Code:
    Input #0, matroska, from '/Volumes/Store/Video/TV/The Wire/Season 1/Wire_S01E01.mkv':
      Duration: 01:02:08.42, start: 0.000000, bitrate: N/A
        Stream #0.0(eng): Audio: aac, 24000 Hz, stereo, s16
        Stream #0.1(eng): Audio: aac, 24000 Hz, mono, s16
        Stream #0.2(eng): Video: mpeg4, yuv420p, 448x336 [PAR 1:1 DAR 4:3], 23.98 tb(r)
    Finally, output from mkvinfo:
    Code:
    mkvinfo /Volumes/Store/Video/TV/The\ Wire/Season\ 1/Wire_S01E01.mkv 
    + EBML head
    |+ Doc type: matroska
    |+ Doc type version: 1
    |+ Doc type read version: 1
    + Segment, size 263647235
    |+ Seek head (subentries will be skipped)
    |+ EbmlVoid (size: 4027)
    |+ Segment information
    | + Muxing application: libebml v0.7.0 + libmatroska v0.7.0
    | + Writing application: mkvmerge v0.9.1 built on Jun 15 2004 23:29:28
    | + Duration: 3728.426s (01:02:08.426)
    | + Date: Mon Nov  1 04:17:07 2004 UTC
    | + Title: The Wire - 101 - The Target (with optional commentary)
    | + Segment UID: 0xd5 0x5f 0x0e 0x23 0xee 0x9f 0x35 0x55 0x3a 0x7d 0x2f 0x39 0x85 0x7d 0x1d 0xce
    |+ Segment tracks
    | + A track
    |  + Track number: 1
    |  + Track UID: 809150688
    |  + Track type: audio
    |  + MinCache: 0
    |  + Timecode scale: 1
    |  + Codec ID: A_AAC/MPEG4/LC/SBR
    |  + Default duration: 42.667ms (23.438 fps for a video track)
    |  + Default flag: 1
    |  + Language: eng
    |  + Audio track
    |   + Sampling frequency: 24000
    |   + Channels: 2
    |   + Output sampling frequency: 48000
    | + A track
    |  + Track number: 2
    |  + Track UID: 3465606272
    |  + Track type: audio
    |  + MinCache: 0
    |  + Timecode scale: 1
    |  + Codec ID: A_AAC/MPEG4/LC/SBR
    |  + Default duration: 42.667ms (23.438 fps for a video track)
    |  + Default flag: 0
    |  + Language: eng
    |  + Name: Director's Commentary
    |  + Audio track
    |   + Sampling frequency: 24000
    |   + Channels: 1
    |   + Output sampling frequency: 48000
    | + A track
    |  + Track number: 3
    |  + Track UID: 3553208210
    |  + Track type: video
    |  + MinCache: 1
    |  + Timecode scale: 1
    |  + Codec ID: V_MS/VFW/FOURCC
    |  + CodecPrivate, length 40 (FourCC: XVID, 0x44495658)
    |  + Default duration: 41.708ms (23.976 fps for a video track)
    |  + Default flag: 1
    |  + Language: eng
    |  + Video track
    |   + Pixel width: 448
    |   + Pixel height: 336
    |   + Display width: 448
    |   + Display height: 336
    |  + Lacing flag: 0
    |+ EbmlVoid (size: 1024)
    |+ Cluster

    Not a complaint, just an observation :) I didn't think of trying 'high' quality until I was writing my post, but I was away from the TiVo. I guess I'm more concerned about a seamless user experience, though the transcoding does kick the Macbook's fans into overdrive, so much so that I can hear it from the next room!

    PyTivoX and streambaby are excellent projects - I was so excited about the prospect of not having to drag the laptop into the lounge to connect to the TV anymore that I couldn't sleep last night. Thank you!
     
  14. Feb 19, 2009 #294 of 1437
    Techtravler

    Techtravler New Member

    7
    0
    Feb 12, 2009
    Too bad....for the 10.5 only this looked good.
     
  15. Feb 19, 2009 #295 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    It *looks* as if ffmpeg is dying while trying to deal with the file. Can you run:
    Code:
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg -ss 0.0 -i "/Volumes/Store/Video/TV/The Wire/Season 1/Wire_S01E01.mkv" -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 2 -sameq -ab 384k /tmp/output.mpg
    rm /tmp/output.mpg
    
    Is it working fine or does it exit/crash with some interesting error?
     
  16. Feb 19, 2009 #296 of 1437
    Sevenfeet

    Sevenfeet Gentle Giant

    164
    0
    Jun 24, 2000
    Nashville, TN
    Just some observations...

    pTivoX (and Streambaby) have been getting better by leaps and bounds ever since Streambaby + ffmpeg came into the mix. It's nice that streaming video that wouldn't play before now can get transcoded before streaming to the Tivo.

    But I'm also starting to face the limits of my technology, which for those who know my setup, should be painfully obvious. I'm running a Leopard Server on a PowerMac G4 Gigabit Dual 450 Mhz. Yes, its hacked to run Leopard on non-standard hardware although I run a newer video card, FW800 card and a FW400+USB2.0 card for devices like my Drobo 800 and Firewire 400 arrays for Time Machine backup storagefor other Macs on my network. But a dual processor elderly PPC machine can only do so much when it comes to the high demand world or digital transcoding.

    It doesn't take a lot of horsepower to run a file server. One thing my setup does pretty well is just pumping either MPEG2 files from ripped DVDs to the Tivo via pTivoX/Streambaby or Mp4 files that don't need further transcoding. And pushing .tivo files back to the Tivo that were copied either from iTivo or Toast is pretty effortless. But ask the setup to do transcoding in real time and the whole thing grinds to a halt since it can't keep up in realtime. One thing that seems not to be going on the use of both processors by ffmpeg. I'm not sure if its designed for multiprocessor use, but it is noticeable from my server logs that one processor is usually loafing during streaming.

    Another problem I see are with the "gravy" features of the product...pictures and music. Since nearly all of our pictures are in an iPhoto library, it doesn't really pay to have pTivoX handle them (Tivo Desktop talks to iPhoto directly). But for the loose photo folders I do have, the Tivo S3 would eventually error out in showing photos after about 3-5 photos shown. This never happens with Tivo Desktop.

    And for music, I just pointed pTivoX to my iTunes Music Folder. Again, this works but it doesn't take advantage of any playlists I may have done (another Tivo Desktop feature). 99&#37; of my library are either AAC or Apple Lossless files. pTivoX transcodes this to MP3 for Tivo use, but for some reason it can't do it without music skips. Tivo Desktop + Lame 3.97 has never had this performance problem on my server.

    Again, I'm not trying to knock a product I really really like and am beginning to use more frequently. But I'm thinking that some of these performance issues could be addressed while others (like video transcoding) are probably left to my next Mac server (maybe the next intel-based Mini).
     
  17. Feb 19, 2009 #297 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, I'm happy you're finding the program useful. I'll try and respond to the points:

    streambaby is asking ffmpeg to use both processors (I changed the config to test for the number of cores and add a -threads {X} to the commandline). You can check that it indeed has the correct number by looking at <user>/Library/Application Support/pyTivoX/streambaby.ini for the ffmpegexe.transcode line. If it's not there, you may need to update to the latest pytivo and hit 'apply'. If it's *still* not there, then my code is probably failing to ID the number of cores/CPUs on your computer. We can fix that.

    pyTivo is *not* doing that, mostly because I was a little uncomfortable modifying the ffmpeg_prams value (pyTivo seemed to be doing a good job with ID'ing tivo types and doing the right thing, and I was worried that overriding it would cause issues). If you feel 'brave' edit pytivo.conf, and add
    Code:
    ffmpeg_prams = -vcodec mpeg2video -threads 2 -r 29.97 -b &#37;(video_br)s -maxrate %(max_video_br)s -bufsize %(buff_size)s %(aspect_ratio)s -comment pyTivo.py -ab %(audio_br)s %(audio_fr)s %(audio_codec)s -f vob - 
    in the Server section. (change the number of threads to the number of cores/cpus you have. Keep in mind 'apply' overwrites this file.


    If that still isn't enough, you may want to consider pre-transcoding your files to a format the tivo likes, and then pytivo/streambaby will do no transcoding... Or, biting the bullet and buying a new computer. Keep in mind pyTivo and streambaby will happily run on linux, so you can probably buy/build a very nice fileserver for almost no cost. (although I'm partial to the mac, if saving cash is a priority, you can get VERY cheap monitor-less computers).


    As for music/pictures (in pytivo). it *would* be nice if someone wrote a media plugin for pytivo that could choose itunes playlists. I personally don't use pytivo for pictures/music though, and I suspect most of the developers are currently focussing on the new 'mp4' stuff. However, it probably wouldn't hurt to suggest such a thing on the pytivo thread or forum (pyTivoX really is just a front-end..).

    I'm not certain why you are getting skips in the music though. It's possible that I have a configuration problem (or that there is a dependency on something I failed to include?). I just tried playing some music from my computer and didn't notice any skipping though (yeah a single data point doesn't mean much). Maybe someone else can chime in with an explanation or a fix? -- although again, most pyTivo users are probably not even reading this thread, since this is just about the mac port...

    oops, and I just re-read the message. Sounds like 'photos' is also breaking. Oddly enough, it's working for me (grrr). Can you see if there's anything interesting in /tmp/pyTivoX.log ? Are your pictures all jpegs, or do you use a different graphic format? There was an issue with photos that was fixed several betas ago, so can you please check that you are running the latest beta?

    Anyways, that's pretty much all I can offer in terms of advice. I would like to fix the music issue if that can be done.
     
  18. Feb 19, 2009 #298 of 1437
    pmd

    pmd New Member

    32
    0
    Dec 14, 2004
    It exits with an error:

    Code:
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg -ss 0.0 -i "/Volumes/Store/Video/TV/The Wire/Season 1/Wire_S01E01.mkv" -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 2 -sameq -ab 384k /tmp/output.mpg
    FFmpeg version SVN-r17434, Copyright (c) 2000-2009 Fabrice Bellard, et al.
      configuration: --arch=i386 --cpu=i686 --disable-vhook --disable-static --enable-shared --enable-pthreads --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libx264 --enable-swscale --extra-cflags=-I/Users/yoav/src/lame/include -I/Users/yoav/src/faad2/include -I/Users/yoav/src/faac/include -I/Users/yoav/src/x264 --extra-ldflags=-L/Users/yoav/src/lame/libmp3lame/.libs -L/Users/yoav/src/faad2/libfaad/.libs -L/Users/yoav/src/faac/libfaac/.libs -L/Users/yoav/src/x264/
      libavutil     49.14. 0 / 49.14. 0
      libavcodec    52.15. 0 / 52.15. 0
      libavformat   52.29. 0 / 52.29. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 0 /  0. 7. 0
      built on Feb 18 2009 10:14:45, gcc: 4.0.1 (Apple Inc. build 5484)
    Input #0, matroska, from '/Volumes/Store/Video/TV/The Wire/Season 1/Wire_S01E01.mkv':
      Duration: 01:02:08.42, start: 0.000000, bitrate: N/A
        Stream #0.0(eng): Audio: aac, 24000 Hz, stereo, s16
        Stream #0.1(eng): Audio: aac, 24000 Hz, mono, s16
        Stream #0.2(eng): Video: mpeg4, yuv420p, 448x336 [PAR 1:1 DAR 4:3], 23.98 tb(r)
    Stream mapping:
      Stream #0.2 -> #0.0
      Stream #0.0 -> #0.1
    Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
    The transcode parameters you gave to Shane in post 275 work fine.
     
  19. Feb 19, 2009 #299 of 1437
    Sevenfeet

    Sevenfeet Gentle Giant

    164
    0
    Jun 24, 2000
    Nashville, TN
    Well I checked again and apparently I was wrong. Not only is pyTivoX accurately checking the number of processors in the machine (2) but it also seems to be using them. I streamed a Bugs Bunny cartoon I use for testing purposes and the load average on both CPUs spiked. Not sure what was going on with my previous observation. But it's not fast enough to handle it in real time. :(

    What pre-transcoding method is the best these days? I usually like Handbrake although I remember that the old videostream didn't care for handbrake rendered files much. If there a pre-set that can save me the trouble and is it possible to sent AC3 instead of AAC (for the sake of my home theater)? As for a new computer, I'm pre-disposed to Macs as well (I'm a former Apple employee from 20 years ago). I'm hoping Apple introduces a 4-core Mac Mini sometime this year which can replace my current Leopard server. My servers are in my basement and don't need nice monitors. Old screens will do for occasional maintenance.

    For photos, I asked pyTivoX to do a slideshow of a group of jpegs I have...about 24 pics in all. It would not fail on the same pic. Sometimes you would get the a broken picture icon as an error. But when things really got bad, you'd get:

    An unexpected error occured while accessing the server. (Error#5-6)

    On the backend, I tracked the /tmp.pyTivoX.log file with a tail -f command. When the aforementioned error appeared on screen, the log file was getting this written into it:

    192.168.0.8 - - [19/Feb/2009 15:26:30] "GET /TiVoConnect?Command=QueryContainer&Container=Drobo%20Photos%2FNew%20Pics&Recurse=Yes&Filter=image%2F*&SortOrder=Type,CaptureDate&AnchorItem=%2FDrobo%2520Photos%2FNew%2520Pics%2FIMG_0294.JPG&ItemCount=1&Details=Optimal&Format=text%2Fxml HTTP/1.0" 200 -

    This line was getting repeated every few seconds as if pyTivoX was working just fine but it had lost contact with the Tivo itself. Weird.

    Music still skips when playing anything else but an MP3.
     
  20. Feb 19, 2009 #300 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok, I'm wondering if that's because we're asking for an invalid audio bitrate. Does this work?
    Code:
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg -ss 0.0 -i "/Volumes/Store/Video/TV/The Wire/Season 1/Wire_S01E01.mkv" -acodec ac3 -vcodec mpeg2video -f vob -async 1 -r 23.976 -v 0 -threads 2 -sameq -ab 224k /tmp/output.mpg
    
    (the only thing I changed is the audio bitrate to match post 275). If so, then grumble :(. Does 192k also work? The only main difference I can tell between your files and mine in the audio is that you're using 24k instead of 40 or 48. I'm *hoping* there won't be a need to do a lot of audio parsing and configuring depending on the input...
     

Share This Page