I using rust to get an MP3 file from a YouTube link using the rusty_ytdl crate, but using the download implementation from the Video struct results in a rather odd mp3 file. The file plays fine using windows' native media player, but trying to play it using the rodio crate results in an error with Decoder; IoError("end of stream"). Trying to play the file through VS Code also doesn't work, saying that An error occured while loading the audio file. Both the rodio crate and VS Code's native mp3 player work just fine with other MP3 files, and problems only occur with files downloaded through the rusty_ytdl crate. Why is this occuring and how do I fix it?
Edit: the mp3 file in question is https://www.dropbox.com/scl/fi/sj0xxjh52ipnbapgcjit3/Amour.mp3?rlkey=dlaad2yauzd688d1lgy7k4tjb&dl=0
MP3 file 'working' in some cases but not others
56 views Asked by baxtermaia5000 At
0
There are 0 answers
Related Questions in RUST
- `ColumnNotFound("id")` when inserting with SQLx
- Polars with Rust: Out of Memory Error when Processing Large Dataset in Docker Using Streaming
- Why is a slice a DST?
- Unable to Retrieve External Public Address in libp2p Swarm Events
- Dynamic Nested Multi-Dimensional Arrays in Rust
- Generic property compare
- "(Reason: CORS header ‘Access-Control-Allow-Origin’ missing)" while trying to access Actix webserver from Wix site
- Is a directory (os error 21) when using rust to move a file
- Different types even though same value assigned
- How to pass a byte array to a WASM module from wasmer in Rust?
- Mutable borrow problem with inserting Vacant entry into HashMap
- Expected behavior while printing reference and dereference of a variable
- How to allocate a large structure in a heap baked `Arc<T>` without stack overflow in Rust?
- In Rust, how to inspect values captured by a closure?
- How to encrypt a string at compile-time and decrypt it at runtime in Rust, similar to constexpr encryption in c++?
Related Questions in MP3
- kid3 - Import Album Art along with other tags from Discogs
- Implementing trim and fade filters with ffmpeg - MP3
- playing mp3 downloaded via curllib gets cut short
- Can Twilio save a voicemail in MP3 format when using the AWS S3 external storage option
- Using polly to generate audio from LLM output
- How to re-encode an audio to match another one, to avoid re-encoding the whole audio
- Can I just append mp3s to each other? Does that create audio artifacts?
- How can I make it so other people (and myself) can open the .py file and not have it crash when using mp3 files in the code?
- Problem with saving metadata in mp3 files using eyed3 (python)
- tagging mp3 file with TagLibSharp corrupts it
- Resolving "Module parse failed" error importing MP3s in NextJS14 TS?
- Play audio response from OpenAI TTS API in React Native with Expo
- MP3 file won't load on iOS Safari, works fine on MacOS / Chrome / Edge?
- How do you use eyed3 to create comments for MP3 files?
- Lamejs exports mp3 compressed audio file with no sound
Related Questions in PLAYBACK
- No Audio Playback in VSCode (Python)
- Looking fo an API for playback of pre-recorded video content
- The slider does not move after pausing the player MediaSession Android studio
- How to Make Android game on google play store install on windows option on
- HTML video can't play inline and use native fullscreen within WKWebView
- Syncing audio/video in pyav decoding
- Flutter mediaItem.duration and playback speed design
- Google play Console Account
- about google play review process
- my app is rejected by play console with permission error api
- Dont start automatic transmition
- LibVLC media_add_option usage: no sound in output file
- Why is the Android Link for closed testing not updating after I have created a new release? (Google Play Console)
- MP3 file 'working' in some cases but not others
- Using Playwright to Find and Click on Button with Dynamic CSS (Scraping TikTok)
Related Questions in RODIO
- MP3 file 'working' in some cases but not others
- How to I detect when a sink moves to the next source?
- how do i load an mp4 file with rodio
- I'm having an issue understanding Rust lifetimes using this audio library
- 50ms delay when returning from a function in rust
- Rust rodio Sink stops playing when the function scope changes
- Having issues with rodio crate, getting no audio output
- Why do Rodio's Sink types fail to play when used inside of a struct?
- How can I make Rust, with the Rodio crate, load multiple sources in a Vec, so I can play them later as needed without having to load them every time?
- Avoid dropping the variable when wrapped into a struct
- Rust Rodio get a list of OutputDevices
- File not found using Rodio crate
- Playing audio from url in Rust
- How can I know when a Rodio source or sink is done?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)