Richard Branches 227 Posted January 17, 2019 Author Share Posted January 17, 2019 (edited) The logic really needs to include everything and work the same for movies & TV Shows. Imagine a movie that has 5 different audio tracks in it. You only use 1 audio track at a time but the file being delivered for direct play still contains all 5 audio tracks. Those 4 "other" audio tracks still very much take up bandwidth and still need to be counted. Same with internal subtitles or any other track in the media file. Then a new threshold should be added, currently we have 320Kbps followed by 1Mbps, so a 512Kbps between the two could be more suitable, at least for me. Edited January 17, 2019 by delacosta78 Link to comment Share on other sites More sharing options...
Luke 36877 Posted January 17, 2019 Share Posted January 17, 2019 Then a new threshold should be added, currently we have 320Kbps followed by 1Mbps, so a 512Kbps between the two could be more suitable, at least for me. Yes that would be a fine compromise. Thanks. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted January 17, 2019 Author Share Posted January 17, 2019 Yes that is a problem. I will test that today. Thanks. I was wondering what did you get? Link to comment Share on other sites More sharing options...
Luke 36877 Posted January 17, 2019 Share Posted January 17, 2019 Unfortunately i cannot reproduce as it transcoded to AAC. I believe you, as your log is evidence. Can i get a copy of this file so that i can try to test with the exact same conditions? Thanks. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted January 17, 2019 Author Share Posted January 17, 2019 (edited) Unfortunately i cannot reproduce as it transcoded to AAC. I believe you, as your log is evidence. Can i get a copy of this file so that i can try to test with the exact same conditions? Thanks. All FLAC files are getting transcoded regardless if they are 24 bit or 16 bit, my upload speed is too slow to send you that big FLAC file... Remember that I have set an upload limitation of 0,5 since my upload speed is limited to 1Mbps, however, that seems to be working because all FLACs are getting transcoded, the problem is the server is not converting the files into AAC but into the same FLAC format. Edited January 17, 2019 by delacosta78 Link to comment Share on other sites More sharing options...
Luke 36877 Posted January 20, 2019 Share Posted January 20, 2019 I understand. i'm just having trouble reproducing it. What device and version of android? Link to comment Share on other sites More sharing options...
Carlo 4328 Posted January 20, 2019 Share Posted January 20, 2019 Could you use ffmpeg to cut a sample file down to 3 minutes in duration? How to use ffmpeg to do this: https://www.bugcodemaster.com/article/cut-videos-using-ffmpeg Let us know if that isn't clear and we can give you exact ffmpeg command line to run. You could then test this 3 minute sample to make sure it does the same thing you are reporting and if so upload that to Luke since it will be a smaller file. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted January 20, 2019 Author Share Posted January 20, 2019 I understand. i'm just having trouble reproducing it. What device and version of android? LG G3 Android 6.0, I used to have an Alcatel phone with Android 7.0 and it was the same. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted January 21, 2019 Author Share Posted January 21, 2019 Could you use ffmpeg to cut a sample file down to 3 minutes in duration? How to use ffmpeg to do this: https://www.bugcodemaster.com/article/cut-videos-using-ffmpeg Let us know if that isn't clear and we can give you exact ffmpeg command line to run. You could then test this 3 minute sample to make sure it does the same thing you are reporting and if so upload that to Luke since it will be a smaller file. I uploaded the whole song in Google Drive, here's the link: https://drive.google.com/open?id=1qdkWCvI32HsvU_VJQz_dpnHxAVnpdS-A Link to comment Share on other sites More sharing options...
Luke 36877 Posted January 21, 2019 Share Posted January 21, 2019 Thank you for doing that. I realize it was a pain due to your upload bandwidth. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted January 21, 2019 Author Share Posted January 21, 2019 Thank you for doing that. I realize it was a pain due to your upload bandwidth. It is, but I forgot I could use the upload speed of my 4G mobile data LOL. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted February 14, 2019 Author Share Posted February 14, 2019 (edited) Although you didn't mention anything about this issue in the release notes of 4.0.2 server, I decided to test this again and it seems songs are getting transcoded correctly, I've tested the feature for an hour and so far all the songs are getting transcoded when using mobile data, however, the dashboard needs a little bit tweaking: When a song is transcoded the server displays "Direct playing" but it clearly shows it's getting transcoded, after that it appears as if the song was never transcoded: My suggestion is to display instead the words "Transcoding song" and "Transcoded song" before and after to better acknowledge the user about what was made to the song, maybe a direct access to the log could be suitable as well: I also found the interface of the app faster than before when using mobile data, it used to become so slow that I had to stop using it after a while because it stopped responding. I'm gonna keep testing this to confirm. Edited August 30, 2020 by Richard Branches Link to comment Share on other sites More sharing options...
Luke 36877 Posted February 14, 2019 Share Posted February 14, 2019 Thanks for the feedback ! Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted February 14, 2019 Author Share Posted February 14, 2019 Unfortunately it doesn't always work, I just made another test and it's transcoding into FLAC again, sometimes it works, sometimes it doesn't... ffmpeg-transcode-4d011b65-eb66-4f19-9497-4cebfe6cf5fc_1.txt Link to comment Share on other sites More sharing options...
Luke 36877 Posted February 14, 2019 Share Posted February 14, 2019 Thanks for the info. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted February 14, 2019 Author Share Posted February 14, 2019 Meanwhile the new 512Kbps limit you added works like a charm, 320Kbps Mp3s are playing directly while FLACs above that limit are getting transcoded correctly, I think you should ditch that auto setting and let people select their desired limitation instead... Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted February 14, 2019 Author Share Posted February 14, 2019 (edited) Maybe adding a limitation for external wifi and a limitation for mobile data, with an external wifi connection we can set the highest limitation we want according to our upload speed limitation while on mobile a 96Kbps limitation will help to save data, that way we won't need to change those settings everytime we get connected to either connections. Edited February 14, 2019 by delacosta78 Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted March 12, 2019 Author Share Posted March 12, 2019 (edited) I came up with the idea of taking my Android TV device to another place with internet, so I could connect the device to the modem/router with an ethernet cable and test how the music is handle in this scenario, as you know my upload speed is limited to 0.5 and the download speed of the other location was 5Mbps. The Android TV app only has one quality option usually set to "Auto", so when I started to play some 24bit FLAC files, every single file got transcoded to 128Kbps MP3, which surprised me because I thought I was going to have the same problem of the mobile app. This is what happens on the server while transcoding: And this is what still happens on the mobile app, FLAC files transcoded into FLAC with a lower quality: I couldn't upload a log because I deleted them by accident After this test I still insist that external wifi connections should have a separate setting for audio and video like the ATV app while mobile connections should be limited to a fixed 320p/96kbps for video and audio respectively to save data. Edited March 12, 2019 by delacosta78 Link to comment Share on other sites More sharing options...
Luke 36877 Posted March 13, 2019 Share Posted March 13, 2019 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted July 1, 2019 Author Share Posted July 1, 2019 After almost 4 months I discovered the issue with "auto" setting is also present in the web player, I have to switch to 512Kpbs fixed setting in order to play music, the only device where "auto" is working correctly is Android TV, I wonder if the issue is also present on Apple devices: Link to comment Share on other sites More sharing options...
Luke 36877 Posted July 1, 2019 Share Posted July 1, 2019 The auto measurement may not always be perfect. If you need a specific value then you can always select one using the settings. Please let us know if this helps. thanks. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted July 1, 2019 Author Share Posted July 1, 2019 (edited) The auto measurement may not always be perfect. If you need a specific value then you can always select one using the settings. Please let us know if this helps. thanks. It has never worked, ever since I started this topic. Edited July 1, 2019 by Richard Branches Link to comment Share on other sites More sharing options...
Luke 36877 Posted July 6, 2019 Share Posted July 6, 2019 You mean flac transcoded to flac? Sorry this topic has spiraled into multiple discussions that I'm afraid I'm not sure what you're referring to anymore. Link to comment Share on other sites More sharing options...
Richard Branches 227 Posted July 6, 2019 Author Share Posted July 6, 2019 You mean flac transcoded to flac? Sorry this topic has spiraled into multiple discussions that I'm afraid I'm not sure what you're referring to anymore. Yes, that's the only problem this feature is facing, that's what I've been discussing ever since I discovered it. Link to comment Share on other sites More sharing options...
Luke 36877 Posted July 6, 2019 Share Posted July 6, 2019 Ok, i still have not been able to reproduce but will try to hunt it down. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now