add bitrate information to the QualityDetailsBtn.vue screen#1754
add bitrate information to the QualityDetailsBtn.vue screen#1754Bonusbartus wants to merge 3 commits into
Conversation
… when input is encoded with a lossy codec
|
As I think I mentioned previously, Tying the kbps row purely to inputQualityTier (GOOD/LOW) is unsafe — a Deezer or YouTube Music stream (for example) classified in those tiers will still have bit_rate as None/0, and Also why did you choose to put bitrate in the middle? Sample rate and bit depth typically go together. |
You are right, I lookad at this piece of code: and somehow assumed figured because of the first check that the bit_rate had to be set to something after all, and that the fall through was going to QualityTier.Unknown..
|
|
Personally I think it simple enough to keep inline Also I would put bitrate on the end so the line reads consistently whether the bitrate is available or not (and as I mentioned sample rate and bit depth normally go together) |
…samplerate kHz / bit_depth bits / bit_rate kbps with: / bit_rate kbps only shown when using a lossy codec and bit_rate information is available
Done, I kept the checks inline, it only needed an additional AND (&& streamDetails.audio_format.bit_rate) which is the same check also performed in the more detailed pop-up window you can click/hover. |
|
Just had a play and I wonder if people are going to ask why we show the bit rate on input but not output? |
That is a good question: As for the output side: My expectation was that the quality here should mostly be equal to or better than the input, and format is mostly chose by the output device or user directly? |
|
I was looking at it and thinking why do we have it on input and not output that is all. I thought you could use the same template so it shows at the same time as the input? Not 100% sure though so I will wait for others to have a look as well. |
|
yes, it will be very easy to add :) Let me know what others think of this. |
|
Hmmm, not sure I'm following this. We already show bitrate today in the quality details (when hovering the [i]). Do note that I recently updated the backend so that we now dynamically read the actual bitrate from ffmpeg when its reading the input stream becaus eteh info provided by (streaming) providers was a bit hit and miss. Technically we also have the bitrate for the output stream but we need a bit more plumbing to expose this to the frontend. I would say we leave that out of scope now |
|
Hi @marcelveldt
This is exactly what I added. Bitrate next to the samplerate and bitdepth, on the same line. The first iteration added it inbetween, but @OzGav suggested to keep the order of items as is.
I agree, hence the discussion here. I didn’t want to mess up the current scheme though and agree with @OzGav that keeping the order the same everywhere makes sense
Yes, I thought about this as well. But as the user has more control over the output protocol and quality I figured it would not be as important. |
add bitrate information to the QualityDetailsBtn.vue screen, but only…when input is encoded with a lossy codec
information is inserted between samplerate and bitdepth.