mackworth / cTiVo

TiVo Show Downloads for MacOS
220 stars 36 forks source link

ffmpeg encoding fails with built in 1080p format #465

Closed dballenger closed 2 years ago

dballenger commented 3 years ago

I think I'm seeing something similar to this on Big Sur (I was still running Mojave until a few weeks ago when I noticed this behavior), the error file for encoding looks like: https://gist.github.com/dballenger/7bc210481a5055cb0cf3e7fcaefa6d67

@dballenger that looks like a different problem. Rather than a failure of encoding, that's a failure during launch of encoding. It says " At least one output file must be specified". Which Format are you using, and if not a built-in one, can you post a screen shot of it (Edit>Formats>YourFormat)

Originally posted by @mackworth in https://github.com/mackworth/cTiVo/issues/464#issuecomment-962696997

Yeah, I just reviewed the cTivo side of the logs and it doesn't match up as well as I initially thought. I'm using the built in 1080p format.

dballenger commented 3 years ago
Screen Shot 2021-11-07 at 15 07 11
mackworth commented 3 years ago

was there anything after that gist? (e.g. "No video streams")?

mackworth commented 3 years ago

And which options were you using? (Subtitle? Cut/Mark? Is there SkipData? Can you set it to Detail and run it again? (That should give the exact FFmpeg command line)

mackworth commented 3 years ago

That output looks like what cTiVo actually expects from ffmpeg when first launched. cTiVo uses ffmpeg to confirm that it's seeing an H.264 stream in a TS (or an MPEG2 stream in a PS) before continuing the download/encode. It purposefully doesn't give it an output stream, so that after it reports on input it exits. So the rest of the log is needed to see what else is going on.

dballenger commented 3 years ago

I'm able to get some other shows off the tivo to encode (edit: I spoke too soon, it looks like while the encoding stage starts and makes progress it fails at some point) so I'll try to see what differences/similarities I can find between the successes/failures and report back. The previously provided log is for a show that seems to fail at the encoding (or at least after the "download" stage) every time.

mackworth commented 3 years ago

Can you post the full log?

mackworth commented 3 years ago

Any update? And/or can you post the log?

dballenger commented 3 years ago

Thanks for checking back in -- here's a log from some failed encodes today https://gist.github.com/dballenger/9e1d5296bb18c82dd311704053f55f9e

mackworth commented 3 years ago

So you're getting an error on a file copy, which is odd, and shouldn't matter from one show to the next.

Most obviously, can you check the disk space available on Data/qnap? cTiVo checks, but I don't see the result, so is it a network volume? If so, you might try using a local drive for the temp files. If there's lots of space, you might also do a Disk utility check.

mackworth commented 2 years ago

closing for now.