h264 mmco: unref short failure

The Extraction process failing on you, and you aren't getting an error back with clear instructions? Tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Extraction process. If you want to get tips, or better understand the Extract process, then you should look in the Extract Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
SwarmTogether
Posts: 12
Joined: Sat Nov 30, 2019 2:28 pm
Has thanked: 8 times
Been thanked: 1 time

h264 mmco: unref short failure

Post by SwarmTogether »

I've made two working DeepFakes LOVE THIS!! THANK You!! :D

So...

I've manually aligned a set and was re-extracting (Tools>Alignments>Extract) when console logged dozens of times in red is:
[h264 @ 000002112f48eb00] mmco: unref short failure

Even though the new output set looks complete I can't train, missing frames.

It appears that my original MP4 is flawed: when aligning I saw many "duplicate" frames, as if the player saw a missing frame and just repeated the last, but the training can't deal with it at speed. I've played with the Configs to limit batch size and Allow Growth but it still doesn't find those frames during training.

I'm guessing I need to improve/fix the original MP4 or update a decoder.

Any thoughts?
THANKS, you guys are amazing.

User avatar
torzdf
Posts: 2665
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: h264 mmco: unref short failure

Post by torzdf »

Yeah, this is a problem with the mp4 file, so I would look to fix that in the first instance, or extract the frames to individual images prior to extracting.

My word is final

User avatar
SwarmTogether
Posts: 12
Joined: Sat Nov 30, 2019 2:28 pm
Has thanked: 8 times
Been thanked: 1 time

Re: h264 mmco: unref short failure

Post by SwarmTogether »

Here's something I am trying:

  • Scrubbed the MP4 by placing it in an Adobe Premiere project and exporting from there with the goal of creating fresh frames. Not actually sure this worked.

  • used Tools > Alignment > remove-frames and remove-images to tweak the sets

  • turned off second 4K monitor that runs on the same video card to reduce card load (I think this did help)

  • Train using Original, without my masks. Masking always fails but without it the session runs, so I'm running a training session without masks for learning.

To add: the videos/alignment seem to always be "one frame late", where the alignment that is auto-generated is actually for the image one frame before.

Last edited by SwarmTogether on Sat Dec 07, 2019 2:22 pm, edited 1 time in total.
User avatar
torzdf
Posts: 2665
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: h264 mmco: unref short failure

Post by torzdf »

I've seen this latter issue a few times.... Going to look to hunt this issue down asap. I need to work out if it is a bug in the code or an issue with certain videos

My word is final

User avatar
torzdf
Posts: 2665
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: h264 mmco: unref short failure

Post by torzdf »

Ok, there was a bug (I think this has been fairly shortlived) which incremented the frame number 1 too many.

This should be fixed in latest extract....

I will throw together a script to fix previously extracted facesets

My word is final

User avatar
torzdf
Posts: 2665
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 131 times
Been thanked: 625 times

Re: h264 mmco: unref short failure

Post by torzdf »

I've added a job to alignments tool to fix the "out by 1 error"

My word is final

User avatar
SwarmTogether
Posts: 12
Joined: Sat Nov 30, 2019 2:28 pm
Has thanked: 8 times
Been thanked: 1 time

Re: h264 mmco: unref short failure

Post by SwarmTogether »

Excellent!

I'm 12 hours into this training session and planning on pausing at 150k cycles to check the results.

I'll try this new feature on my alignments at that time.
:D

Locked