![]() ![]() You can build on and around that ffmpeg command if you need more complexity. Will convert all files ending in "mp3" in the current directory, to 16/44.1.k WAV (with a little reminder of their lossy origin at the end of the file name). Make sure the ffmpeg command to be applied in the python script is correct for the file types you'll be converting. Modify the batchconvertsetup.py script to include your absolute path to the Batch folder. That said, if it's just one directory a simple 'for loop' is sufficient - something like for f in *.mp3 do ffmpeg -i "$_mp3-to.wav" done Setup Put the containing folder 'Batch' in a convenient directory you will use for converting video files in batch form. ![]() It's also likely that over time someone (or some thing) may actually re-encode these apparently (but not really ) lossless files to a lossy codec again causing further generational loss. Converting MP3's to WAV will not and can not possibly restore any of the audio quality that has already been lost, there's no sane support for metadata / tags which will be lost, and file size will grow massively (aprox 7-12 times larger files on average, depending on bitrate. It would also help to know why you want to do this, as it's usually a bad idea. There are various approaches one might take, so it might make sense to keep things similar, and not confuse you further. Post your command / script so we can see exactly where your "invalid argument" is. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |