pytivo icon indicating copy to clipboard operation
pytivo copied to clipboard

TRANSCODE OPTIONS not accurate when ts=true

Open amc1804 opened this issue 9 years ago • 0 comments

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?

amc1804 avatar Dec 27 '15 09:12 amc1804