mbakthav / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

Different cache-sizes for audio and video #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
gecko-mediaplayer has one option for cache size. Setting it at a large value 
makes video playing smoothly, but it takes too long for audio streams to start 
(due to very low bit-rate). Setting a low value audio plays well, but video may 
not reproduce that well. Having different sizes for audio streams and video 
streams solves the problem.

Original issue reported on code.google.com by ogian...@gmail.com on 15 Jun 2010 at 10:14

GoogleCodeExporter commented 8 years ago
I have some code that works on this, but only if the stream identifies itself 
as an audio stream, which not a lot of sites do. So I will put the code in, but 
site like 

http://www.e-radio.gr/player/player.asp?sID=116

Will still use the video cache size, because of the mimetype of the media which 
is application/x-mplayer2 which we have to guess that it is is video.

Original comment by kdeko...@gmail.com on 15 Jun 2010 at 7:14

GoogleCodeExporter commented 8 years ago
Different cache sizes added to gnome-mplayer for the plugin, but only works if 
the website identifies the media as "audio" somewhere in the mimetype.

Original comment by kdeko...@gmail.com on 15 Jun 2010 at 7:43