syncnet_python icon indicating copy to clipboard operation
syncnet_python copied to clipboard

How to use this repo?

Open dipam7 opened this issue 5 years ago • 6 comments

If I am correct, after downloading the models, I have to run

python run_pipeline.py --videofile /path/to/video.mp4 --reference name_of_video --data_dir /path/to/output
python run_syncnet.py --videofile /path/to/video.mp4 --reference name_of_video --data_dir /path/to/output

and the sync-corrected output will be stored in output_dir/pyavi/video.avi

Is this correct?

dipam7 avatar Oct 06 '20 23:10 dipam7

No, the output is not sync-corrected. It just gives you an offset and active speaker detection labels.

joonson avatar Oct 07 '20 01:10 joonson

How do I use this repo to sync correct my videos?

dipam7 avatar Oct 07 '20 02:10 dipam7

Also the offsets.txt is not getting generated for me as mentioned in the README. Just 4 pckl files inside output_dir/pywork/reference_name/

dipam7 avatar Oct 07 '20 16:10 dipam7

what is the --reference name_of_video? I only have a clip of video for sync, I am not sure what to specify for this input.

houdajun avatar Jan 21 '21 02:01 houdajun

No, the output is not sync-corrected. It just gives you an offset and active speaker detection labels.

Do we need to sync it manually using the AV offset? How can we do it?

houdajun avatar Feb 02 '21 02:02 houdajun