-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[confluence] add pcm, pcm_s16le and pcm_s24le audio flags #6823
Conversation
Adding a reference to List of formats as id by ffmpeg in case someone can spot more that are potentially common enough to justify making flags for them. |
The following were added to default skin DefaultAddonContextItem DefaultMusicSearch The following flags are missing in main skin and revamp(ed)themes see xbmc/xbmc#6823 pcm pcm_s16le pcm_s24le Default kodi source code references a DeafultRemovableDisk.png which default skin does not have, here we add that icon for testing where this is used and if so we add it. Updated the compressed xbt for usage release to follow.
looks good to me. or does someone prefer a 'wav' flag instead of 'pcm' for this? |
"WAV" is a container and we already have an icon for that https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/media/flagging/audio/wav.png So shouldn't we display both the "WAV" and "PCM" flag |
i know. so which one do you prefer? |
Edited previous post. Is it possible to show both, as it's also valid to have "DTS" in a "WAV"? |
You really want to see WAV next to DTS? That's not really of enduser 2015-03-26 17:39 GMT+01:00 jjd-uk notifications@github.com:
Fingerprint: 4606 DA19 EC2E 9A0B 0157 C81B DA07 CF63 1A99 5A9B |
Not that bothered just raising the point. So sticking with the contents in this case "PCM" is fine by me. |
[confluence] add pcm, pcm_s16le and pcm_s24le audio flags
Well, I decided to go with pcm cause indeed it is pcm as per codec identification of both ffmpeg and mediainfo. @ronie, given we dont display containers I think the wav flag can be deleted as it wont ever show up now ffmpeg is handling this, same would apply to other containers I would think as it will be the stream/codec that shows up and thats what we should show the user. |
WAV might be more user-friendly, normal people don't know what PCM is. |
The following were added to default skin DefaultAddonContextItem DefaultMusicSearch pcm pcm_s16le pcm_s24le see xbmc/xbmc#6823 Default kodi source code references a DeafultRemovableDisk.png which default skin does not have, here we add that icon. Itis used for removable drives like e.g. USB disks. Updated the compressed xbt for usage release to follow.
This solves no audio flag being present when we playing wav files that contain pcm stream now that most is handled via ffmpeg and not whatever we use to have in kodi, as I remember those use to be ok back then.
Without PR these 3 look like screenshot below.
This is playing a externally ripped file to wav with pcm_s24le
This is after playing a CD
There maybe others that have no flags in confluence on playback but for time being these are now handled via this PR and display expected flag.
@fritsch @ronie