Bug 18221 - Video pauses within a few seconds
Summary: Video pauses within a few seconds
Status: NEW
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL: http://dramaticmccain.com/?v
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-25 06:55 UTC by Olav Vitters
Modified: 2008-11-08 14:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Olav Vitters 2008-10-25 06:55:29 UTC
Using swfdec 0.8.2. Links: http://dramaticmccain.com/?v. The video loads, you can hear a few secs of audio, then it pauses.

It prints the following messages:
Loading stream: http://dramaticmccain.com/dramaticmccain_v3.swf
unhandled event 19
Loading stream: http://dramaticmccain.com/Drama_3big.flv
Loading stream: http://dramaticmccain.com/SteelExternalPlaySeekMute.swf
Comment 1 Riccardo Magliocchetti 2008-10-25 08:00:12 UTC
These are the errors:

SWFDEC: ERROR: swfdec_video_decoder_gst.c(149): swfdec_video_decoder_gst_decode: failed to pull decoded buffer. Broken stream?
SWFDEC: ERROR: swfdec_net_stream.c(96): swfdec_net_stream_decode_video: can't reduce size by more than available

Looks the same has been reported here:
https://bugs.freedesktop.org/show_bug.cgi?id=14496#c3

"Accidentally, I found that certain flashvideo cannot start with swfdec. 
Sound is played, but seekbar and moviearea remain plain. When I save the .flv
to the disk, mplayer plays it correctly and the debug prints that it does so by
using ffmpeg's libavcodec codec family. Movie URL is at:
http://vbox7.com/play:d8169841"
Comment 2 Vincent Beers 2008-11-08 12:49:24 UTC
> "Accidentally, I found that certain flashvideo cannot start with swfdec. 
> Sound is played, but seekbar and moviearea remain plain. When I save the .flv
> to the disk, mplayer plays it correctly and the debug prints that it does so by
> using ffmpeg's libavcodec codec family. Movie URL is at:
> http://vbox7.com/play:d8169841"
> 

I'm encountering the same problem, usually on YouTube:

Youtube videos don't play correctly. If I do nothing and just let the video play, the video usually stays at one fixed frame until I scroll around the page a bit. I have a pretty weak processor - 630 Mhz (standard downclocked Eee PC processor), but when I just download the FLV file and play it in Totem the video DOES play at full speed.

I wonder if I should file a seperate bug report because this thing has only been reported in comments, it seems... This bug persists for me in a freshly compiled 0.8.2.
Comment 3 Benjamin Otte 2008-11-08 14:10:34 UTC
> Youtube videos don't play correctly. If I do nothing and just let the video
> play, the video usually stays at one fixed frame until I scroll around the page
> a bit. I have a pretty weak processor - 630 Mhz (standard downclocked Eee PC
> processor)
>
This has to do with Swfdec skipping the rednering of frames when the CPU is fully loaded. Unfortunately, it might just skip _all_ frames, which results in the image never updating.
So the reason Swfdec does not play Youtube is that its script interpreter is too slow for your computer - or vice versa: your computer is too slow for Swfdec, your choice :)
Out of interest: Does Adobe's player work?

> when I just download the FLV file and play it in Totem the
> video DOES play at full speed.
>
See http://swfdec.freedesktop.org/wiki/FAQ for why this happens.
 
> I wonder if I should file a seperate bug report because this thing has only
> been reported in comments, it seems... This bug persists for me in a freshly
> compiled 0.8.2.
> 
I don't think filing "Swfdec's script interpreter is too slow" is a useful idea. It's very unlikely to go away very soon, unless people show up to spend time optimizing the script interpreter. I'm personally way more interested in reaching feature parity with Adobe's player than in being faster, so you're unlikely to see it becoming lots faster.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.