adriantr09 / gecko-mediaplayer

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

do not start playing .avi files automatically #149

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load an .avi file [1]
[1] http://vidxden.com/tlj1bjef8pyl/bbta306.avi.html
2. Wait for the buffer to fill
3. At this point the media cannot be scrolled (either hitting the scroll bar or 
by using in fullscreen bindings such as left/right)

What is the expected output? What do you see instead?
At least for .avi files (or perhaps for all) gecko-mp could simply inform the 
user when the initial buffer is full and the stream can be played. Then the 
user could hit play. In case of .avi files, the user could wait for the movie 
to fully download (hit 100%), and then hit play and have a scrollable media 
file. 

Now gecko-mp automatically starts playing and breaks the scrolling of .avi 
files. 

What version of the product are you using? On what operating system?
1.0.4. Xubuntu 10.04. Opera

Original issue reported on code.google.com by landroni...@gmail.com on 22 Jul 2011 at 9:27

GoogleCodeExporter commented 8 years ago
Seeking depends on if mplayer reports if the media is seekable or not. 
Upgrading mplayer may solve your problem.

Original comment by kdeko...@gmail.com on 23 Jul 2011 at 2:09

GoogleCodeExporter commented 8 years ago
I don't think that this issue has more to do with the peculiarities of the AVI 
format when a given .avi is truncated, than with the version of mplayer. By 
default media players (at least mplayer and vlc) cannot seek truncated .avi 
files. Since the 2% buffer is essentially a truncated .avi file, when playing 
starts automatically the ability to seek throughout the file is lost. (This 
doesn't hold for .flv format.) 

I have now tested with mplayer SVN 33891 and the problem persists. Waiting for 
the file to download completely before starting the playback may be the only 
way to enable seeking in such cases, and the user might want to do this. 

Original comment by landroni...@gmail.com on 23 Jul 2011 at 5:33