Protocol-X / plugin.video.funimationnow

Ground Up build of new Kodi FunimationNOW Add-on
GNU General Public License v3.0
1 stars 0 forks source link

video bitrate differences at SD480 between old funimation addon and new one #7

Closed gitmatt19 closed 7 years ago

gitmatt19 commented 7 years ago

for some reason there is a video bitrate difference between the old funimation addon and the new one at SD480.

It is just enough to cause a 1.5mbit DSL line to buffer a lot in the new addon. Below are images showing the first ~minute of episode 1 of assassination classroom played on both addons. The old addon buffer once when it starts and then plays ok. The new addon buffer 4 times for the same amount of video. Not sure what the difference is there, but a lower bitrate like the old addon would be good because they would let you buffer up a few minutes to level out the video.

newfunimationaddon oldfunimationaddon

Protocol-X commented 7 years ago

This is a newer video which probably supports 480 & 540. The plugin are near identical for choosing bitrate. If you look modules directory you can see the code for selecting playback rate.

gitmatt19 commented 7 years ago

I see this which explains it... 2 different bitrates...

Old addon : 18:43:37 T:140646473463872 NOTICE: DVDPlayer: Opening: http ://wpc.8c48.edgecastcdn.net/038C48/SV/480/ASSENG0001/ASSENG0001-480-750K.mp4.m3u8

New Addon : 18:46:18 T:140646473463872 NOTICE: DVDPlayer: Opening: http ://wpc.8c48.edgecastcdn.net/038C48/SV/480/ASSENG0001/ASSENG0001-480-1500K.mp4.m3u8?

Can we get an option for the lower bit rate for us bandwidth impaired people ?

thanks

Matt

Protocol-X commented 7 years ago

Yes his plays the lowest 480 br mine plays the highest. You can edit it in the animexxx.py file in the modules directory. My new addon will have a slider to choose instead of 3 options but to update this my self it takes about a month for them to update the repo with a pull request

Protocol-X commented 7 years ago

Change the 1500 to 750

https://github.com/Protocol-X/plugin.video.funimationnow/blob/master/resources/lib/indexers/animeshows.py

qdict = { 0:1500, 1:2500, 2:4000 };

    hedict = {
        750:[640, 480],
        #1500:[768, 576], # aert by year
        1500:[960, 540],
        2000:[1280, 720],
        2500:[1280, 720],
        4000:[1920, 1080],
    };
gitmatt19 commented 7 years ago

thanks !

works

I had to change it in utils.py also.

Protocol-X commented 7 years ago

Ah sorry. I forgot. This was my first addon so it's kind of a mess

Protocol-X commented 7 years ago

@gitmatt19 Want to test this out? https://github.com/Protocol-X/script.video.funimationnow

gitmatt19 commented 7 years ago

I will try to take a look this weekend.

Matt

On Tue, 17 Jan 2017, Protocol-X wrote:

@gitmatt19 Want to test this out? https://github.com/Protocol-X/script.video.funimationnow

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.[AQe62nAo7DqzUsfbaL2AooiR2VrJtXtuks5rTQARgaJpZM4Ldlnc.gif]

Protocol-X commented 7 years ago

You may want to open settings prior and reduce the video quality and image quality and maybe even disable the background data synch or you can try without and if it is to slow then make the changes