Closed caseclose closed 6 months ago
Due to version compatibility issues with dependencies such as Python, when calling subprocess.Popen
within the ffmpeg.probe
module, even though we input parameters like stdout and stderr, it still throws errors indicating missing stdout, etc. Therefore, we have omitted the step of using the ffmpeg.probe
command to record information.
we can change the original code:
probe = ffmpeg.probe(video_name)
pipline(video_name, probe, output_path, fps=1, sr=22050, duration_target=10)
into the following code:
# probe = ffmpeg.probe(video_name)
pipline(video_name, None, output_path, fps=1, sr=22050, duration_target=10)
@cs-wangfeng Hi, Thank you for you useful suggestions! May I ask if you have completed the fine-tuning process on MSRVTT?
Thanks a lot.
It is abnormal and the code will not encounter bug even if there are videos which contain no audios. In addition, both msrvtt and didemo dataset contain audios. You can try adjust thread=1.
Thank you very much for your nice work! However, I encountered the following error when executing
utils/extract_frame_and_wav_multiprocess.py
for processing MSRVTT. Additionally, the progress bar is not being displayed, but the generated video frames (.jpg) and audio files (.wav) do appear in thetestt
folder. This program has been running for 15 hours with only 2374 audio files and frame files generated. The error is as follows:It's strange that similar errors did not occur when processing the
DiDeMo
dataset, but they are encountered when handling theMSRVTT
dataset. (Is this related to the fact that theDiDeMo
dataset doesn't have audio?)