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

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Based on a small amount of testing, here's what I think is happening:

    Even on a THD, it looks to see if the programId exists on the TiVo. In the NPL, the guide, and possibly history. If it exists, the information for that entry is used.

    My suggestion for you would be to comment out the programId when you add the title.
     
  2. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Thedan04: It could be a firewall problem. Make sure port 9032 (or other, if defined) is open.
     
  3. thedan04

    thedan04 New Member

    2
    0
    Nov 26, 2013

    UPDATE:

    It was the firewall. I started iptables and explicitly set a rule to allow tcp traffic on port 9032 and the videos became available. For some reason, even though IPtables was stopped, the traffic was not getting through. Thank you wmcbrine!!


    IPtables is stopped on my desktop for testing purposes and the tivo and desktop are on the same network.

    # netstat -ntlp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:9032 0.0.0.0:* LISTEN 4027/python

    Port 9032 is listening on my desktop. Should I be able to access port 9032 on the tivo? (Also I assume the protocol is tcp).

    I can access port 80 and receive the default web page there. I do not currently have a cable source to record content from. If needed for testing purposes I could probably hook my cam corder to the rca inputs and record that way to see if I can retrieve content from the tivo. Let me know if that or other testing would be helpful.

    Thank you for the prompt response.
     
  4. Marconi

    Marconi TiVo Junkie

    444
    0
    Sep 8, 2001
    Page, AZ USA
    I've often wondered if there were a character to designate a comment in metadata files. Is it "#"?
     
  5. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Yes. If the first character of a line in the metadata file is "#", the line is ignored.
     
  6. Dec 8, 2013 #4526 of 5683
    xekester

    xekester New Member

    40
    0
    Nov 10, 2005
    Using pyTivo, lately my Premier TiVo has been unable to retrieve my Movies share from my NAS. It does retrieve other shares from the same source though sometimes these
    can fail on the first attempt. Subsequent attempts for these other shares usually succeed. Repeated attempts for Movies does not work. Only error I see is on the TiVo - unable
    to retrieve list because it is unavailable. No error is recorded in pyTivo's log.

    Here's a successful retrieve for HomeMovies share followed by an unsuccessful retrieve for Movies share:

    2013-12-08 19:48:33,894 INFO pyTivo: 127.0.0.1 [08/Dec/2013 19:48:33] "GET /TiVoConnect?Command=QueryContainer&Container=Movies HTTP/1.1" 200 -
    2013-12-08 19:48:34,332 INFO pyTivo: 127.0.0.1 [08/Dec/2013 19:48:34] "GET /favicon.ico HTTP/1.1" 200 -
    2013-12-08 20:18:07,016 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:07] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    2013-12-08 20:18:12,930 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:12] "GET /TiVoConnect?Command=QueryContainer&Container=HomeMovies&Recurse=
    Yes&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F*&SerialNum=7500001903B530E HTTP/1.1" 200 -

    2013-12-08 20:18:12,992 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:12] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,069 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,164 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,256 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,319 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,398 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,490 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:13,569 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:13] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg-ts HTTP/1.1" 200 -
    2013-12-08 20:18:27,328 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:27] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
    2013-12-08 20:18:59,496 INFO pyTivo: 192.168.1.153 [08/Dec/2013 20:18:59] "GET /TiVoConnect?Command=QueryContainer&Container=Movies&Recurse=
    Yes&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F*&SerialNum=7500001903B530E HTTP/1.1" 200 -


    As a test, using a browser, I execute "http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=Movies" and that does bring back what appears to be a complete XML list of Movies.

    My pyTivo.config:
    [Server]
    beacon = 192.168.1.255
    temp = C:\pytivo\temp
    tdcat = C:\pytivo\bin\tivodecode\tdcat.exe
    debug = on
    tivo_password = XXXXXXX
    tivo_mak = XXXXX
    tivo_username = XXXXX
    ts = on
    togo_path = \\DiskStation\video\Tivo
    ffmpeg = C:\pytivo\bin\ffmpeg.exe
    tivodecode = C:\pytivo\bin\tivodecode\tivodecode.exe

    [_tivo_SD]

    [_tivo_HD]

    [loggers]
    type = music
    keys = root

    [handlers]
    type = music
    keys = console,rotfile

    [formatters]
    type = music
    keys = basicform

    [logger_root]
    level = DEBUG
    handlers = console,rotfile
    type = music

    [handler_console]
    class = StreamHandler
    args = (sys.stdout,)
    formatter = basicform
    type = music

    [handler_rotfile]
    args = ('C:\pytivo\Log\debug.log', 'a', 10485760, 5)
    class = handlers.RotatingFileHandler
    formatter = basicform
    type = music

    [formatter_basicform]
    type = music
    format = %(asctime)s %(levelname)-5s %(name)s: %(message)s

    [Music]
    type = music
    path = \\Diskstation\Music\iTunes\Music

    [TVShows]
    force_alpha = on
    path = \\Diskstation\video\TVShows
    type = video

    [HomeMovies]
    path = \\Diskstation\video\HomeMovies
    force_alpha = on
    type = video

    [TestMovies]
    force_alpha = on
    type = video
    path = \\Diskstation\video\TestMovies

    [Movies]
    type = video
    path = \\Diskstation\video\Movies
    force_alpha = on


    Any ideas how I can try to debug/resolve this? Is it a metadata problem? Any tips for finding metadata issues (I have over 400+ videos)?

    Thanks,
    Xekester
     
  7. Dec 8, 2013 #4527 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    This is doing a recursive search. Am I right in assuming that there are subfolders here (not 400 files in one directory)? If so, I'd try turning off the recursive search -- i.e., turning on folders -- press 2. See if that narrows down the problem any.
     
  8. Dec 9, 2013 #4528 of 5683
    xekester

    xekester New Member

    40
    0
    Nov 10, 2005
    Yes, share folder directories are generally ordered as follows (for use by other media streamers):

    Movie folder 1
    ........Movie 1
    Movie folder 2
    ........Movie 2

    Setting folders almost fixes it...
    With folders on, all of the movies in the share show up except LOR 123 (six disk set).
    The folder structure containing these are:

    Lord of the Rings
    ........Fellowship
    ................Fellowship Part 1 movie
    ................Fellowship Part 2 movie
    ........Two Towers
    ................Two Towers Part 1 movie
    ................Two Towers Part 2 movie
    ........Return of The King
    ................Return of The King Part 1 movie
    ................Return of The King Part 2 movie

    With folders on, the first and second level directors are displayed; The third
    level directories (That contain the actual movies) display a blank scrollable
    screen. Scrolling up/down continues to display a blank screen.
    So, it seems that a two level hierarchy is OK, three is not.

    Also, unfortunately, turning on folders as a solution is a non-starter -low WAF :(

    Thanks,
    Xekester
     
  9. Dec 9, 2013 #4529 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    It's not the number of levels. It could be, as you suggested earlier, a metadata issue. Now that you have it narrowed down to six files (three folders), try temporarily removing or renaming the metadata files from one of those folders, and see if that fixes it. If it does, post the offending metadata here so I can test it. If it doesn't, try looking at the specs of these files with ffmpeg -i filename.
     
  10. Dec 9, 2013 #4530 of 5683
    xekester

    xekester New Member

    40
    0
    Nov 10, 2005
    Removing all of the non-movie files from the directory made no difference.

    Not sure how to rum ffmpeg in this case. pyTivo is running on a win7 machine, the movie files are on a Synology NAS. I typically access these files with paths like \\DiskStation\video\Movies\...

    Windows cmd window does not let me change to a directory with a pathname like that.

    If it helps, here's the MediaInfo version of the info for the first two files: SEE Post #4531 - for ffmpeg -I output

    Fellowship Part1
    General
    Unique ID : 85924609202925646838232484770013463708 (0x40A47A4FF1FF8E3ABEA68E686A6F449C)
    Complete name : \\DiskStation\video\Movies\Lord_Of_The_Rings,_The\The_Fellowship_of_the_Ring_(2001)\The_Fellowship_of_the_Ring_(2001) [part 1 of 2].mkv
    Format : Matroska
    Format version : Version 2
    File size : 26.7 GiB
    Duration : 1h 45mn
    Overall bit rate mode : Variable
    Overall bit rate : 36.2 Mbps
    Movie name : THE LORD OF THE RINGS: THE FELLOWSHIP OF THE RING (EXT.) PT. 1
    Encoded date : UTC 2012-01-06 03:41:47
    Writing application : MakeMKV v1.7.0 win(x64-release)
    Writing library : libmakemkv v1.7.0 (1.2.0/1.1.0) win(x64-release)

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Format settings, GOP : M=1, N=10
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1h 45mn
    Bit rate mode : Variable
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Language : English
    Default : Yes
    Forced : No

    Audio #1
    ID : 2
    Format : DTS
    Format/Info : Digital Theater Systems
    Format profile : MA / Core
    Mode : 16
    Format settings, Endianness : Big
    Codec ID : A_DTS
    Duration : 1h 45mn
    Bit rate mode : Variable
    Bit rate : Unknown / 1 509 Kbps
    Channel(s) : 7 channels / 6 channels
    Channel positions : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Compression mode : Lossless / Lossy
    Title : Lossless
    Language : English
    Default : Yes
    Forced : No

    Audio #2
    ID : 3
    Format : DTS
    Format/Info : Digital Theater Systems
    Format profile : ES
    Mode : 16
    Format settings, Endianness : Big
    Codec ID : A_DTS
    Duration : 1h 45mn
    Bit rate mode : Constant
    Bit rate : 1 509 Kbps
    Channel(s) : 7 channels / 6 channels
    Channel positions : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Compression mode : Lossy
    Stream size : 1.11 GiB (4%)
    Title : 3/2+1
    Language : English
    Default : No
    Forced : No

    Text #1
    ID : 4
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : Yes
    Forced : No

    Text #2
    ID : 6
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Text #3
    ID : 8
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Text #4
    ID : 10
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Text #5
    ID : 12
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Menu
    00:00:00.000 : en:Chapter 00
    00:07:36.789 : en:Chapter 01
    00:10:35.551 : en:Chapter 02
    00:15:39.855 : en:Chapter 03
    00:19:58.488 : en:Chapter 04
    00:25:32.614 : en:Chapter 05
    00:29:57.378 : en:Chapter 06
    00:32:10.678 : en:Chapter 07
    00:34:51.798 : en:Chapter 08
    00:36:18.176 : en:Chapter 09
    00:45:04.159 : en:Chapter 10
    00:46:44.301 : en:Chapter 11
    00:51:21.411 : en:Chapter 12
    00:55:12.434 : en:Chapter 13
    00:57:30.071 : en:Chapter 14
    01:03:31.516 : en:Chapter 15
    01:07:16.115 : en:Chapter 16
    01:08:53.587 : en:Chapter 17
    01:10:35.940 : en:Chapter 18
    01:15:15.385 : en:Chapter 19
    01:17:46.620 : en:Chapter 20
    01:24:11.546 : en:Chapter 21
    01:26:12.500 : en:Chapter 22
    01:29:41.584 : en:Chapter 23
    01:33:14.672 : en:Chapter 24
    01:35:54.081 : en:Chapter 25
    01:37:32.972 : en:Chapter 26


    Fellowship Part 2
    General
    Unique ID : 4948953316243189625061446719106071836 (0x3B9223CAFEA61188585C036A3323D1C)
    Complete name : \\DiskStation\video\Movies\Lord_Of_The_Rings,_The\The_Fellowship_of_the_Ring_(2001)\The_Fellowship_of_the_Ring_(2001) [part 2 of 2].mkv
    Format : Matroska
    Format version : Version 2
    File size : 31.0 GiB
    Duration : 2h 2mn
    Overall bit rate mode : Variable
    Overall bit rate : 36.2 Mbps
    Movie name : THE LORD OF THE RINGS: THE FELLOWSHIP OF THE RING (EXT.) PT. 2
    Encoded date : UTC 2012-01-06 04:09:30
    Writing application : MakeMKV v1.7.0 win(x64-release)
    Writing library : libmakemkv v1.7.0 (1.2.0/1.1.0) win(x64-release)

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 2h 2mn
    Bit rate mode : Variable
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Language : English
    Default : Yes
    Forced : No

    Audio #1
    ID : 2
    Format : DTS
    Format/Info : Digital Theater Systems
    Format profile : MA / Core
    Mode : 16
    Format settings, Endianness : Big
    Codec ID : A_DTS
    Duration : 2h 2mn
    Bit rate mode : Variable
    Bit rate : Unknown / 1 509 Kbps
    Channel(s) : 7 channels / 6 channels
    Channel positions : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Compression mode : Lossless / Lossy
    Title : Lossless
    Language : English
    Default : Yes
    Forced : No

    Audio #2
    ID : 3
    Format : DTS
    Format/Info : Digital Theater Systems
    Format profile : ES
    Mode : 16
    Format settings, Endianness : Big
    Codec ID : A_DTS
    Duration : 2h 2mn
    Bit rate mode : Constant
    Bit rate : 1 509 Kbps
    Channel(s) : 7 channels / 6 channels
    Channel positions : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 24 bits
    Compression mode : Lossy
    Stream size : 1.29 GiB (4%)
    Title : 3/2+1
    Language : English
    Default : No
    Forced : No

    Text #1
    ID : 4
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : Yes
    Forced : No

    Text #2
    ID : 6
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Text #3
    ID : 8
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Text #4
    ID : 10
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Text #5
    ID : 12
    Format : PGS
    Codec ID : S_HDMV/PGS
    Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
    Language : English
    Default : No
    Forced : No

    Menu
    00:00:00.000 : en:Chapter 00
    00:01:15.825 : en:Chapter 01
    00:02:59.220 : en:Chapter 02
    00:04:16.631 : en:Chapter 03
    00:07:22.442 : en:Chapter 04
    00:12:08.728 : en:Chapter 05
    00:18:34.113 : en:Chapter 06
    00:25:04.461 : en:Chapter 07
    00:34:29.192 : en:Chapter 08
    00:44:10.648 : en:Chapter 09
    00:47:23.298 : en:Chapter 10
    00:54:40.318 : en:Chapter 11
    01:00:20.325 : en:Chapter 12
    01:02:01.676 : en:Chapter 13
    01:07:24.206 : en:Chapter 14
    01:12:16.457 : en:Chapter 15
    01:18:44.219 : en:Chapter 16
    01:26:00.155 : en:Chapter 17
    01:28:42.483 : en:Chapter 18
    01:35:00.653 : en:Chapter 19
    01:42:41.155 : en:Chapter 20

    Thanks,
    Xekester
     
  11. Dec 9, 2013 #4531 of 5683
    xekester

    xekester New Member

    40
    0
    Nov 10, 2005
    OK, brute force method - Copied the first two part movie back to my pc and ran ffmpeg -i on them.

    Thanks for you continuing help.
    Xekester

    Fellowship Part 1
    ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Jan 8 2013 16:10:57 with gcc 4.7.2 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
    nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
    c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 52. 13.100 / 52. 13.100
    libavcodec 54. 86.100 / 54. 86.100
    libavformat 54. 59.106 / 54. 59.106
    libavdevice 54. 3.102 / 54. 3.102
    libavfilter 3. 32.100 / 3. 32.100
    libswscale 2. 1.103 / 2. 1.103
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    [dca @ 0037d3a0] Number of channels changed in DCA decoder (6 -> 7)
    [matroska,webm @ 01f0ea80] Stream #3: not enough frames to estimate rate; consider increasing probesize
    [matroska,webm @ 01f0ea80] Stream #5: not enough frames to estimate rate; consider increasing probesize
    [matroska,webm @ 01f0ea80] Stream #7: not enough frames to estimate rate; consider increasing probesize
    [matroska,webm @ 01f0ea80] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [matroska,webm @ 01f0ea80] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [matroska,webm @ 01f0ea80] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, matroska,webm, from 'C:\Temp\Fellowship1.mkv':
    Metadata:
    title : THE LORD OF THE RINGS: THE FELLOWSHIP OF THE RING (EXT.) PT. 1
    creation_time : 2012-01-06 03:41:47
    Duration: 01:45:43.42, start: 0.000000, bitrate: 36179 kb/s
    Chapter #0.0: start 0.000000, end 456.789667
    Metadata:
    title : Chapter 00
    Chapter #0.1: start 456.789667, end 635.551578
    Metadata:
    title : Chapter 01
    Chapter #0.2: start 635.551578, end 939.855578
    Metadata:
    title : Chapter 02
    Chapter #0.3: start 939.855578, end 1198.488956
    Metadata:
    title : Chapter 03
    Chapter #0.4: start 1198.488956, end 1532.614400
    Metadata:
    title : Chapter 04
    Chapter #0.5: start 1532.614400, end 1797.378911
    Metadata:
    title : Chapter 05
    Chapter #0.6: start 1797.378911, end 1930.678733
    Metadata:
    title : Chapter 06
    Chapter #0.7: start 1930.678733, end 2091.798022
    Metadata:
    title : Chapter 07
    Chapter #0.8: start 2091.798022, end 2178.176000
    Metadata:
    title : Chapter 08
    Chapter #0.9: start 2178.176000, end 2704.159778
    Metadata:
    title : Chapter 09
    Chapter #0.10: start 2704.159778, end 2804.301489
    Metadata:
    title : Chapter 10
    Chapter #0.11: start 2804.301489, end 3081.411667
    Metadata:
    title : Chapter 11
    Chapter #0.12: start 3081.411667, end 3312.434111
    Metadata:
    title : Chapter 12
    Chapter #0.13: start 3312.434111, end 3450.071622
    Metadata:
    title : Chapter 13
    Chapter #0.14: start 3450.071622, end 3811.516022
    Metadata:
    title : Chapter 14
    Chapter #0.15: start 3811.516022, end 4036.115400
    Metadata:
    title : Chapter 15
    Chapter #0.16: start 4036.115400, end 4133.587778
    Metadata:
    title : Chapter 16
    Chapter #0.17: start 4133.587778, end 4235.940022
    Metadata:
    title : Chapter 17
    Chapter #0.18: start 4235.940022, end 4515.385867
    Metadata:
    title : Chapter 18
    Chapter #0.19: start 4515.385867, end 4666.620289
    Metadata:
    title : Chapter 19
    Chapter #0.20: start 4666.620289, end 5051.546489
    Metadata:
    title : Chapter 20
    Chapter #0.21: start 5051.546489, end 5172.500667
    Metadata:
    title : Chapter 21
    Chapter #0.22: start 5172.500667, end 5381.584533
    Metadata:
    title : Chapter 22
    Chapter #0.23: start 5381.584533, end 5594.672400
    Metadata:
    title : Chapter 23
    Chapter #0.24: start 5594.672400, end 5754.081667
    Metadata:
    title : Chapter 24
    Chapter #0.25: start 5754.081667, end 5852.972111
    Metadata:
    title : Chapter 25
    Chapter #0.26: start 5852.972111, end 6343.420000
    Metadata:
    title : Chapter 26
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 6.1, fltp, 1536 kb/s (default)
    Metadata:
    title : Lossless
    Stream #0:2(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
    Metadata:
    title : 3/2+1
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (default)
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:7(eng): Subtitle: hdmv_pgs_subtitle

    Fellowship Part 2
    ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
    built on Jan 8 2013 16:10:57 with gcc 4.7.2 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
    nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
    c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 52. 13.100 / 52. 13.100
    libavcodec 54. 86.100 / 54. 86.100
    libavformat 54. 59.106 / 54. 59.106
    libavdevice 54. 3.102 / 54. 3.102
    libavfilter 3. 32.100 / 3. 32.100
    libswscale 2. 1.103 / 2. 1.103
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 2.100 / 52. 2.100
    [dca @ 0037d3a0] Number of channels changed in DCA decoder (6 -> 7)
    [matroska,webm @ 01f0ea80] Stream #3: not enough frames to estimate rate; consider increasing probesize
    [matroska,webm @ 01f0ea80] Stream #5: not enough frames to estimate rate; consider increasing probesize
    [matroska,webm @ 01f0ea80] Stream #7: not enough frames to estimate rate; consider increasing probesize
    [matroska,webm @ 01f0ea80] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [matroska,webm @ 01f0ea80] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [matroska,webm @ 01f0ea80] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, matroska,webm, from 'C:\Temp\Fellowship1.mkv':
    Metadata:
    title : THE LORD OF THE RINGS: THE FELLOWSHIP OF THE RING (EXT.) PT. 1
    creation_time : 2012-01-06 03:41:47
    Duration: 01:45:43.42, start: 0.000000, bitrate: 36179 kb/s
    Chapter #0.0: start 0.000000, end 456.789667
    Metadata:
    title : Chapter 00
    Chapter #0.1: start 456.789667, end 635.551578
    Metadata:
    title : Chapter 01
    Chapter #0.2: start 635.551578, end 939.855578
    Metadata:
    title : Chapter 02
    Chapter #0.3: start 939.855578, end 1198.488956
    Metadata:
    title : Chapter 03
    Chapter #0.4: start 1198.488956, end 1532.614400
    Metadata:
    title : Chapter 04
    Chapter #0.5: start 1532.614400, end 1797.378911
    Metadata:
    title : Chapter 05
    Chapter #0.6: start 1797.378911, end 1930.678733
    Metadata:
    title : Chapter 06
    Chapter #0.7: start 1930.678733, end 2091.798022
    Metadata:
    title : Chapter 07
    Chapter #0.8: start 2091.798022, end 2178.176000
    Metadata:
    title : Chapter 08
    Chapter #0.9: start 2178.176000, end 2704.159778
    Metadata:
    title : Chapter 09
    Chapter #0.10: start 2704.159778, end 2804.301489
    Metadata:
    title : Chapter 10
    Chapter #0.11: start 2804.301489, end 3081.411667
    Metadata:
    title : Chapter 11
    Chapter #0.12: start 3081.411667, end 3312.434111
    Metadata:
    title : Chapter 12
    Chapter #0.13: start 3312.434111, end 3450.071622
    Metadata:
    title : Chapter 13
    Chapter #0.14: start 3450.071622, end 3811.516022
    Metadata:
    title : Chapter 14
    Chapter #0.15: start 3811.516022, end 4036.115400
    Metadata:
    title : Chapter 15
    Chapter #0.16: start 4036.115400, end 4133.587778
    Metadata:
    title : Chapter 16
    Chapter #0.17: start 4133.587778, end 4235.940022
    Metadata:
    title : Chapter 17
    Chapter #0.18: start 4235.940022, end 4515.385867
    Metadata:
    title : Chapter 18
    Chapter #0.19: start 4515.385867, end 4666.620289
    Metadata:
    title : Chapter 19
    Chapter #0.20: start 4666.620289, end 5051.546489
    Metadata:
    title : Chapter 20
    Chapter #0.21: start 5051.546489, end 5172.500667
    Metadata:
    title : Chapter 21
    Chapter #0.22: start 5172.500667, end 5381.584533
    Metadata:
    title : Chapter 22
    Chapter #0.23: start 5381.584533, end 5594.672400
    Metadata:
    title : Chapter 23
    Chapter #0.24: start 5594.672400, end 5754.081667
    Metadata:
    title : Chapter 24
    Chapter #0.25: start 5754.081667, end 5852.972111
    Metadata:
    title : Chapter 25
    Chapter #0.26: start 5852.972111, end 6343.420000
    Metadata:
    title : Chapter 26
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 6.1, fltp, 1536 kb/s (default)
    Metadata:
    title : Lossless
    Stream #0:2(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
    Metadata:
    title : 3/2+1
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (default)
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle
    Stream #0:7(eng): Subtitle: hdmv_pgs_subtitle
     
  12. Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    Hey, I decided to move my pyTivo server from my honking power eating Dell XPS to a RaspberryPi. It's working splendidly, except every TiVo in the house sees the recording as protected by the copyright holder. All of them. I thought perhaps it was a mounting issue since the recordings are on an external USB drive(NTFS formatted). Samba shares work fine as far as I've tested them. So is there a setting I'm missing?

    PS: I'm only using pyTivo as a hosting server. It's not pushing or receiving content from anywhere other than perhaps as a file copy over the network via a Samba Share.
     
  13. gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    File formats and pytivo debug logs? It's likely either a permissions problem or a conversion problem (if the files are not already mpeg2, .tivo or mp4 [via pushes or 'ts=on'-enabled pulls] then pytivo will require ffmpeg to convert to a compatible format). If it's a conversion issue, it looks like it's possible to get ffmpeg going on the Pi, but it might not be practical in usage for pytivo (read: it probably will be WAY slow):
    https://trac.ffmpeg.org/wiki/How%20to%20compile%20FFmpeg%20for%20Raspberry%20Pi%20(Raspbian)
     
  14. lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Are you using the same version of ffmpeg as before?
     
  15. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Perhaps the attached looks familiar to someone. I haven't connected to my premier since the last software update. As you can see in the attached, it shows up on the pyTivo web page as an ip address instead of it's name "other". Anyone with a clue what could be causing that?

    I can see the shares from my Linux box running pytivo but they always appear empty when I click on them. Same with clicking on the ip link on the webpage, it just times out.

    There has to be something obvious this is saying but I can't hear the message... lol...

    Nevermind, just as I posed the above I hit connect and got the new updated OS. After install all is well again. Not sure what it was about that old OS version but it sure didn't network very well.
     

    Attached Files:

  16. Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    Gonzotek
    This implementation is for distribution only. I'm fairly certain its a permission issue since the files, file structure, file system, and everything is identical. I moved an external USB drive to the PI from an Ubuntu box. The Samba config, pyTiVo.conf and all other scripts are the same since I copied them over from the old box.

    Samba shares to the video locations work fine.

    The mount line from fstab:
    Code:
    UUID=4ADCC900DCC8E6F3 /media/FantomHD ntfs-3g defaults,rw,uid=pi,gid=pi 0 0
    
    This line isn't the same. I had trouble using the original one from the Ubuntu box.

    PS: All files on the drive are mpeg2.
     
  17. lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    That's not the point. PyTivo relies on ffmpeg to give it information about the videos. An incompatibility in the ffmpeg build could easily cause the symptoms you mention. This is especially true since the rift in the ffmpeg camp. Debian, at least, has decided to take the wholly despicable route of renaming aconv to ffmpeg so they don't have to distribute the "real" ffmpeg. I had to compile ffmpeg from source to replace the distro version, something I haven't had to do for quite some years.

    It doesn't sound like it, to me, but it's easy enough to simply change to the directory containing the videos and issue the command:

    Code:
    sudo chmod -R 644 *
    Which also suggests it is not a permissions issue.

    That's not surprising.
     
  18. Stormspace

    Stormspace Electrocuted by TiVo

    5,171
    0
    Apr 13, 2004
    Hartsville, SC
    OK. What you are saying makes more sense now. I thought ffmpeg was being used to convert the files on the fly. These are already in the right format. And yes I did read about ffmpeg being a little different on the Pi, or maybe it was something else. I was skimming that part since it seemed to install with no problems. I'll double check the ffmpeg, for now I've been able to use TiVo desktop with the samba share as a source and it's working. I'm not going to say working well though. I think another few gray hairs popped out while I was waiting. :)
     
  19. lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    Well, it's used for that, too. First, however, pyTivo needs to determine whether or not the file needs to be transcoded at such time that it may be transferred. Ffmpeg is used to obtain that info, and then if and when the transfer request comes across, the file is piped through ffmpeg if need be, or transferred directly, if not.
     
  20. swerver

    swerver Member

    223
    0
    May 18, 2012
    Whenever I push files using pytivo, there is a dropdown to select which tivo to send to. In my case, I have a roamio and a mini, so it will always be to the roamio, but the dropdown defaults to the mini, which obviously cannot accept a transfer anyway. Can I remove it from the list somehow? I thought I saw this mentioned in the thread somewhere but my search is coming up empty.

    Thanks
     

Share This Page