How to limit mp4a audio to 16 bits per sample

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
skierpage
New Cone
New Cone
Posts: 3
Joined: 06 Sep 2011 00:28

How to limit mp4a audio to 16 bits per sample

Postby skierpage » 11 Sep 2017 10:36

Using nightly vlc-3.0.0-20170910-0457-git-win64-debug I was able to extract the MPEG AAC Audio (mp4a) audio stream from a .webm video file. The resulting .m4a file plays fine in VLC 3 and VLC 2.2, hooray.

However Google Play Music's Music Manager app refuses to upload the .m4a audio file, with "Unsupported format." When I look at Codec information for this file, it has a new piece of information, "Bits per sample: 32", that isn't in the Codec information for other .m4a files I successfully uploaded to Google Play Music nor is it in the original .webm file. Google Play Music supported file types says "ALAC (.m4a) 16-bit files supported", so I think VLC's switch to 32 bits per sample makes Music Manager unhappy. Is there any way to set VLC's mp4a encoding to 16 bits per sample? There's nothing I can see in the convert profile options or in VLC Tools > Preferences.

A workaround is to convert the audio to an MP3 file in VLC.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to limit mp4a audio to 16 bits per sample

Postby Rémi Denis-Courmont » 11 Sep 2017 17:44

VLC encodes in whatever codec you have selected. If you use the recording function or default conversion profiles, none of them use raw 32-bits, so it will just work out of the box.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests