PS: I have tried MoviePy to turn the file to mp3, but it return KeyError: 'video_fps'. (see this: Car doesnt recognize my music downloaded with my own python app) It is worth noting that the files that have not been modified with Mp3tag can still be played on the computer, but when I use the speaker with USB disk, it cannot play. However, the edited tags cannot be displayed in File Explorer, and edited files cannot be played with. It shows ERROR: MP3 header parse error on the program interface (see this: How to fix ERROR: MP3 header parse error, but it can be edited. artist = input('Artist.')įile.initTag() # Actually I don't know what this didį_num = i + 1 # I used a loap to set track num I tried eyed3, but found that only a few times the label can be added normally, and if I write a program to change the label after downloading, it will not work at all. mp3īut when I happily started to set the album and artist information, I found that they could not be modified. Download a YouTube video directly with Mp3TagsForTracks and save the song as a Mp3 file. New_file = base + '.mp3' # Change.mp4 to. Current version: 5.1.0 published on May 25, 2022. Out_file = video.download(output_path=path) Video = yt.streams.filter(only_audio=True).first() The method I found on the web is to change the file extension directly. The file format that downloaded using yt.streams.filter(only_audio=True).first() is mp4, I want to use mp3 file. And I cannot listen these music on speaker, too. I used eyed3, MoviePy and Mp3tag, however, they did not solve my problem. I want to use pytube to download music, but the Mp3 files that downloaded with it cannot display ID3 tags(album, artist, etc.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |