Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 9940

MHA HMC Stereo content not being ingested: Invalid character name error

$
0
0

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

UI/Tools

Summary

When we start to ingest the content, there’s an invalid character error in the name when Ingest tries to save the file. The system accuses that there is : in the name, but there is nothing.

Steps to Reproduce

-AFTER INSTALATION OF STEREO CAPTURE TOOLS PLUGIN, PYTHON 3.12^ AND FFMPEG IINTO THE COMPUTER BEGIN FROM THIS DIRECTORY IN CMD

C:\Users\MOCAP-03\AppData\Local\Programs\Python\Python312\conversion_venv\Scripts>

-CREATE VIRTUAL ENVIORMENT

activate.bat

-CHANGE DIRECTORY

cd C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Marketplace\MetaHuman\Content\StereoCaptureTools\stereo_capture_tools

-INSTALL THE PYTHON REQUIREMENTS

pip install -r requirements.txt

-CREATE BASE OUTPUT DIRECTORY FOR JSON CREATION

mkdir C:\MyData\example_data_prepared

-CREATE THE PATHS FOR CALIBRATION, IDENTITY AND PERFORMANCES

mkdir C:\MyData\example_data_prepared\calibration

mkdir C:\MyData\example_data_prepared\identity

mkdir C:\MyData\example_data_prepared\performance

-AND NOW PASTE THE TOP AND BOTTOM VIDEOS INSIDE THESE FOLDER RESPECTIVELY (THE NAMES OF THE FILES AND THERE BASE LOCATIONS ARE EXAMPLES SO CHANGE ACORDINGLY)

-CALIBRATION

copy C:\Users\MOCAP-03\Downloads\CBOT.mp4 C:\MyData\example_data_prepared\calibration\CBOT.mp4

copy C:\Users\MOCAP-03\Downloads\CTOP.mp4 C:\MyData\example_data_prepared\calibration\CTOP.mp4

-IDENTITY

copy C:\Users\MOCAP-03\Downloads\BOT.mp4 C:\MyData\example_data_prepared\identity\BOT.mp4

copy C:\Users\MOCAP-03\Downloads\TOP.mp4 C:\MyData\example_data_prepared\identity\TOP.mp4

-PERFORMANCE

copy C:\Users\MOCAP-03\Downloads\BOT.mp4 C:\MyData\example_data_prepared\peformance\BOT.mp4

copy C:\Users\MOCAP-03\Downloads\TOP.mp4 C:\MyData\example_data_prepared\peformance\TOP.mp4

-CHANGE DIRECTORY

cd C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Marketplace\MetaHuman\Content\StereoCaptureTools\stereo_capture_tools\stereo_capture_tools

-CREATE THE JSON FILES FOR THE CALIBRATION, IDENTIY AND PERFORMANCES (THE TIMECODES HERE ARE EXAMPLES SO CHANGE ACORDINGLY)

-CALIBRATION

python mh_ingest_convert.py bot CBOT.mp4 top CTOP.mp4 png_gray C:\MyData\example_data_prepared\calibration --overwrite --video1-timecode 10:58:37:4920 --video2-timecode 10:58:37:4920 --slate-name C:\MyData\example_data_prepared\calibration

-IDENTITY

python mh_ingest_convert.py bot BOT.mp4 top TOP.mp4 png_gray C:\MyData\example_data_prepared\identity --overwrite --video1-timecode 16:02:13:4810 --video2-timecode 16:02:13:4810 --slate-name C:\MyData\example_data_prepared\performance

-PERFORMANCE

python mh_ingest_convert.py bot BOT.mp4 top TOP.mp4 png_gray C:\MyData\example_data_prepared\performance --overwrite --video1-timecode 16:02:13:4810 --video2-timecode 16:02:13:4810 --slate-name C:\MyData\example_data_prepared\performance

-ALL OF THESE ARE SET UP IN A WAY WHERE THE BOTTOM AND TOP MP4 FILES ARE INSIDE THE CHANGED DIRECTORY IN THIS EXAMPLE TO CLEAR POSIBILITY OF BUGS WITH THE COMMANDS BUT IF IT DOESNT BUG USE THE MP4S INSIDE THE PREMADE DIRECTORIES FOR CLEANER EXPERIENCE AND FUTURE AUTOMATION

-CHANGE DIRECTORY

cd C:\Program Files\Epic Games\Calibration App

-ACTIVATE THE CALIBRATION APP, THERES TO OPTIONS FOR THIS CODE ONE WITH --gui IN THE AND AND ONE WITHOUT IT, FOR AUTOMATION USE WITHOUT IT, MANUALLY IT IS RECOMENDED TO USE IT FOR CLEANER EXPERIENCE (ALSO READ THE “READ ME” PDF INSIDE THIS DIRECTORY)

CalibrationApp -f C:\MyData\example_data_prepared\calibration -e C:\MyData\example_data_prepared\calibration\calib.json -n 30 --gui

-AFTER EITHER AUTOMATIC OR MANUAL EXPORT OF CALIB.JSON FILE COPY IT IN THE DIRETORIES OF IDENTITY AND PERFORMANCE

-IDENTITY

copy C:\MyData\example_data_prepared\calibration\calib.json C:\MyData\example_data_prepared\identity\calib.json

-PERFORMANCE

copy C:\MyData\example_data_prepared\calibration\calib.json C:\MyData\example_data_prepared\performance\calib.json

-OPEN UNREAL ENGINE

-CREATE A CAPTURE SOURCE IN CONTENT BROWSER, CHOOSE CAPTURE SOURCE TYPE AS STEREO HMC ARCHIVES AND SELECT “…” AND FIND C:/MyData/example_data_prepared

-OPEN IN THE TOP LEFT CORNER, TOOL>CAPTURE MANAGER AND SELECT IN THE LEFT THE NEW CAPTURE SOURCE, THE VIDEO SHOULD APPEAR THERE, IN CASE OF NOT BEING THERE REDO ALL THE STEPS UNTIL SUCESS (LITERALLY THIS WAS THE ONLY WAY TO MAKE IT WORK SO JUST DO IT) ¯_(ツ)_/¯

-TECHNICALLY DONE, NOW ONLY PROBLEM SHOULD BE THAT UNREAL WHEN INGESTING THE VIDEOS CANNOT READ “:” FIXING OF THAT IS REQUIRED

INFORMATION SOURCES FOR JSON FILE CREATION, CALIBRATION AND INGESTION RESPECTVELY: Stereo Camera Calibration and Tools for the MetaHumans Plugin Importing and Ingesting Content Metahuman Facial Performance Capture Guidelines

Expected Result

After ingest, it has to create the necessary files for the MHA process to continue forth.

Observed Result

The ingest will be available to import, but it will popup an error with an invalid character as soon as it finish the import.

Platform(s)

Windows

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 9940

Trending Articles