chef 3746 Posted July 25, 2015 Share Posted July 25, 2015 Just looking into the bitrate of all my media using the API. The API is returning Bitrate information that is different from what the Webclient is reporting. Shown in this image here: If you look at Jurassic Park, the bitrate from the API is returning 9884450. If we divide that by 1000, which should give us the kbps then it equals: 9884.45kbps The webclient says 9652kbps: Have I made some miscalculations? I am new at this.... Thanks Link to comment Share on other sites More sharing options...
CBers 6771 Posted July 25, 2015 Share Posted July 25, 2015 You need to divide by 1024. 2 Link to comment Share on other sites More sharing options...
chef 3746 Posted July 25, 2015 Author Share Posted July 25, 2015 (edited) Doh! thank you! @@CBers Best part is now my calculations are correct, my list is returning ever movie which is not playing perfectly over my network using DLNA and xbox one. I'm blowing my own mind... Edited July 25, 2015 by chef 1 Link to comment Share on other sites More sharing options...
xlr8ed 0 Posted August 14, 2015 Share Posted August 14, 2015 Hello chef, Is there any chance you'd be prepared to share the code that that is able to generate that ouput? Link to comment Share on other sites More sharing options...
chef 3746 Posted August 14, 2015 Author Share Posted August 14, 2015 (edited) @@xlr8ed Would you like the commandline I used with ffmpeg, or the program which searches emby libraraies for media items with certain bitrates? I could give you the sln for the app... Edited August 14, 2015 by chef 1 Link to comment Share on other sites More sharing options...
xlr8ed 0 Posted August 18, 2015 Share Posted August 18, 2015 I'd love the code that reports all the bitrates as I'm looking to improve the quality of my media library starting with the lowest quality media (based on bitrate at least) first. An .sln file would be GREATLY appreciated thanks. Link to comment Share on other sites More sharing options...
xlr8ed 0 Posted August 26, 2015 Share Posted August 26, 2015 @@chef Any progress on obtaining some or all of the source code? Link to comment Share on other sites More sharing options...
chef 3746 Posted August 26, 2015 Author Share Posted August 26, 2015 (edited) @@xlr8ed Here ya go, It isn't finished, The idea here is to use the ffmpeg to begin encoding on a schedule. Most of the Scheduling parts haven't been finished, You can see where the Async Calls to the Emby Server happen. One thing to look at is Where the users are being Authenticated. This is important. Then the other part which is important is the recursive call for media items, then the new call for each item and its bitrate. https://dl.dropboxusercontent.com/u/46151346/MediaEncoder.zip Edited August 26, 2015 by chef 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