-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How did you get the audio for "datasets/srcdata/msrvtt/audios"? #17
Comments
ffmpeg video.mp4 -ac 1 -ar 16000 audio.wav 04/15/2024 14:39:07 - INFO - main - data_cfg_msrvtt_cap_val_batch_size : 64 not have audios video6446 |
I've used the script in https://github.com/TXH-mercury/VAST/blob/410ca47acf40d4ab098e345b76159df66bc42239/utils/offline_process_data.py to extract the audio. As for still getting no audio errors. I think some of the videos don't contain any audio, and those errors are expected. |
Thank you you save my day :) |
The original msrvtt folder structure is the below.
msrvtt
├── annotation
│ ├── MSR_VTT.json
├── high-quality
│ ├── structured-symlinks
│ │ ├── jsfusion_val_caption_idx.pkl
│ │ ├── ... many other files....
├── structured-symlinks
│ ├── jsfusion_val_caption_idx.pkl
│ ├── ... many other files....
├── videos
│ ├── all
│ │ ├── video1.mp4
│ │ ├── ....
│ │ ├── video9999.mp4
│ ├── tmp
│ │ ├──MSRVTT.zip
│ ├── vids
│ │ ├──data
│ │ │ ├── MSRVTT.zip
However, there is no audios for msrvtt.
How did you get the audio?
Is there specific way to extract the audio for example, bitrate, sample rate, audio channel, type of codec.
Any kind of audio file is valid?
"datasets/src/data/msrvtt/videos" == "msrvtt/videos/all" ?
The text was updated successfully, but these errors were encountered: