mackworth / cTiVo

TiVo Show Downloads for MacOS
220 stars 36 forks source link

h265 profile #490

Closed techpro2004 closed 1 year ago

techpro2004 commented 2 years ago

not sure how to create profiles for transcode. I am looking for a m1 hardware accelerated h265/aac original quality profile. Thanks

edit: not sure if ctivo can do this but comskip would be nice too.

techpro2004 commented 2 years ago

so I found a built in h265 profile, however encoding fails. I have attached logs com.cTiVo.cTiVo 2022-06-08--15-00-05-966.log .

mackworth commented 2 years ago

My first guess is that's a version mismatch between your Handbrake and the CLI. cTiVo is currently shipping with an older version of HandbrakeCLI (1.3.3), versus GUI of 1.5.1. (which requires MacOS 10.13)

To try this before we ship the next version, see the temp fix here

If that doesn't work, I haven't used H265 much, but there are some notes here that might help.

Not sure what you mean by "comskip would be nice", but ctivo does use comskip to do its commercialing. If you mean have comskip use HW accelerated, that's up to them, and AFAICT they don't seem to be working on it much nowadays.

techpro2004 commented 2 years ago

so I noticed the following lines in the log

and it fails right after this

thread 16decf000 started ("Audio Synchronization")

It works fine when I don't use media foundation but it takes a very long time.

techpro2004 commented 2 years ago

I downloaded an app called compressor and that transcodes fine. Is there any way to integrate it with ctivo? thanks.

mackworth commented 2 years ago

Sort of. There’s some notes here: https://github.com/mackworth/cTiVo/issues/398

and here: https://github.com/mackworth/cTiVo/issues/469

ghost commented 2 years ago

lol compressor for TiVo? that didn't work well at all. Try using handbrake instead. It has a few h.265 profiles and select video toolbox for hardware acceleration.

techpro2004 commented 2 years ago

finally got handbrake gpu acceleration to work. Below are my settings.

FYI, The built in mf profile are windows only. MacOS requires vt

image

mackworth commented 1 year ago

Nice discovery on vt_h265_10bit mode! After playing with this some, I'm seeing excellent quality, about 50% bigger video stream than "Default" but only 40% of the conversion time due to using the hw encoder on the M1.

I think I'll add this as a built-in Format. Maybe the vt_h265 as well for a fast and small version (40% of size and speed of sw based Default, although not great quality).

BTW, on your last two options; they should be reversed: HB can "Add to iTunes", but can't "Cut Commercials"

Also, FYI, I've changed Audio options from -E ca_aac to -E ca_aac,copy:ac3 for the larger one. If there's a AC3 soundtrack, it's good to preserve it unless one is focused on space saving.

Here's those Formats (HW HW Default and HB HW Small). I'd love if you could try them out. and let me know if they work for you. (Updated version) HB HW Formats2.plist.zip

ghost commented 1 year ago

Will do but not until Wednesday. Work is all or nothing adventure these days

mackworth commented 1 year ago

That’d be great. Thanks.

ghost commented 1 year ago

Oops sorry. Didn’t mean to get involved it this conversation. I got a notification and then I replied. I should probably check if the thread was mine lol.

mackworth commented 1 year ago

Either/Both would be good!

Updated version: HB HW Formats

techpro2004 commented 1 year ago

I no longer own a mac. I went back to windows. My post processing tool mcebuddy was taking forever in a vm. Also, file sizes were greatly increased. My main reason for switching to ctivo was kmttg being abandoned but lart2150 picked up development and he is doing a great job. Thanks for all of your help. I will let you know if I ever try mac again.

mackworth commented 1 year ago

Well, nonetheless, thanks for the handbrake work! It'll be a nice add to the product.