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

Implicit Wav parameters #2

Open
ThomasHezard opened this issue Jul 19, 2019 · 2 comments
Open

Implicit Wav parameters #2

ThomasHezard opened this issue Jul 19, 2019 · 2 comments

Comments

@ThomasHezard
Copy link

ThomasHezard commented Jul 19, 2019

ffmpeg -i ./sample_bee_moved_96_khz_24_bit.flac ./build/sample_bee_moved_96_khz_24_bit.wav

Similar issue as #1

ffmpeg's wav encoder uses 16-bits encoding by default.

And, by the way, FLAC, like all compressing formats, doesn't have the notion of bit depth from PCM files, so the 24-bits in the filename must come from the original record, but doesn't mean anything for the FLAC file.

@ThomasHezard
Copy link
Author

ThomasHezard commented Jul 19, 2019

several solutions to control the bit depth in a wav file :

  • using -sample_fmt (see ffmpeg -sample_fmts)
  • or using -acodec pcm_XXX (see ffmpeg -codecs | grep ' pcm_')

@Mercandj
Copy link
Owner

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

2 participants