Comments (1)
Support for audio streams
Both soundfile and ffmpeg (ffprobe) can utilize audio streams (bytes). But in the case of ffmpeg there're less intermediate steps.
Dependencies
Soundfile can only be used with librosa lib that adds another dependency.
Supported codecs:
ffmpeg supports more formats.
Input formats
The input can be either an audio URL or a path to audio file.
Options
The info that's possible to extract (again, with ffmpeg - it's less steps):
- sample rate
- format
- duration
- no of channels
- etc
Example: {'format': 'mp3', 'channels': 1, 'duration': '802.108000', 'sample_rate': '16000'}
.
Output formats
mp3, wav etc
Conclusion
It's better to use ffmpeg (ffprobe).
from video2dataset.
Related Issues (20)
- too many requests for download video from YouTube HOT 2
- Failed to download: 0.000 messages when downloading HOT 1
- provide a docker image
- investigate celery + redis distribution HOT 1
- Unexpected behaviour change after download worker refactor HOT 9
- list index out of range HOT 1
- Clean up tmp part files in case of d/l failure
- Question regarding slurm(+pyspark) distributed download HOT 1
- Recent regressions HOT 3
- Add efficiency test to make it unnecessary to run it manually for each major PR
- FrameSubsampler broken in version 1.3.0 HOT 10
- Add tests for all subsamplers HOT 1
- Default process group has not been initialized, please make sure to call init_process_group. HOT 1
- Example on how to handle a padded video frame in downstream network? HOT 1
- YouTube metadata is not saved HOT 3
- Example dataloader code for distributed training? HOT 3
- Clarification needed on yt-dlp video selection query
- how could I re-download those "failed_to_download"?
- HTTPSConnectionPool(host='ak.picdn.net', port=443): Read timed out.
- How can I use video2dataset to down load the specific clip of the youtube video?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video2dataset.