We had to kill ffmpeg to stop it/Could not load meta information

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
Supersoaker
Posts: 2
Joined: Wed Jul 22, 2020 3:34 pm

We had to kill ffmpeg to stop it/Could not load meta information

Post by Supersoaker »

Been searching the forums to see if anyone else has had this issue. If I start my PC from a fresh boot I normally do not get this error and if I do get this error, normally a restart will fix the issue and i am able to extract, preview, or convert.

If I extract from a fresh boot, it will work, then I am able to train without any issues. But if I choose preview in the tools tab, I will also receive this error with ffmpeg.

I have ripped Faceswap as well as miniconda out then started with a new installation, checked for updates. Wondering what is left that I can do. Just started getting this issue a couple months ago.

Code: Select all

07/22/2020 08:29:31 MainProcess     MainThread      logger          log_setup                 INFO     Log level set to: INFO
07/22/2020 08:29:31 MainProcess     MainThread      launcher        execute_script            DEBUG    Executing: extract. PID: 1908
07/22/2020 08:29:35 MainProcess     MainThread      launcher        _test_for_tf_version      DEBUG    Installed Tensorflow Version: 1.15
07/22/2020 08:29:35 MainProcess     MainThread      queue_manager   __init__                  DEBUG    Initializing QueueManager
07/22/2020 08:29:35 MainProcess     MainThread      queue_manager   __init__                  DEBUG    Initialized QueueManager
07/22/2020 08:29:35 MainProcess     MainThread      extract         __init__                  DEBUG    Initializing Extract: (args: Namespace(aligner='fan', alignments_path=None, colab=False, configfile=None, debug_landmarks=False, detector='s3fd', extract_every_n=1, filter=None, func=<bound method ScriptExecutor.execute_script of <lib.cli.launcher.ScriptExecutor object at 0x000002373B7E7C08>>, input_dir='C:\\Temp\\test1\\IMG_3563.mp4', logfile=None, loglevel='INFO', masker=['vgg-obstructed'], min_size=0, nfilter=None, normalization='none', output_dir='C:\\Temp\\test1\\faces', redirect_gui=True, ref_threshold=0.4, rotate_images=None, save_interval=0, singleprocess=False, size=256, skip_existing=False, skip_faces=False, skip_saving_faces=False)
07/22/2020 08:29:35 MainProcess     MainThread      utils           get_folder                DEBUG    Requested path: 'C:\Temp\test1\faces'
07/22/2020 08:29:35 MainProcess     MainThread      utils           get_folder                DEBUG    Returning: 'C:\Temp\test1\faces'
07/22/2020 08:29:35 MainProcess     MainThread      extract         __init__                  INFO     Output Directory: C:\Temp\test1\faces
07/22/2020 08:29:35 MainProcess     MainThread      image           __init__                  DEBUG    Initializing ImagesLoader: (path: C:\Temp\test1\IMG_3563.mp4, queue_size: 8, fast_count: True, skip_list: None, count: None)
07/22/2020 08:29:35 MainProcess     MainThread      image           __init__                  DEBUG    Initializing ImagesLoader: (path: C:\Temp\test1\IMG_3563.mp4, queue_size: 8, args: None)
07/22/2020 08:29:35 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'ImagesLoader'
07/22/2020 08:29:35 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'ImagesLoader', maxsize: 8)
07/22/2020 08:29:35 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'ImagesLoader')
07/22/2020 08:29:35 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'ImagesLoader'
07/22/2020 08:29:35 MainProcess     MainThread      image           _check_for_video          DEBUG    Input 'C:\Temp\test1\IMG_3563.mp4' is_video: True
07/22/2020 08:29:47 MainProcess     MainThread      _io             read_frames               WARNING  We had to kill ffmpeg to stop it.
Traceback (most recent call last):
  File "C:\Users\kthor\faceswap\lib\cli\launcher.py", line 154, in execute_script
    process = script(arguments)
  File "C:\Users\kthor\faceswap\scripts\extract.py", line 44, in __init__
    self._images = ImagesLoader(self._args.input_dir, fast_count=True)
  File "C:\Users\kthor\faceswap\lib\image.py", line 749, in __init__
    self._fps = self._get_fps()
  File "C:\Users\kthor\faceswap\lib\image.py", line 831, in _get_fps
    reader = imageio.get_reader(self.location, "ffmpeg")
  File "C:\Users\kthor\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\functions.py", line 186, in get_reader
    return format.get_reader(request)
  File "C:\Users\kthor\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\format.py", line 170, in get_reader
    return self.Reader(self, request)
  File "C:\Users\kthor\faceswap\lib\image.py", line 36, in __init__
    super().__init__(format, request)
  File "C:\Users\kthor\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\format.py", line 221, in __init__
    self._open(**self.request.kwargs.copy())
  File "C:\Users\kthor\MiniConda3\envs\faceswap\lib\site-packages\imageio\plugins\ffmpeg.py", line 323, in _open
    self._initialize()
  File "C:\Users\kthor\faceswap\lib\image.py", line 219, in _initialize
    self._meta.update(self._read_gen.__next__())
  File "C:\Users\kthor\MiniConda3\envs\faceswap\lib\site-packages\imageio_ffmpeg\_io.py", line 174, in read_frames
    raise IOError(fmt.format(err2))
OSError: Could not load meta information
=== stderr ===

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Temp\test1\IMG_3563.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.40.101
  Duration: 00:06:53.06, start: 0.000000, bitrate: 573 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 360x640, 501 kb/s, 29.97 fps, 29.97 tbr, 16k tbn, 2k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 63 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         2f15597 requirements.txt - typofix. 8a19d21 setup.py - Fix conda-forge imports Remove unused icons. 03d2d17 scripts.extract - Save jpg thumbnails to alignments file. ab21033 argparse bugfix. 5f9d8fa lib.gui.custom_widgets - Force popup progress bar to top
gpu_cuda:            No global version found. Check Conda packages for Conda Cuda
gpu_cudnn:           No global version found. Check Conda packages for Conda cuDNN
gpu_devices:         GPU_0: GeForce GTX 1080 Ti
gpu_devices_active:  GPU_0
gpu_driver:          451.48
gpu_vram:            GPU_0: 11264MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.19041-SP0
os_release:          10
py_command:          C:\Users\kthor\faceswap\faceswap.py extract -i C:/Temp/test1/IMG_3563.mp4 -o C:/Temp/test1/faces -D s3fd -A fan -M vgg-obstructed -nm none -min 0 -l 0.4 -een 1 -sz 256 -si 0 -L INFO -gui
py_conda_version:    conda 4.8.3
py_implementation:   CPython
py_version:          3.7.7
py_virtual_env:      True
sys_cores:           32
sys_processor:       Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
sys_ram:             Total: 131016MB, Available: 123967MB, Used: 7049MB, Free: 123967MB

=============== Pip Packages ===============
absl-py==0.9.0
astor==0.8.0
blinker==1.4
brotlipy==0.7.0
cachetools==4.1.0
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
click==7.1.2
cloudpickle==1.4.1
cryptography==2.9.2
cycler==0.10.0
cytoolz==0.10.1
dask @ file:///tmp/build/80754af9/dask-core_1592842333140/work
decorator==4.4.2
fastcluster==1.1.26
ffmpy==0.2.3
gast==0.2.2
google-auth==1.14.1
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
grpcio==1.27.2
h5py==2.10.0
idna @ file:///tmp/build/80754af9/idna_1593446292537/work
imageio==2.8.0
imageio-ffmpeg==0.4.2
joblib==0.15.1
Keras==2.2.4
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.2.0
Markdown==3.1.1
matplotlib @ file:///C:/ci/matplotlib-base_1592846084747/work
mkl-fft==1.1.0
mkl-random==1.1.1
mkl-service==2.3.0
networkx==2.4
numpy==1.18.5
nvidia-ml-py3 @ git+https://github.com/deepfakes/nvidia-ml-py3.git@6fc29ac84b32bad877f078cb4a777c1548a00bf6
oauthlib==3.1.0
olefile==0.46
opencv-python==4.2.0.34
opt-einsum==3.1.0
pathlib==1.0.1
Pillow==7.1.2
protobuf==3.12.3
psutil==5.7.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
pycparser==2.20
PyJWT==1.7.1
pyOpenSSL==19.1.0
pyparsing==2.4.7
pyreadline==2.1
PySocks==1.7.1
python-dateutil==2.8.1
PyWavelets==1.1.1
pywin32==227
PyYAML==5.3.1
requests @ file:///tmp/build/80754af9/requests_1592841827918/work
requests-oauthlib==1.3.0
rsa==4.0
scikit-image==0.16.2
scikit-learn @ file:///C:/ci/scikit-learn_1592847564598/work
scipy @ file:///C:/ci/scipy_1592916958183/work
six==1.15.0
tensorboard==2.2.1
tensorboard-plugin-wit==1.6.0
tensorflow==1.15.0
tensorflow-estimator==1.15.1
termcolor==1.1.0
threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl
toolz==0.10.0
toposort==1.5
tornado==6.0.4
tqdm @ file:///tmp/build/80754af9/tqdm_1593446365756/work
urllib3==1.25.9
Werkzeug==0.16.1
win-inet-pton==1.1.0
wincertstore==0.2
wrapt==1.12.1

============== Conda Packages ==============
# packages in environment at C:\Users\kthor\MiniConda3\envs\faceswap:
#
# Name                    Version                   Build  Channel
_tflow_select             2.1.0                       gpu  
absl-py 0.9.0 py37_0
astor 0.8.0 py37_0
blas 1.0 mkl
blinker 1.4 py37_0
brotlipy 0.7.0 py37he774522_1000
ca-certificates 2020.6.24 0
cachetools 4.1.0 py_1
certifi 2020.6.20 py37_0
cffi 1.14.0 py37h7a1dbc1_0
chardet 3.0.4 py37_1003
click 7.1.2 py_0
cloudpickle 1.4.1 py_0
cryptography 2.9.2 py37h7a1dbc1_0
cudatoolkit 10.0.130 0
cudnn 7.6.5 cuda10.0_0
cycler 0.10.0 py37_0
cytoolz 0.10.1 py37he774522_0
dask-core 2.19.0 py_0
decorator 4.4.2 py_0
fastcluster 1.1.26 pypi_0 pypi ffmpy 0.2.3 pypi_0 pypi freetype 2.10.2 hd328e21_0
gast 0.2.2 py37_0
git 2.23.0 h6bb4b03_0
google-auth 1.14.1 py_0
google-auth-oauthlib 0.4.1 py_2
google-pasta 0.2.0 py_0
grpcio 1.27.2 py37h351948d_0
h5py 2.10.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 2.10 py_0
imageio 2.8.0 py_0
imageio-ffmpeg 0.4.2 pypi_0 pypi intel-openmp 2020.1 216
joblib 0.15.1 py_0
jpeg 9b hb83a4c4_2
keras 2.2.4 0
keras-applications 1.0.8 py_0
keras-base 2.2.4 py37_0
keras-preprocessing 1.1.0 py_1
kiwisolver 1.2.0 py37h74a9793_0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.12.3 h7bd577a_0
libtiff 4.1.0 h56a325e_1
lz4-c 1.9.2 h62dcd97_0
markdown 3.1.1 py37_0
matplotlib 3.2.2 0
matplotlib-base 3.2.2 py37h64f37c6_0
mkl 2020.1 216
mkl-service 2.3.0 py37hb782905_0
mkl_fft 1.1.0 py37h45dec08_0
mkl_random 1.1.1 py37h47e9c7a_0
networkx 2.4 py_0
numpy 1.18.5 py37h6530119_0
numpy-base 1.18.5 py37hc3f5095_0
nvidia-ml-py3 7.352.1 pypi_0 pypi oauthlib 3.1.0 py_0
olefile 0.46 py37_0
opencv-python 4.2.0.34 pypi_0 pypi openssl 1.1.1g he774522_0
opt_einsum 3.1.0 py_0
pathlib 1.0.1 py37_1
pillow 7.1.2 py37hcc1f983_0
pip 20.1.1 py37_1
protobuf 3.12.3 py37h33f27b4_0
psutil 5.7.0 py37he774522_0
pyasn1 0.4.8 py_0
pyasn1-modules 0.2.7 py_0
pycparser 2.20 py_0
pyjwt 1.7.1 py37_0
pyopenssl 19.1.0 py37_0
pyparsing 2.4.7 py_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pysocks 1.7.1 py37_0
python 3.7.7 h81c818b_4
python-dateutil 2.8.1 py_0
pywavelets 1.1.1 py37he774522_0
pywin32 227 py37he774522_1
pyyaml 5.3.1 py37he774522_1
qt 5.9.7 vc14h73c81de_0
requests 2.24.0 py_0
requests-oauthlib 1.3.0 py_0
rsa 4.0 py_0
scikit-image 0.16.2 py37h47e9c7a_0
scikit-learn 0.23.1 py37h25d0782_0
scipy 1.5.0 py37h9439919_0
setuptools 47.3.1 py37_0
sip 4.19.8 py37h6538335_0
six 1.15.0 py_0
sqlite 3.32.3 h2a8f88b_0
tensorboard 2.2.1 pyh532a8cf_0
tensorboard-plugin-wit 1.6.0 py_0
tensorflow 1.15.0 gpu_py37hc3743a6_0
tensorflow-base 1.15.0 gpu_py37h1afeea4_0
tensorflow-estimator 1.15.1 pyh2649769_0
tensorflow-gpu 1.15.0 h0d30ee6_0
termcolor 1.1.0 py37_1
threadpoolctl 2.1.0 pyh5ca1d4c_0
tk 8.6.10 he774522_0
toolz 0.10.0 py_0
toposort 1.5 pypi_0 pypi tornado 6.0.4 py37he774522_1
tqdm 4.47.0 py_0
urllib3 1.25.9 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_2
werkzeug 0.16.1 py_0
wheel 0.34.2 py37_0
win_inet_pton 1.1.0 py37_0
wincertstore 0.2 py37_0
wrapt 1.12.1 py37he774522_1
xz 5.2.5 h62dcd97_0
yaml 0.2.5 he774522_0
zlib 1.2.11 h62dcd97_4
zstd 1.4.4 ha9fde0e_3 ================= Configs ================== --------- .faceswap --------- backend: nvidia --------- convert.ini --------- [color.color_transfer] clip: True preserve_paper: True [color.manual_balance] colorspace: HSV balance_1: 0.0 balance_2: 0.0 balance_3: 0.0 contrast: 0.0 brightness: 0.0 [color.match_hist] threshold: 99.0 [mask.box_blend] type: gaussian distance: 10.0 radius: 5.0 passes: 1 [mask.mask_blend] type: gaussian kernel_size: 3 passes: 4 threshold: 4 erosion: 0.0 [scaling.sharpen] method: gaussian amount: 150 radius: 0.3 threshold: 5.0 [writer.ffmpeg] container: mp4 codec: libx264 crf: 23 preset: medium tune: none profile: auto level: auto [writer.gif] fps: 25 loop: 0 palettesize: 256 subrectangles: False [writer.opencv] format: png draw_transparent: False jpg_quality: 75 png_compress_level: 3 [writer.pillow] format: png draw_transparent: False optimize: False gif_interlace: True jpg_quality: 75 png_compress_level: 3 tif_compression: tiff_deflate --------- extract.ini --------- [global] allow_growth: False [align.fan] batch-size: 12 [detect.cv2_dnn] confidence: 50 [detect.mtcnn] minsize: 20 threshold_1: 0.6 threshold_2: 0.7 threshold_3: 0.7 scalefactor: 0.709 batch-size: 8 [detect.s3fd] confidence: 70 batch-size: 4 [mask.unet_dfl] batch-size: 8 [mask.vgg_clear] batch-size: 6 [mask.vgg_obstructed] batch-size: 2 --------- gui.ini --------- [global] fullscreen: False tab: extract options_panel_width: 30 console_panel_height: 20 icon_size: 14 font: default font_size: 9 autosave_last_session: prompt timeout: 120 auto_load_model_stats: True --------- train.ini --------- [global] coverage: 68.75 mask_type: vgg-obstructed mask_blur_kernel: 3 mask_threshold: 4 learn_mask: False icnr_init: False conv_aware_init: False reflect_padding: False penalized_mask_loss: True loss_function: mae learning_rate: 5e-05 [model.dfl_h128] lowmem: False [model.dfl_sae] input_size: 128 clipnorm: True architecture: df autoencoder_dims: 0 encoder_dims: 42 decoder_dims: 21 multiscale_decoder: False [model.dlight] features: best details: good output_size: 256 [model.original] lowmem: False [model.realface] input_size: 64 output_size: 128 dense_nodes: 1536 complexity_encoder: 128 complexity_decoder: 512 [model.unbalanced] input_size: 128 lowmem: False clipnorm: True nodes: 1024 complexity_encoder: 128 complexity_decoder_a: 384 complexity_decoder_b: 512 [model.villain] lowmem: False [trainer.original] preview_images: 14 zoom_amount: 5 rotation_range: 10 shift_range: 5 flip_chance: 50 color_lightness: 30 color_ab: 8 color_clahe_chance: 50 color_clahe_max_size: 4

User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: We had to kill ffmpeg to stop it/Could not load meta information

Post by torzdf »

This, we have never seen before, and it's a strange one given that you say it works at first but then requires a reboot.

Basically ImageIO is timing out reading th meta information.

My first question would be: what is C:\Temp\test1\IMG_3563.mp4? It's a strange name for a video file, so I want to confirm that it is a video file, and where this is sourced from?

My word is final


User avatar
Supersoaker
Posts: 2
Joined: Wed Jul 22, 2020 3:34 pm

Re: We had to kill ffmpeg to stop it/Could not load meta information

Post by Supersoaker »

Yes it is a video file that I downloaded off my cloud server and it is uploaded from my phone, why it names it IMG_### is besides me. I have tried different video sources and even have tried a folder of images (PNG and JPG, separated of course)

Image


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: We had to kill ffmpeg to stop it/Could not load meta information

Post by torzdf »

If you can share the video, that would be good (totally understand if you can't). You're welcome to Private Message it to me.

I can then, at least, rule out if there is an issue intrinsic to the video files that your phone creates (and it being a phone does explain the video naming).

My word is final


User avatar
megabattleon
Posts: 1
Joined: Tue Oct 27, 2020 5:43 am

CRITICAL An unexpected crash has occurred - OSError: Could not load meta information

Post by megabattleon »

I tried running extract and during the process, it then takes along time at "Initializing FAN (Align)". After which I get the following message:

"CRITICAL An unexpected crash has occurred"

Along with the below crash report:

Code: Select all

10/27/2020 13:01:06 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled mask threads: [<lib.multithreading.MultiThread object at 0x000002039BDBFEE0>, <lib.multithreading.MultiThread object at 0x00000203E9B2C850>, <lib.multithreading.MultiThread object at 0x00000203E9B2C880>]
10/27/2020 13:01:06 MainProcess     MainThread      components      init_model                DEBUG    No mask model to initialize
10/27/2020 13:01:06 MainProcess     MainThread      _base           initialize                INFO     Initialized Components (Mask) with batchsize of 1
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_components_input'
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_components_input_0'
10/27/2020 13:01:06 MainProcess     mask_components_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_components_input': 1
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_components_predict'
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_components_predict_0'
10/27/2020 13:01:06 MainProcess     mask_components_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_components_predict': 1
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_components_output'
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_components_output_0'
10/27/2020 13:01:06 MainProcess     mask_components_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_components_output': 1
10/27/2020 13:01:06 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched mask_0 plugin
10/27/2020 13:01:06 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launching mask_1 plugin
10/27/2020 13:01:06 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    in_qname: extract0_mask_1_in, out_qname: extract0_mask_2_in
10/27/2020 13:01:06 MainProcess     MainThread      _base           initialize                DEBUG    initialize Mask: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x0000020395423760>, 'out_queue': <queue.Queue object at 0x0000020395423490>})
10/27/2020 13:01:06 MainProcess     MainThread      _base           initialize                INFO     Initializing Extended (Mask)...
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_predict_extended'
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_predict_extended', maxsize: 1)
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_predict_extended')
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_predict_extended'
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_post_extended'
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_post_extended', maxsize: 1)
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_post_extended')
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_post_extended'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiling mask threads
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_extended_input, function: <bound method Mask.process_input of <plugins.extract.mask.extended.Mask object at 0x00000203953BA130>>, in_queue: <queue.Queue object at 0x0000020395423760>, out_queue: <queue.Queue object at 0x00000203E9B380A0>)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_extended_input', thread_count: 1)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_extended_input'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_extended_input
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_extended_predict, function: <bound method Masker._predict of <plugins.extract.mask.extended.Mask object at 0x00000203953BA130>>, in_queue: <queue.Queue object at 0x00000203E9B380A0>, out_queue: <queue.Queue object at 0x00000203E9B38280>)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_extended_predict', thread_count: 1)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_extended_predict'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_extended_predict
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_extended_output, function: <bound method Mask.process_output of <plugins.extract.mask.extended.Mask object at 0x00000203953BA130>>, in_queue: <queue.Queue object at 0x00000203E9B38280>, out_queue: <queue.Queue object at 0x0000020395423490>)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_extended_output', thread_count: 1)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_extended_output'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_extended_output
10/27/2020 13:01:06 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled mask threads: [<lib.multithreading.MultiThread object at 0x00000203E9B2C8B0>, <lib.multithreading.MultiThread object at 0x00000203E9B38400>, <lib.multithreading.MultiThread object at 0x00000203E9B38430>]
10/27/2020 13:01:06 MainProcess     MainThread      extended        init_model                DEBUG    No mask model to initialize
10/27/2020 13:01:06 MainProcess     MainThread      _base           initialize                INFO     Initialized Extended (Mask) with batchsize of 1
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_extended_input'
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_extended_input_0'
10/27/2020 13:01:06 MainProcess     mask_extended_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_extended_input': 1
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_extended_predict'
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_extended_predict_0'
10/27/2020 13:01:06 MainProcess     mask_extended_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_extended_predict': 1
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_extended_output'
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_extended_output_0'
10/27/2020 13:01:06 MainProcess     mask_extended_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_extended_output': 1
10/27/2020 13:01:06 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched mask_1 plugin
10/27/2020 13:01:06 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launching mask_2 plugin
10/27/2020 13:01:06 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    in_qname: extract0_mask_2_in, out_qname: extract0_mask_2_out
10/27/2020 13:01:06 MainProcess     MainThread      _base           initialize                DEBUG    initialize Mask: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x0000020395423490>, 'out_queue': <queue.Queue object at 0x000002039540AE50>})
10/27/2020 13:01:06 MainProcess     MainThread      _base           initialize                INFO     Initializing VGG Clear (Mask)...
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_predict_vgg_clear'
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_predict_vgg_clear', maxsize: 1)
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_predict_vgg_clear')
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_predict_vgg_clear'
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_post_vgg_clear'
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_post_vgg_clear', maxsize: 1)
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_post_vgg_clear')
10/27/2020 13:01:06 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_post_vgg_clear'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiling mask threads
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_vgg_clear_input, function: <bound method Mask.process_input of <plugins.extract.mask.vgg_clear.Mask object at 0x00000203953BA160>>, in_queue: <queue.Queue object at 0x0000020395423490>, out_queue: <queue.Queue object at 0x00000203E9B38C10>)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_vgg_clear_input', thread_count: 1)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_vgg_clear_input'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_vgg_clear_input
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_vgg_clear_predict, function: <bound method Masker._predict of <plugins.extract.mask.vgg_clear.Mask object at 0x00000203953BA160>>, in_queue: <queue.Queue object at 0x00000203E9B38C10>, out_queue: <queue.Queue object at 0x00000203E9B38DF0>)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_vgg_clear_predict', thread_count: 1)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_vgg_clear_predict'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_vgg_clear_predict
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_vgg_clear_output, function: <bound method Mask.process_output of <plugins.extract.mask.vgg_clear.Mask object at 0x00000203953BA160>>, in_queue: <queue.Queue object at 0x00000203E9B38DF0>, out_queue: <queue.Queue object at 0x000002039540AE50>)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_vgg_clear_output', thread_count: 1)
10/27/2020 13:01:06 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_vgg_clear_output'
10/27/2020 13:01:06 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_vgg_clear_output
10/27/2020 13:01:06 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled mask threads: [<lib.multithreading.MultiThread object at 0x00000203E9B38460>, <lib.multithreading.MultiThread object at 0x00000203E9B38F70>, <lib.multithreading.MultiThread object at 0x00000203E9B38FA0>]
10/27/2020 13:01:06 MainProcess     MainThread      session         load_model_weights        VERBOSE  Initializing plugin model: VGG Obstructed
10/27/2020 13:01:07 MainProcess     MainThread      session         append_softmax_activation DEBUG    Appending Softmax Activation to model: (layer_index: -1)
10/27/2020 13:01:09 MainProcess     MainThread      _base           initialize                INFO     Initialized VGG Clear (Mask) with batchsize of 6
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_vgg_clear_input'
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_vgg_clear_input_0'
10/27/2020 13:01:09 MainProcess     mask_vgg_clear_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_vgg_clear_input': 1
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_vgg_clear_predict'
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_vgg_clear_predict_0'
10/27/2020 13:01:09 MainProcess     mask_vgg_clear_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_vgg_clear_predict': 1
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_vgg_clear_output'
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_vgg_clear_output_0'
10/27/2020 13:01:09 MainProcess     mask_vgg_clear_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_vgg_clear_output': 1
10/27/2020 13:01:09 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched mask_2 plugin
10/27/2020 13:01:09 MainProcess     MainThread      multithreading  check_and_raise_error     DEBUG    Thread error caught: [(<class 'OSError'>, OSError("Could not load meta information\n=== stderr ===\nffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers\n  built with gcc 10.2.1 (GCC) 20200726\n  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf\n  libavutil      56. 51.100 / 56. 51.100\n\n  libavcodec     58. 91.100 / 58. 91.100\n  libavformat    58. 45.100 / 58. 45.100\n  libavdevice    58. 10.100 / 58. 10.100\n  libavfilter     7. 85.100 /  7. 85.100\n  libswscale      5.  7.100 /  5.  7.100\n  libswresample   3.  7.100 /  3.  7.100\n  libpostproc    55.  7.100 / 55.  7.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\\Deep Learning AI\\faceswap\\Workflow\\Inflow\\data_src.mp4':\n  Metadata:\n    major_brand     : mp42\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    creation_time   : 2018-04-19T07:29:40.000000Z\n  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s\n    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)\n    Metadata:\n      creation_time   : 2018-04-19T07:29:40.000000Z\n      handler_name    : Video Media Handler\n      encoder         : AVC Coding\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : mp42\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    encoder         : Lavf58.45.100\n    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)\nffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers\n  built with gcc 10.2.1 (GCC) 20200726\n  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf\n  libavutil      56. 51.100 / 56. 51.100\n\n  libavcodec     58. 91.100 / 58. 91.100\n  libavformat    58. 45.100 / 58. 45.100\n  libavdevice    58. 10.100 / 58. 10.100\n  libavfilter     7. 85.100 /  7. 85.100\n  libswscale      5.  7.100 /  5.  7.100\n  libswresample   3.  7.100 /  3.  7.100\n  libpostproc    55.  7.100 / 55.  7.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\\Deep Learning AI\\faceswap\\Workflow\\Inflow\\data_src.mp4':\n  Metadata:\n    major_brand     : mp42\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    creation_time   : 2018-04-19T07:29:40.000000Z\n  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s\n    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)\n    Metadata:\n      creation_time   : 2018-04-19T07:29:40.000000Z\n      handler_name    : Video Media Handler\n      encoder         : AVC Coding\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : mp42\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    encoder         : Lavf58.45.100\n    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)\n    Metadata:\n      creation_time   : 2018-04-19T07:29:40.000000Z\n\n      handler_name    : Video Media Handler"), <traceback object at 0x00000203AE560FC0>)]
Traceback (most recent call last):
  File "E:\Deep Learning AI\faceswap\lib\cli\launcher.py", line 182, in execute_script
    process.process()
  File "E:\Deep Learning AI\faceswap\scripts\extract.py", line 118, in process
    self._run_extraction()
  File "E:\Deep Learning AI\faceswap\scripts\extract.py", line 206, in _run_extraction
    self._check_thread_error()
  File "E:\Deep Learning AI\faceswap\scripts\extract.py", line 237, in _check_thread_error
    thread.check_and_raise_error()
  File "E:\Deep Learning AI\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "E:\Deep Learning AI\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "E:\Deep Learning AI\faceswap\scripts\extract.py", line 151, in _load
    for filename, image in self._images.load():
  File "E:\Deep Learning AI\faceswap\lib\image.py", line 980, in load
    self._thread.check_and_raise_error()
  File "E:\Deep Learning AI\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "E:\Deep Learning AI\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "E:\Deep Learning AI\faceswap\lib\image.py", line 885, in _process
    for retval in iterator():
  File "E:\Deep Learning AI\faceswap\lib\image.py", line 908, in _from_video
    reader = imageio.get_reader(self.location, "ffmpeg")
  File "C:\Users\Yit Ho\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\functions.py", line 186, in get_reader
    return format.get_reader(request)
  File "C:\Users\Yit Ho\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\format.py", line 170, in get_reader
    return self.Reader(self, request)
  File "E:\Deep Learning AI\faceswap\lib\image.py", line 36, in __init__
    super().__init__(format, request)
  File "C:\Users\Yit Ho\MiniConda3\envs\faceswap\lib\site-packages\imageio\core\format.py", line 221, in __init__
    self._open(**self.request.kwargs.copy())
  File "C:\Users\Yit Ho\MiniConda3\envs\faceswap\lib\site-packages\imageio\plugins\ffmpeg.py", line 323, in _open
    self._initialize()
  File "E:\Deep Learning AI\faceswap\lib\image.py", line 219, in _initialize
    self._meta.update(self._read_gen.__next__())
  File "C:\Users\Yit Ho\MiniConda3\envs\faceswap\lib\site-packages\imageio_ffmpeg\_io.py", line 174, in read_frames
    raise IOError(fmt.format(err2))
OSError: Could not load meta information
=== stderr ===
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200726
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 51.100 / 56. 51.100

  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Deep Learning AI\faceswap\Workflow\Inflow\data_src.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 19529854
    compatible_brands: mp42isom
    creation_time   : 2018-04-19T07:29:40.000000Z
  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2018-04-19T07:29:40.000000Z
      handler_name    : Video Media Handler
      encoder         : AVC Coding
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, image2pipe, to 'pipe:':
  Metadata:
    major_brand     : mp42
    minor_version   : 19529854
    compatible_brands: mp42isom
    encoder         : Lavf58.45.100
    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200726
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 51.100 / 56. 51.100

  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Deep Learning AI\faceswap\Workflow\Inflow\data_src.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 19529854
    compatible_brands: mp42isom
    creation_time   : 2018-04-19T07:29:40.000000Z
  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2018-04-19T07:29:40.000000Z
      handler_name    : Video Media Handler
      encoder         : AVC Coding
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, image2pipe, to 'pipe:':
  Metadata:
    major_brand     : mp42
    minor_version   : 19529854
    compatible_brands: mp42isom
    encoder         : Lavf58.45.100
    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
      creation_time   : 2018-04-19T07:29:40.000000Z

      handler_name    : Video Media Handler

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         42d10bc Typo Fix
gpu_cuda:            No global version found. Check Conda packages for Conda Cuda
gpu_cudnn:           No global version found. Check Conda packages for Conda cuDNN
gpu_devices:         GPU_0: GeForce RTX 3080
gpu_devices_active:  GPU_0
gpu_driver:          456.71
gpu_vram:            GPU_0: 10240MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.19041-SP0
os_release:          10
py_command:          E:\Deep Learning AI\faceswap\faceswap.py extract -i E:/Deep Learning AI/faceswap/Workflow/Inflow/data_src.mp4 -o E:/Deep Learning AI/faceswap/Workflow/Outflow -D s3fd -A fan -M vgg-clear -nm none -min 20 -l 0.4 -een 1 -sz 256 -si 0 -L INFO -gui
py_conda_version:    conda 4.9.0
py_implementation:   CPython
py_version:          3.8.5
py_virtual_env:      True
sys_cores:           16
sys_processor:       AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
sys_ram:             Total: 16330MB, Available: 10092MB, Used: 6237MB, Free: 10092MB

=============== Pip Packages ===============


============== Conda Packages ==============
# packages in environment at C:\Users\Yit Ho\MiniConda3\envs\faceswap:
#
# Name                    Version                   Build  Channel
absl-py                   0.10.0                   pypi_0    pypi
astunparse                1.6.3                    pypi_0    pypi
blas                      1.0                         mkl  
ca-certificates           2020.10.14                    0  
cachetools                4.1.1                    pypi_0    pypi
certifi                   2020.6.20                py38_0  
chardet                   3.0.4                    pypi_0    pypi
cudatoolkit               10.1.243             h74a9793_0  
cudnn                     7.6.5                cuda10.1_0  
cycler                    0.10.0                   py38_0  
fastcluster               1.1.26           py38h251f6bf_2    conda-forge
ffmpeg                    4.3.1                ha925a31_0    conda-forge
ffmpy                     0.2.3                    pypi_0    pypi
freetype                  2.10.4               hd328e21_0  
gast                      0.3.3                    pypi_0    pypi
git                       2.23.0               h6bb4b03_0  
google-auth               1.22.1                   pypi_0    pypi
google-auth-oauthlib      0.4.1                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
grpcio                    1.33.1                   pypi_0    pypi
h5py                      2.10.0                   pypi_0    pypi
icc_rt                    2019.0.0             h0cc432a_1  
icu                       58.2                 ha925a31_3  
idna                      2.10                     pypi_0    pypi
imageio                   2.9.0                      py_0  
imageio-ffmpeg            0.4.2                      py_0    conda-forge
intel-openmp              2020.2                      254  
joblib                    0.17.0                     py_0  
jpeg                      9b                   hb83a4c4_2  
keras-preprocessing       1.1.2                    pypi_0    pypi
kiwisolver                1.2.0            py38h74a9793_0  
libpng                    1.6.37               h2a8f88b_0  
libtiff                   4.1.0                h56a325e_1  
lz4-c                     1.9.2                hf4a77e7_3  
markdown                  3.3.3                    pypi_0    pypi
matplotlib                3.2.2                         0  
matplotlib-base           3.2.2            py38h64f37c6_0  
mkl                       2020.2                      256  
mkl-service               2.3.0            py38hb782905_0  
mkl_fft                   1.2.0            py38h45dec08_0  
mkl_random                1.1.1            py38h47e9c7a_0  
numpy                     1.18.5                   pypi_0    pypi
nvidia-ml-py3             7.352.1                  pypi_0    pypi
oauthlib                  3.1.0                    pypi_0    pypi
olefile                   0.46                       py_0  
opencv-python             4.4.0.44                 pypi_0    pypi
openssl                   1.1.1h               he774522_0  
opt-einsum                3.3.0                    pypi_0    pypi
pathlib                   1.0.1                      py_1  
pillow                    8.0.0            py38hca74424_0  
pip                       20.2.4                   py38_0  
protobuf                  3.13.0                   pypi_0    pypi
psutil                    5.7.2            py38he774522_0  
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pyparsing                 2.4.7                      py_0  
pyqt                      5.9.2            py38ha925a31_4  
python                    3.8.5                h5fd99cc_1  
python-dateutil           2.8.1                      py_0  
python_abi                3.8                      1_cp38    conda-forge
pywin32                   227              py38he774522_1  
qt                        5.9.7            vc14h73c81de_0  
requests                  2.24.0                   pypi_0    pypi
requests-oauthlib         1.3.0                    pypi_0    pypi
rsa                       4.6                      pypi_0    pypi
scikit-learn              0.23.2           py38h47e9c7a_0  
scipy                     1.5.0            py38h9439919_0  
setuptools                50.3.0           py38h9490d1a_1  
sip                       4.19.13          py38ha925a31_0  
six                       1.15.0                     py_0  
sqlite                    3.33.0               h2a8f88b_0  
tensorboard               2.2.2                    pypi_0    pypi
tensorboard-plugin-wit    1.7.0                    pypi_0    pypi
tensorflow-gpu            2.2.1                    pypi_0    pypi
tensorflow-gpu-estimator  2.2.0                    pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
threadpoolctl             2.1.0              pyh5ca1d4c_0  
tk                        8.6.10               he774522_0  
tornado                   6.0.4            py38he774522_1  
tqdm                      4.50.2                     py_0  
urllib3                   1.25.11                  pypi_0    pypi
vc                        14.1                 h0510ff6_4  
vs2015_runtime            14.16.27012          hf0eaf9b_3  
werkzeug                  1.0.1                    pypi_0    pypi
wheel                     0.35.1                     py_0  
wincertstore              0.2                      py38_0  
wrapt                     1.12.1                   pypi_0    pypi
xz                        5.2.5                h62dcd97_0  
zlib                      1.2.11               h62dcd97_4  
zstd                      1.4.5                h04227a9_0  

================= Configs ==================
--------- .faceswap ---------
backend:                  nvidia

--------- convert.ini ---------

[color.color_transfer]
clip:                     True
preserve_paper:           True

[color.manual_balance]
colorspace:               HSV
balance_1:                0.0
balance_2:                0.0
balance_3:                0.0
contrast:                 0.0
brightness:               0.0

[color.match_hist]
threshold:                99.0

[mask.box_blend]
type:                     gaussian
distance:                 11.0
radius:                   5.0
passes:                   1

[mask.mask_blend]
type:                     normalized
kernel_size:              3
passes:                   4
threshold:                4
erosion:                  0.0

[scaling.sharpen]
method:                   none
amount:                   150
radius:                   0.3
threshold:                5.0

[writer.ffmpeg]
container:                mp4
codec:                    libx264
crf:                      23
preset:                   medium
tune:                     none
profile:                  auto
level:                    auto
skip_mux:                 False

[writer.gif]
fps:                      25
loop:                     0
palettesize:              256
subrectangles:            False

[writer.opencv]
format:                   png
draw_transparent:         False
jpg_quality:              75
png_compress_level:       3

[writer.pillow]
format:                   png
draw_transparent:         False
optimize:                 False
gif_interlace:            True
jpg_quality:              75
png_compress_level:       3
tif_compression:          tiff_deflate

--------- extract.ini ---------

[global]
allow_growth:             False

[align.fan]
batch-size:               12

[detect.cv2_dnn]
confidence:               50

[detect.mtcnn]
minsize:                  20
threshold_1:              0.6
threshold_2:              0.7
threshold_3:              0.7
scalefactor:              0.709
batch-size:               8

[detect.s3fd]
confidence:               70
batch-size:               4

[mask.unet_dfl]
batch-size:               8

[mask.vgg_clear]
batch-size:               6

[mask.vgg_obstructed]
batch-size:               2

--------- gui.ini ---------

[global]
fullscreen:               False
tab:                      extract
options_panel_width:      30
console_panel_height:     20
icon_size:                14
font:                     default
font_size:                9
autosave_last_session:    prompt
timeout:                  120
auto_load_model_stats:    True

--------- train.ini ---------

[global]
coverage:                 68.75
icnr_init:                False
conv_aware_init:          False
optimizer:                adam
learning_rate:            5e-05
reflect_padding:          False
allow_growth:             False
mixed_precision:          False
convert_batchsize:        16

[global.loss]
loss_function:            ssim
mask_loss_function:       mse
l2_reg_term:              100
eye_multiplier:           3
mouth_multiplier:         2
penalized_mask_loss:      True
mask_type:                extended
mask_blur_kernel:         3
mask_threshold:           4
learn_mask:               False

[model.dfl_h128]
lowmem:                   False

[model.dfl_sae]
input_size:               128
clipnorm:                 True
architecture:             df
autoencoder_dims:         0
encoder_dims:             42
decoder_dims:             21
multiscale_decoder:       False

[model.dlight]
features:                 best
details:                  good
output_size:              256

[model.original]
lowmem:                   False

[model.realface]
input_size:               64
output_size:              128
dense_nodes:              1536
complexity_encoder:       128
complexity_decoder:       512

[model.unbalanced]
input_size:               128
lowmem:                   False
clipnorm:                 True
nodes:                    1024
complexity_encoder:       128
complexity_decoder_a:     384
complexity_decoder_b:     512

[model.villain]
lowmem:                   False

[trainer.original]
preview_images:           14
zoom_amount:              5
rotation_range:           10
shift_range:              5
flip_chance:              50
disable_warp:             False
color_lightness:          30
color_ab:                 8
color_clahe_chance:       50
color_clahe_max_size:     4

btw, my GPU is the RTX 3080, is this the cause?

Thanks!


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: CRITICAL An unexpected crash has occurred

Post by torzdf »

There is an issue with your video file. You should probably re-encode it.

Either way, you can't currently use FS with 30xx cards, as pinned in every forum at the moment.

My word is final


User avatar
codenamegrim
Posts: 2
Joined: Thu Dec 03, 2020 10:40 pm
Has thanked: 1 time

Re: CRITICAL An unexpected crash has occurred - OSError: Could not load meta information

Post by codenamegrim »

Sorry to Hijack this post. Any idea when will be able to use FS with 30 series cards.


User avatar
codenamegrim
Posts: 2
Joined: Thu Dec 03, 2020 10:40 pm
Has thanked: 1 time

OSError ("Could not load meta information) ffmpeg version 4.3.1

Post by codenamegrim »

Hello All,

When I try to extract faces I receive the below error and it stops with an unexpected error. This has never worked since installing this.

Code: Select all

12/03/2020 14:04:35 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: align_fan_output
12/03/2020 14:04:35 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled align threads: [<lib.multithreading.MultiThread object at 0x00000258725DE4F0>, <lib.multithreading.MultiThread object at 0x000002580E854EE0>, <lib.multithreading.MultiThread object at 0x000002580E854190>]
12/03/2020 14:04:35 MainProcess     MainThread      session         load_model                VERBOSE  Initializing plugin model: FAN
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                INFO     Initialized FAN (Align) with batchsize of 12
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'align_fan_input'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'align_fan_input_0'
12/03/2020 14:24:51 MainProcess     align_fan_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'align_fan_input': 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'align_fan_predict'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'align_fan_predict_0'
12/03/2020 14:24:51 MainProcess     align_fan_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'align_fan_predict': 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'align_fan_output'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'align_fan_output_0'
12/03/2020 14:24:51 MainProcess     align_fan_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'align_fan_output': 1
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched align plugin
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launching mask_0 plugin
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    in_qname: extract0_mask_0_in, out_qname: extract0_mask_1_in
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                DEBUG    initialize Mask: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x0000025872900B20>, 'out_queue': <queue.Queue object at 0x00000258729003A0>})
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                INFO     Initializing Components (Mask)...
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_predict_components'
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_predict_components', maxsize: 1)
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_predict_components')
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_predict_components'
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_post_components'
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_post_components', maxsize: 1)
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_post_components')
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_post_components'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiling mask threads
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_components_input, function: <bound method Mask.process_input of <plugins.extract.mask.components.Mask object at 0x00000258728E0D60>>, in_queue: <queue.Queue object at 0x0000025872900B20>, out_queue: <queue.Queue object at 0x00000259EF33C220>)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_components_input', thread_count: 1)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_components_input'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_components_input
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_components_predict, function: <bound method Masker._predict of <plugins.extract.mask.components.Mask object at 0x00000258728E0D60>>, in_queue: <queue.Queue object at 0x00000259EF33C220>, out_queue: <queue.Queue object at 0x00000259EF33C400>)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_components_predict', thread_count: 1)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_components_predict'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_components_predict
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_components_output, function: <bound method Mask.process_output of <plugins.extract.mask.components.Mask object at 0x00000258728E0D60>>, in_queue: <queue.Queue object at 0x00000259EF33C400>, out_queue: <queue.Queue object at 0x00000258729003A0>)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_components_output', thread_count: 1)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_components_output'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_components_output
12/03/2020 14:24:51 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled mask threads: [<lib.multithreading.MultiThread object at 0x000002580F44AAC0>, <lib.multithreading.MultiThread object at 0x00000259EF33C580>, <lib.multithreading.MultiThread object at 0x00000259EF33C5B0>]
12/03/2020 14:24:51 MainProcess     MainThread      components      init_model                DEBUG    No mask model to initialize
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                INFO     Initialized Components (Mask) with batchsize of 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_components_input'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_components_input_0'
12/03/2020 14:24:51 MainProcess     mask_components_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_components_input': 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_components_predict'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_components_predict_0'
12/03/2020 14:24:51 MainProcess     mask_components_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_components_predict': 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_components_output'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_components_output_0'
12/03/2020 14:24:51 MainProcess     mask_components_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_components_output': 1
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched mask_0 plugin
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launching mask_1 plugin
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    in_qname: extract0_mask_1_in, out_qname: extract0_mask_1_out
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                DEBUG    initialize Mask: (args: (), kwargs: {'in_queue': <queue.Queue object at 0x00000258729003A0>, 'out_queue': <queue.Queue object at 0x00000258728E0F40>})
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                INFO     Initializing Extended (Mask)...
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_predict_extended'
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_predict_extended', maxsize: 1)
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_predict_extended')
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_predict_extended'
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager getting: 'mask0_post_extended'
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager adding: (name: 'mask0_post_extended', maxsize: 1)
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   add_queue                 DEBUG    QueueManager added: (name: 'mask0_post_extended')
12/03/2020 14:24:51 MainProcess     MainThread      queue_manager   get_queue                 DEBUG    QueueManager got: 'mask0_post_extended'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiling mask threads
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_extended_input, function: <bound method Mask.process_input of <plugins.extract.mask.extended.Mask object at 0x0000025872900D90>>, in_queue: <queue.Queue object at 0x00000258729003A0>, out_queue: <queue.Queue object at 0x00000259EF33CD90>)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_extended_input', thread_count: 1)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_extended_input'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_extended_input
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_extended_predict, function: <bound method Masker._predict of <plugins.extract.mask.extended.Mask object at 0x0000025872900D90>>, in_queue: <queue.Queue object at 0x00000259EF33CD90>, out_queue: <queue.Queue object at 0x00000259EF33CF70>)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_extended_predict', thread_count: 1)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_extended_predict'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_extended_predict
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Adding thread: (name: mask_extended_output, function: <bound method Mask.process_output of <plugins.extract.mask.extended.Mask object at 0x0000025872900D90>>, in_queue: <queue.Queue object at 0x00000259EF33CF70>, out_queue: <queue.Queue object at 0x00000258728E0F40>)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initializing MultiThread: (target: 'mask_extended_output', thread_count: 1)
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  __init__                  DEBUG    Initialized MultiThread: 'mask_extended_output'
12/03/2020 14:24:51 MainProcess     MainThread      _base           _add_thread               DEBUG    Added thread: mask_extended_output
12/03/2020 14:24:51 MainProcess     MainThread      _base           _compile_threads          DEBUG    Compiled mask threads: [<lib.multithreading.MultiThread object at 0x00000259EF33C5E0>, <lib.multithreading.MultiThread object at 0x00000259EF346130>, <lib.multithreading.MultiThread object at 0x00000259EF346160>]
12/03/2020 14:24:51 MainProcess     MainThread      extended        init_model                DEBUG    No mask model to initialize
12/03/2020 14:24:51 MainProcess     MainThread      _base           initialize                INFO     Initialized Extended (Mask) with batchsize of 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_extended_input'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_extended_input_0'
12/03/2020 14:24:51 MainProcess     mask_extended_input_0 _base           _thread_process           DEBUG    threading: (function: 'process_input')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_extended_input': 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_extended_predict'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_extended_predict_0'
12/03/2020 14:24:51 MainProcess     mask_extended_predict_0 _base           _thread_process           DEBUG    threading: (function: '_predict')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_extended_predict': 1
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread(s): 'mask_extended_output'
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Starting thread 1 of 1: 'mask_extended_output_0'
12/03/2020 14:24:51 MainProcess     mask_extended_output_0 _base           _thread_process           DEBUG    threading: (function: 'process_output')
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  start                     DEBUG    Started all threads 'mask_extended_output': 1
12/03/2020 14:24:51 MainProcess     MainThread      pipeline        _launch_plugin            DEBUG    Launched mask_1 plugin
12/03/2020 14:24:51 MainProcess     MainThread      multithreading  check_and_raise_error     DEBUG    Thread error caught: [(<class 'OSError'>, OSError("Could not load meta information\n=== stderr ===\nffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers\n  built with gcc 10.2.1 (GCC) 20200726\n  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf\n  libavutil      56. 51.100 / 56. 51.100\n\n  libavcodec     58. 91.100 / 58. 91.100\n  libavformat    58. 45.100 / 58. 45.100\n  libavdevice    58. 10.100 / 58. 10.100\n  libavfilter     7. 85.100 /  7. 85.100\n  libswscale      5.  7.100 /  5.  7.100\n  libswresample   3.  7.100 /  3.  7.100\n  libpostproc    55.  7.100 / 55.  7.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\\Users\\Testing\\Desktop\\Testing tools\\DeepFaceLab_NVIDIA\\workspace\\data_src.mp4':\n  Metadata:\n    major_brand     : mp42\n\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    creation_time   : 2018-04-19T07:29:40.000000Z\n  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s\n    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)\n    Metadata:\n      creation_time   : 2018-04-19T07:29:40.000000Z\n      handler_name    : Video Media Handler\n      encoder         : AVC Coding\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : mp42\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    encoder         : Lavf58.45.100\n    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)\nffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers\n  built with gcc 10.2.1 (GCC) 20200726\n  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf\n  libavutil      56. 51.100 / 56. 51.100\n\n  libavcodec     58. 91.100 / 58. 91.100\n  libavformat    58. 45.100 / 58. 45.100\n  libavdevice    58. 10.100 / 58. 10.100\n  libavfilter     7. 85.100 /  7. 85.100\n  libswscale      5.  7.100 /  5.  7.100\n  libswresample   3.  7.100 /  3.  7.100\n  libpostproc    55.  7.100 / 55.  7.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\\Users\\Testing\\Desktop\\Testing tools\\DeepFaceLab_NVIDIA\\workspace\\data_src.mp4':\n  Metadata:\n    major_brand     : mp42\n\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    creation_time   : 2018-04-19T07:29:40.000000Z\n  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s\n    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)\n    Metadata:\n      creation_time   : 2018-04-19T07:29:40.000000Z\n      handler_name    : Video Media Handler\n      encoder         : AVC Coding\nStream mapping:\n  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))\nPress [q] to stop, [?] for help\nOutput #0, image2pipe, to 'pipe:':\n  Metadata:\n    major_brand     : mp42\n    minor_version   : 19529854\n    compatible_brands: mp42isom\n    encoder         : Lavf58.45.100\n    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)\n    Metadata:\n      creation_time   : 2018-04-19T07:29:40.000000Z\n      handler_name    : Video Media Handler"), <traceback object at 0x000002580DB81B00>)]
Traceback (most recent call last):
  File "C:\Users\Testing\faceswap\lib\cli\launcher.py", line 182, in execute_script
    process.process()
  File "C:\Users\Testing\faceswap\scripts\extract.py", line 118, in process
    self._run_extraction()
  File "C:\Users\Testing\faceswap\scripts\extract.py", line 206, in _run_extraction
    self._check_thread_error()
  File "C:\Users\Testing\faceswap\scripts\extract.py", line 237, in _check_thread_error
    thread.check_and_raise_error()
  File "C:\Users\Testing\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "C:\Users\Testing\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Testing\faceswap\scripts\extract.py", line 151, in _load
    for filename, image in self._images.load():
  File "C:\Users\Testing\faceswap\lib\image.py", line 980, in load
    self._thread.check_and_raise_error()
  File "C:\Users\Testing\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
    raise error[1].with_traceback(error[2])
  File "C:\Users\Testing\faceswap\lib\multithreading.py", line 37, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Testing\faceswap\lib\image.py", line 885, in _process
    for retval in iterator():
  File "C:\Users\Testing\faceswap\lib\image.py", line 908, in _from_video
    reader = imageio.get_reader(self.location, "ffmpeg")
  File "C:\Users\Testing\MiniConda3\envs\1181514\lib\site-packages\imageio\core\functions.py", line 186, in get_reader
    return format.get_reader(request)
  File "C:\Users\Testing\MiniConda3\envs\1181514\lib\site-packages\imageio\core\format.py", line 170, in get_reader
    return self.Reader(self, request)
  File "C:\Users\Testing\faceswap\lib\image.py", line 36, in __init__
    super().__init__(format, request)
  File "C:\Users\Testing\MiniConda3\envs\1181514\lib\site-packages\imageio\core\format.py", line 221, in __init__
    self._open(**self.request.kwargs.copy())
  File "C:\Users\Testing\MiniConda3\envs\1181514\lib\site-packages\imageio\plugins\ffmpeg.py", line 323, in _open
    self._initialize()
  File "C:\Users\Testing\faceswap\lib\image.py", line 219, in _initialize
    self._meta.update(self._read_gen.__next__())
  File "C:\Users\Testing\MiniConda3\envs\1181514\lib\site-packages\imageio_ffmpeg\_io.py", line 174, in read_frames
    raise IOError(fmt.format(err2))
OSError: Could not load meta information
=== stderr ===
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200726
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 51.100 / 56. 51.100

  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Testing\Desktop\Testing tools\DeepFaceLab_NVIDIA\workspace\data_src.mp4':
  Metadata:
    major_brand     : mp42

    minor_version   : 19529854
    compatible_brands: mp42isom
    creation_time   : 2018-04-19T07:29:40.000000Z
  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2018-04-19T07:29:40.000000Z
      handler_name    : Video Media Handler
      encoder         : AVC Coding
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, image2pipe, to 'pipe:':
  Metadata:
    major_brand     : mp42
    minor_version   : 19529854
    compatible_brands: mp42isom
    encoder         : Lavf58.45.100
    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200726
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 51.100 / 56. 51.100

  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Testing\Desktop\Testing tools\DeepFaceLab_NVIDIA\workspace\data_src.mp4':
  Metadata:
    major_brand     : mp42

    minor_version   : 19529854
    compatible_brands: mp42isom
    creation_time   : 2018-04-19T07:29:40.000000Z
  Duration: 00:00:27.36, start: 0.041708, bitrate: 4027 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 4025 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2018-04-19T07:29:40.000000Z
      handler_name    : Video Media Handler
      encoder         : AVC Coding
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, image2pipe, to 'pipe:':
  Metadata:
    major_brand     : mp42
    minor_version   : 19529854
    compatible_brands: mp42isom
    encoder         : Lavf58.45.100
    Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1193200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
      creation_time   : 2018-04-19T07:29:40.000000Z
      handler_name    : Video Media Handler

============ System Information ============
encoding:            cp1252
git_branch:          master
git_commits:         c24bf2b GUI - Revert Conda default font fix
gpu_cuda:            11.1
gpu_cudnn:           No global version found. Check Conda packages for Conda cuDNN
gpu_devices:         GPU_0: GeForce RTX 3060 Ti
gpu_devices_active:  GPU_0
gpu_driver:          457.51
gpu_vram:            GPU_0: 8192MB
os_machine:          AMD64
os_platform:         Windows-10-10.0.18362-SP0
os_release:          10
py_command:          C:\Users\Testing\faceswap\faceswap.py extract -i C:/Users/Testing/Desktop/Testing tools/DeepFaceLab_NVIDIA/workspace/data_src.mp4 -o C:/Users/Testing/Desktop/Testing tools/FaceSwap 1/Source V -D s3fd -A fan -nm none -min 0 -l 0.4 -een 1 -sz 256 -si 0 -L INFO -gui
py_conda_version:    conda 4.9.2
py_implementation:   CPython
py_version:          3.8.5
py_virtual_env:      True
sys_cores:           4
sys_processor:       Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
sys_ram:             Total: 24519MB, Available: 17893MB, Used: 6626MB, Free: 17893MB

=============== Pip Packages ===============
absl-py==0.11.0
astunparse==1.6.3
cachetools==4.1.1
certifi==2020.11.8
chardet==3.0.4
cycler==0.10.0
fastcluster==1.1.26
ffmpy==0.2.3
gast==0.3.3
google-auth==1.23.0
google-auth-oauthlib==0.4.2
google-pasta==0.2.0
grpcio==1.34.0
h5py==2.10.0
idna==2.10
imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work
imageio-ffmpeg @ file:///home/conda/feedstock_root/build_artifacts/imageio-ffmpeg_1589202782679/work
joblib @ file:///tmp/build/80754af9/joblib_1601912903842/work
Keras-Preprocessing==1.1.2
kiwisolver @ file:///C:/ci/kiwisolver_1604014703538/work
Markdown==3.3.3
matplotlib @ file:///C:/ci/matplotlib-base_1592837548929/work
mkl-fft==1.2.0
mkl-random==1.1.1
mkl-service==2.3.0
numpy==1.18.5
nvidia-ml-py3 @ git+https://github.com/deepfakes/nvidia-ml-py3.git@6fc29ac84b32bad877f078cb4a777c1548a00bf6
oauthlib==3.1.0
olefile==0.46
opencv-python==4.4.0.46
opt-einsum==3.3.0
pathlib==1.0.1
Pillow @ file:///C:/ci/pillow_1603823068645/work
protobuf==3.14.0
psutil @ file:///C:/ci/psutil_1598370330503/work
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==2.4.7
python-dateutil==2.8.1
pywin32==227
requests==2.25.0
requests-oauthlib==1.3.0
rsa==4.6
scikit-learn @ file:///C:/ci/scikit-learn_1598377018496/work
scipy @ file:///C:/ci/scipy_1604596260408/work
sip==4.19.13
six @ file:///C:/ci/six_1605187374963/work
tensorboard==2.2.2
tensorboard-plugin-wit==1.7.0
tensorflow-gpu==2.2.1
tensorflow-gpu-estimator==2.2.0
termcolor==1.1.0
threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl
tornado @ file:///C:/ci/tornado_1606942392901/work
tqdm @ file:///tmp/build/80754af9/tqdm_1606938474023/work
urllib3==1.26.2
Werkzeug==1.0.1
wincertstore==0.2
wrapt==1.12.1

============== Conda Packages ==============
# packages in environment at C:\Users\Testing\MiniConda3\envs\1181514:
#
# Name                    Version                   Build  Channel
absl-py                   0.11.0                   pypi_0    pypi
astunparse                1.6.3                    pypi_0    pypi
blas                      1.0                         mkl  
ca-certificates           2020.10.14                    0  
cachetools                4.1.1                    pypi_0    pypi
certifi                   2020.11.8        py38haa95532_0  
chardet                   3.0.4                    pypi_0    pypi
cudatoolkit               10.1.243             h74a9793_0  
cudnn                     7.6.5                cuda10.1_0  
cycler                    0.10.0                   py38_0  
fastcluster               1.1.26           py38h251f6bf_2    conda-forge
ffmpeg                    4.3.1                ha925a31_0    conda-forge
ffmpy                     0.2.3                    pypi_0    pypi
freetype                  2.10.4               hd328e21_0  
gast                      0.3.3                    pypi_0    pypi
git                       2.23.0               h6bb4b03_0  
google-auth               1.23.0                   pypi_0    pypi
google-auth-oauthlib      0.4.2                    pypi_0    pypi
google-pasta              0.2.0                    pypi_0    pypi
grpcio                    1.34.0                   pypi_0    pypi
h5py                      2.10.0                   pypi_0    pypi
icc_rt                    2019.0.0             h0cc432a_1  
icu                       58.2                 ha925a31_3  
idna                      2.10                     pypi_0    pypi
imageio                   2.9.0                      py_0  
imageio-ffmpeg            0.4.2                      py_0    conda-forge
intel-openmp              2020.2                      254  
joblib                    0.17.0                     py_0  
jpeg                      9b                   hb83a4c4_2  
keras-preprocessing       1.1.2                    pypi_0    pypi
kiwisolver                1.3.0            py38hd77b12b_0  
libpng                    1.6.37               h2a8f88b_0  
libtiff                   4.1.0                h56a325e_1  
lz4-c                     1.9.2                hf4a77e7_3  
markdown                  3.3.3                    pypi_0    pypi
matplotlib                3.2.2                         0  
matplotlib-base           3.2.2            py38h64f37c6_0  
mkl                       2020.2                      256  
mkl-service               2.3.0            py38h2bbff1b_0  
mkl_fft                   1.2.0            py38h45dec08_0  
mkl_random                1.1.1            py38h47e9c7a_0  
numpy                     1.18.5                   pypi_0    pypi
nvidia-ml-py3             7.352.1                  pypi_0    pypi
oauthlib                  3.1.0                    pypi_0    pypi
olefile                   0.46                       py_0  
opencv-python             4.4.0.46                 pypi_0    pypi
openssl                   1.1.1h               he774522_0  
opt-einsum                3.3.0                    pypi_0    pypi
pathlib                   1.0.1                      py_1  
pillow                    8.0.1            py38h4fa10fc_0  
pip                       20.3             py38haa95532_0  
protobuf                  3.14.0                   pypi_0    pypi
psutil                    5.7.2            py38he774522_0  
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pyparsing                 2.4.7                      py_0  
pyqt                      5.9.2            py38ha925a31_4  
python                    3.8.5                h5fd99cc_1  
python-dateutil           2.8.1                      py_0  
python_abi                3.8                      1_cp38    conda-forge
pywin32                   227              py38he774522_1  
qt                        5.9.7            vc14h73c81de_0  
requests                  2.25.0                   pypi_0    pypi
requests-oauthlib         1.3.0                    pypi_0    pypi
rsa                       4.6                      pypi_0    pypi
scikit-learn              0.23.2           py38h47e9c7a_0  
scipy                     1.5.2            py38h14eb087_0  
setuptools                50.3.2           py38haa95532_2  
sip                       4.19.13          py38ha925a31_0  
six                       1.15.0           py38haa95532_0  
sqlite                    3.33.0               h2a8f88b_0  
tensorboard               2.2.2                    pypi_0    pypi
tensorboard-plugin-wit    1.7.0                    pypi_0    pypi
tensorflow-gpu            2.2.1                    pypi_0    pypi
tensorflow-gpu-estimator  2.2.0                    pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
threadpoolctl             2.1.0              pyh5ca1d4c_0  
tk                        8.6.10               he774522_0  
tornado                   6.1              py38h2bbff1b_0  
tqdm                      4.54.0             pyhd3eb1b0_0  
urllib3                   1.26.2                   pypi_0    pypi
vc                        14.1                 h0510ff6_4  
vs2015_runtime            14.16.27012          hf0eaf9b_3  
werkzeug                  1.0.1                    pypi_0    pypi
wheel                     0.36.0             pyhd3eb1b0_0  
wincertstore              0.2                      py38_0  
wrapt                     1.12.1                   pypi_0    pypi
xz                        5.2.5                h62dcd97_0  
zlib                      1.2.11               h62dcd97_4  
zstd                      1.4.5                h04227a9_0  

================= Configs ==================
--------- .faceswap ---------
backend:                  nvidia

--------- convert.ini ---------

[color.color_transfer]
clip:                     True
preserve_paper:           True

[color.manual_balance]
colorspace:               HSV
balance_1:                0.0
balance_2:                0.0
balance_3:                0.0
contrast:                 0.0
brightness:               0.0

[color.match_hist]
threshold:                99.0

[mask.box_blend]
type:                     gaussian
distance:                 11.0
radius:                   5.0
passes:                   1

[mask.mask_blend]
type:                     normalized
kernel_size:              3
passes:                   4
threshold:                4
erosion:                  0.0

[scaling.sharpen]
method:                   none
amount:                   150
radius:                   0.3
threshold:                5.0

[writer.ffmpeg]
container:                mp4
codec:                    libx264
crf:                      23
preset:                   medium
tune:                     none
profile:                  auto
level:                    auto
skip_mux:                 False

[writer.gif]
fps:                      25
loop:                     0
palettesize:              256
subrectangles:            False

[writer.opencv]
format:                   png
draw_transparent:         False
jpg_quality:              75
png_compress_level:       3

[writer.pillow]
format:                   png
draw_transparent:         False
optimize:                 False
gif_interlace:            True
jpg_quality:              75
png_compress_level:       3
tif_compression:          tiff_deflate

--------- extract.ini ---------

[global]
allow_growth:             False

[align.fan]
batch-size:               12

[detect.cv2_dnn]
confidence:               50

[detect.mtcnn]
minsize:                  20
threshold_1:              0.6
threshold_2:              0.7
threshold_3:              0.7
scalefactor:              0.709
batch-size:               8

[detect.s3fd]
confidence:               70
batch-size:               4

[mask.unet_dfl]
batch-size:               8

[mask.vgg_clear]
batch-size:               6

[mask.vgg_obstructed]
batch-size:               2

--------- gui.ini ---------

[global]
fullscreen:               False
tab:                      extract
options_panel_width:      30
console_panel_height:     20
icon_size:                14
font:                     default
font_size:                9
autosave_last_session:    prompt
timeout:                  120
auto_load_model_stats:    True

--------- train.ini ---------

[global]
coverage:                 68.75
icnr_init:                False
conv_aware_init:          False
optimizer:                adam
learning_rate:            5e-05
reflect_padding:          False
allow_growth:             False
mixed_precision:          False
convert_batchsize:        16

[global.loss]
loss_function:            ssim
mask_loss_function:       mse
l2_reg_term:              100
eye_multiplier:           3
mouth_multiplier:         2
penalized_mask_loss:      True
mask_type:                extended
mask_blur_kernel:         3
mask_threshold:           4
learn_mask:               False

[model.dfl_h128]
lowmem:                   False

[model.dfl_sae]
input_size:               128
clipnorm:                 True
architecture:             df
autoencoder_dims:         0
encoder_dims:             42
decoder_dims:             21
multiscale_decoder:       False

[model.dlight]
features:                 best
details:                  good
output_size:              256

[model.original]
lowmem:                   False

[model.realface]
input_size:               64
output_size:              128
dense_nodes:              1536
complexity_encoder:       128
complexity_decoder:       512

[model.unbalanced]
input_size:               128
lowmem:                   False
clipnorm:                 True
nodes:                    1024
complexity_encoder:       128
complexity_decoder_a:     384
complexity_decoder_b:     512

[model.villain]
lowmem:                   False

[trainer.original]
preview_images:           14
zoom_amount:              5
rotation_range:           10
shift_range:              5
flip_chance:              50
disable_warp:             False
color_lightness:          30
color_ab:                 8
color_clahe_chance:       50
color_clahe_max_size:     4

12/03/2020 14:24:51 MainProcess MainThread multithreading check_and_raise_error DEBUG Thread error caught: [(<class 'OSError'>, OSError("Could not load meta information\n=== stderr ===\nffmpeg version 4.3.1


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: OSError ("Could not load meta information) ffmpeg version 4.3.1

Post by torzdf »

Your GPU is not currently supported.

See:
viewtopic.php?f=14&t=1043

This may or may not be the issue, but please try again when support has been implemented.

My word is final


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: CRITICAL An unexpected crash has occurred - OSError: Could not load meta information

Post by torzdf »

codenamegrim wrote: Thu Dec 03, 2020 10:54 pm

Sorry to Hijack this post. Any idea when will be able to use FS with 30 series cards.

Once Tensorflow support the cards. This is entirely out of our hands.

Follow this thread to keep updated:
viewtopic.php?f=14&t=1043

My word is final


User avatar
KaptainTZ
Posts: 2
Joined: Mon Feb 08, 2021 7:51 am

Extraction Crash Report

Post by KaptainTZ »

Ryzen 9 3900XT CPU & Gigabyte RTX 3080 GPU

I just can't get this app to work. At this point I have reinstalled probably five times, attempting both the GPU & CPU installations. I've also messed around with the GPU drivers, plugins, and a few other settings.the most recent move I made was making sure it was updated.

Here's my most recent crash report:

Output #0, image2pipe, to 'pipe:':
Metadata:
major_brand : mp42
minor_version : 19529854
compatible_brands: mp42isom
encoder : Lavf58.45.100
Stream #0:0(eng): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1491500 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:
creation_time : 2021-02-06T16:06:54.000000Z
handler_name : Video Media Handler
02/08/2021 01:51:08 CRITICAL An unexpected crash has occurred. Crash report written to 'C:\Users\cpgam\faceswap\crash_report.2021.02.08.015107150345.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting

I've somehowmanaged to do one successful extraction, but I can't replicate it. One of my attempts extracted faces but didn't make an alignment file.


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: Extraction Crash Report

Post by torzdf »

Crash report written to 'C:\Users\cpgam\faceswap\crash_report.2021.02.08.015107150345.log'. You MUST provide this file if seeking assistance. Please verify you are running the latest version of faceswap before reporting

My word is final


User avatar
KaptainTZ
Posts: 2
Joined: Mon Feb 08, 2021 7:51 am

Re: Extraction Crash Report

Post by KaptainTZ »

I've got two reports for you. They are each different videos using the exact same settings, just in case cross-referencing helps at all. I would have attached them in the original post, but I just now figured out how to.

crash_report.2021.02.08.012721943433.log Is the one that I need to make work right now. Like I said earlier, I somehow managed to get an extraction of the other one. But then I tried again and got this report. If it helps, the successful extraction was definitely done using purely my CPU after saying that the program couldn't find my GPU.

Attachments
crash_report.2021.02.08.015107150345.log
(59.7 KiB) Downloaded 187 times
crash_report.2021.02.08.012721943433.log
(59.7 KiB) Downloaded 154 times

User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: Extraction Crash Report

Post by torzdf »

File "C:\Users\cpgam\MiniConda3\envs\faceswap\lib\site-packages\imageio_ffmpeg\_io.py", line 174, in read_frames
raise IOError(fmt.format(err2))
OSError: Could not load meta information

This error is coming from imageio (which we use to read videos). Specifically it is saying that it could not load the video metadata.

Most likely there are special characters in the video metadata that it cannot parse.

You should look to strip the metadata from the source video.

My word is final


Locked