Jump to content

API result "MediaStreamType.Video" Bitrate returns different information then the WebClient reports


chef

Recommended Posts

chef

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:

 

BitrateImage1.png

 

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:

 

BitrateImage2.png

 

 

Have I made some miscalculations? I am new at this....

 

Thanks

Link to comment
Share on other sites

chef

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 by chef
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
chef

@@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 by chef
  • Like 1
Link to comment
Share on other sites

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

chef

@@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 by chef
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...