09-05-2020, 01:23 AM
LOL no worries about 32 bit encoded files. You are more likely to see a Sasquatch than one of those mythical files ;-)
Thank you for your donation!
Apple lossless (M4A) shows as 32 bit on 24 bit encoding
|
09-05-2020, 01:23 AM
LOL no worries about 32 bit encoded files. You are more likely to see a Sasquatch than one of those mythical files ;-)
09-05-2020, 02:36 PM
I didn't have any hi-res ALAC-encoded files on hand, mythical or otherwise, so I made one by transcoding a 96kHz/24bit FLAC sample I did have using ffmpeg.
I see the same behavior Tim already noted when he looked with tools like mediainfo vs lsinfo. I also notice that the content of the Audio information popup differs slightly during playback: Code: INPUT / OUTPUT vs Code: INPUT / OUTPUT I'm of the opinion that this is down to the libavformat and libavcodec libraries, which underpin ffmpeg, and the way MPD plugins interpret their output but I haven't managed to follow the bread crumbs through the C++ thicket to where that is done. When I look at my two files using ffprobe, which is based on the same libs, the only difference I see is that the sample_fmt value is reported as s32 for the FLAC and s32p for the ALAC, where "p" signifies planar as opposed to multiplexed channel samples. Both are reported to be 24 bits per sample in the summary line but as 0 bits_per_sample in the details farther down(?!?). (I note too from libavformat docs that there is no s24 or s24p data type, only s8/s16/s32 types.) Here's some data cherry-picked from the rather verbose output: Code: ffprobe -showstreams Sample_BeeMoved_96kHz24bit.flac vs Code: ffprobe -showstreams Sample_BeeMoved_96kHz24bit.m4a This comparison was just for fun since, AFAIK, MPD as we have it configured doesn't gather info on FLAC material this way. I've exhausted myself already The MP4 container is a monster to parse. I can't think of a fast method to extract what we want from it without using the tools already in play and I prefer not to go another round in the MPD-issues ring. The proposed solution seems to be the path of least resistance Regards, Kent
09-05-2020, 04:48 PM
Kent, that was some impressive digging!
You wrote: "The proposed solution seems to be the path of least resistance" That's what you get from a lazy, burned out engineer like me. I also had the idea for a COVID test that always came back negative. If the true positivity rate was less than 5%, it would be right more than 95% of the time. I could charge $50/test and hand subjects the results on the spot (saying they were negative). All I need is for the My Pillow guy to push the idea to the President and I might be in line for federal funds.
Cheers,
Miss Sissy Princess
12-25-2020, 12:45 AM
12-25-2020, 04:14 AM
What is shown in moOde is what MPD stores as the format for the file.
Prolly best to submit an issue to MPD Git repo.
12-25-2020, 04:19 AM
|
« Next Oldest | Next Newest »
|