Skip to content
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

ffmpeg options #2

Closed
luchmhor opened this issue Jun 19, 2018 · 4 comments
Closed

ffmpeg options #2

luchmhor opened this issue Jun 19, 2018 · 4 comments

Comments

@luchmhor
Copy link

Hi, first of all thanks for this gem.

Would it be possible to select output options of ffmpeg, or even simpler just a general selection of the output quality. e.g. for Audiobooks the quality could be mp3/96, not neccessary to have flac.

Cheers.

@Bleuzen
Copy link
Owner

Bleuzen commented Jun 19, 2018

Hi,
sure it would be possible, but useless, because we have a problem right now.

SpotRec records some time longer at the end to be sure that nothing is missing at the end.
(There is currently no better way to do that, because I can't get the exact start and ending of a song.)
But sometimes within this time, the next song already starts. So the end of the song before also contains the first second or somewhat of the next song.
That's why I recommend to post-process the audio files with Audacity (see the Hints in the Readme).

And since you have to use Audacity anyway to cut the audio to what you want, you can export it from there to any format you like.

So I chose a lossless format (flac) to not loose quality when reencoding, so that the user can decide later in other tools (for example Audacity) which format to export to.

By the way, if your player supports it, I recommend ogg vorbis, since this is the format which Spotify uses.
When converting formats to another (ogg -> mp3) you always lose even more quality. So it would be smart to use ogg too.

Hope that helped, cheers ;)

@judd1
Copy link

judd1 commented Jun 19, 2018 via email

@Bleuzen
Copy link
Owner

Bleuzen commented Jun 19, 2018

Hello
Audacity has nothing to do with vorbis directly. You can import the flac into Audacity and export it from there to mp3 or ogg vorbis for example, but also a lot more.
Audacity is pretty easy to use. Just mark the area to remove and press Ctrl + X.

Hm, maybe K3b has a problem with it's flac decoder (if I understood you right).. try something else like ogg, it should work with K3b.

@Bleuzen
Copy link
Owner

Bleuzen commented Sep 28, 2018

Closed because there was no answer for some time.
Feel free to reopen or open a PR if you have an idea to cut the audio files exactly.

@Bleuzen Bleuzen closed this as completed Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants