driving video gets distorted when using video as source
hey :)
thank you so much for creating this windows package.
when I use an image as my source everything goes great, however when I use a video, two things go awry:
- I get this error:
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "C:\Users\XXX\Desktop\LivePortrait-Windows-v20240805\LivePortrait_env\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\XXX\Desktop\LivePortrait-Windows-v20240805\LivePortrait_env\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "C:\Users\XXX\Desktop\LivePortrait-Windows-v20240805\LivePortrait_env\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\XXX\Desktop\LivePortrait-Windows-v20240805\LivePortrait_env\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
- The driving video get slowed down or something, which of course results in not the animation I wanted.
for example with this driving video:
https://drive.google.com/file/d/1QM1tT-47t0f4U0rRvkg-sR68KHmc-hNg/view?usp=drive_link
I get this result (the source video doesn't matter):
https://drive.google.com/file/d/1t156jcRkbAU7B5SlVNexGuLBCcCtXElX/view?usp=sharing
you can obviously see that the driving video after the proccess is slowed and does not match the audio, even though the driving video I uploaded was fine.
this happens with the example video given as well.
any ideas?
well, I figured half og it out (and don't know how to remove the discussion, sorry... hopefully it will help other people with the same problem)
the slowing occured because the source video was of a slower fps than the driving video, once I lowered the driving video to match (using a python script) they synced together perfectly!
I'm still getting the error though
well, I figured half og it out (and don't know how to remove the discussion, sorry... hopefully it will help other people with the same problem)
the slowing occured because the source video was of a slower fps than the driving video, once I lowered the driving video to match (using a python script) they synced together perfectly!I'm still getting the error though
So, we need both videos to match same FPS?
But when you down or up the FPS of some video, it could get a slow or speed motion sometimes...