-
Notifications
You must be signed in to change notification settings - Fork 50
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
Output file encoding #22
Comments
Hey, thanks for the interest. Right now we are using a wrapper library for FFMpeg, so there is not much customization. There was a fork by another user (https://github.com/rgamici/Album-Splitter/commit/da5df0df62f23bc84db7f3462e6a118e7861459b) that used raw FFMpeg command but he never proposed a merge and right now the fork is outdated. If you want you could try the fork, update it and create a merge request, otherwise I will get to this as soon as I have some time. |
#33 should enable flac output |
That feature is gone in the latest version. I don't see the --format flag in --help. Right now it defaults to wav which I convert manually to mp3. I used this project a in may and got mp3 by default. |
Hello @Vorlent Right now the behavior is to respect the format of the input because conversion is an "hard" task to get right (there are many parameters, rules and possibilities), for example From WAV->MP3 I might need to forcefully choose a bitrate or other compression parameters that some users might not like, so it is better to just copy over the audio format and let the conversion up for some other tools, more suitable for this. In general this was discussed in #42 and there was proposed a simple command to do WAV to MP3 conversion.
I agree that the README should be a bit more clear about this. |
This repo is now gone... |
Hello @nicolaasjan As I mentioned below, this fork should not be necessary anymore. My script was updated to use for the output the same encoding/format/specifications as the source file. Any later post-processing on the output files (for example changing wav to mp3, or changing the bitrate or whatever else), you must do it with Let me know if this answer your problem. |
I have clarified this in the README, together with some examples. This issue can be closed if it is all clear on your side @nicolaasjan |
Thanks! Feel free to close it, if it's OK with @rubisco57. Sidenote: And the other is, that tracks are not placed in the right order, but instead alphabetically... |
@nicolaasjan you are absolutely right. I can push a fix for this now. I will ping you when you can try again. |
@nicolaasjan would you prefer the track number to be assigned arbitrarily by the script or to be pulled from the .txt file? In your case, do you want
|
Well, in this particular case , I edited the text file, because 01 was blocked and it seemed logical to start with 01. 😀️ |
@nicolaasjan I have updated the tool to include the track number on the filenames now. Sorry it took a while :) |
👍️❤️ Furthermore, good that you now use yt-dlp. 👍️ However, |
Right @nicolaasjan , I will open a new issue for this problem you mention. It is not particularly difficult to implement, I will need to replace some old code that I don't recognize anymore (it was written years ago) with some new code that handle these cases well. In terms of yt-dlp, pip will fetch the latest stable version on pypi.org, if you want always want to use Anyway I have also setup a periodic check that will inform me if something breaks, so I can stay up to date with changes to yt-dlp. |
I had to do it like this:
With only |
I like this project!
I was not able to figure out how to control FFmpeg's audio encoding (bit rate, file type).
Could the necessary arguments be added in the future?
The text was updated successfully, but these errors were encountered: