pyTivo is both an HMO and GoBack server. Similar to TiVo Desktop pyTivo loads many standard video compression codecs and outputs mpeg2 video to the TiVo. However, pyTivo is able to load MANY more file types than TiVo Desktop.
However, on the TiVo the metadata shows TRANSCODE OPTIONS with -vcodec mpeg2video.
I don't fully understand how pulls work, but it looks like the TiVo first obtains the matadata (including the TRANSCODE OPTIONS) in one request, then transfers the file in a later request, so I'm not sure it's even possible in principle to reliably return accurate TRANSCODE OPTIONS, because they might depend on request parameters that haven't been sent yet.
But maybe the situation isn't as hopeless as it looks to me. Any ideas?
With ts=true and debug=true in pyTivo.conf, I pulled H.264/AAC/mp4 to a Roamio, and the log showed the ffmpeg options as:
-vcodec copy -bsf h264_mp4toannexb -b 28500k -maxrate 30000k -bufsize 4096k -ab 448k -ar 48000 -acodec ac3 -copyts -map 0:0 -map 0:1 -f mpegts
(Hooray for -vcodec copy!)
However, on the TiVo the metadata shows TRANSCODE OPTIONS with -vcodec mpeg2video.
I don't fully understand how pulls work, but it looks like the TiVo first obtains the matadata (including the TRANSCODE OPTIONS) in one request, then transfers the file in a later request, so I'm not sure it's even possible in principle to reliably return accurate TRANSCODE OPTIONS, because they might depend on request parameters that haven't been sent yet.
But maybe the situation isn't as hopeless as it looks to me. Any ideas?