When playing any sound swfdec freezes then plays 1-2 sec of animation/movie then freezes again when playing sound and then 1-2 sec animation/movie again :). That is happening on both my computers. When i disable the sound everything plays fine.
Can you provide more info like which audio backend are you using, if you are using ffmpeg + mad or gstreamer, an url that gives you the issue?
(In reply to comment #1) > Can you provide more info like which audio backend are you using, if you are > using ffmpeg + mad or gstreamer, an url that gives you the issue? > It is using GStreamer at the moment. But I think I tested it without it too (I'm not sure what FreeBSD port uses without GStreamer) but it was the same. And it always has been as far as I remember. I think the problem is in OSS support not the decoder because it's not freezing only on video replays but on any kind of sound.
I've seen the same with alsa oss emulation, changed a bit the title.
Ditto here with swfdec-0.5 and -0.6 on Cygwin with OSS audio. Video freezes if audio is playing, but if there is no audio, or if swfdec is built with --with-audio=none, video works fine.
Re: comment 1, I tested 0.6.6 with each of the three decoders individually, and the results are the same.
Created attachment 17487 [details] [review] tentative to readd oss backend to 0.7.x Are you willing to try this patch that readd the oss backend to 0.7.x? Diffed against git but should apply to swfdec 0.7.2. You'll need swfdec-mozilla 0.7.2.
It works fine with youtube, not with games. No luck :(
Sorry, no luck with either 0.7 or with adding O_NONBLOCK to 0.6. :-(
Created attachment 17499 [details] [review] better playback with oss backend Ok this one is against swfdec 0.6.6 tarball, i've tested these changes with 0.7.2 with both youtube and tennis.swf from the wiki screenshot page. I'd like someone from *BSD to test it. YMMV.
Sorry, tried with 0.6 and 0.7, doesn't help.
It just occurred to me, that since swfdec anyway deps gstreamer, why not use it for the audiosink as well?
Swfdec has not used GStreamer because of 4 reasons: 1) Swfdec didn't depend on GStreamer when the audio backends were written. That point is moot by now, but the biggest reason for why this wasn't even an option. 2) We open multiple sound streams and I wasn't sure if all audio outputs are able to handle this. This should be possible by now, so this point is moot, too. 3) I want to be able to couple sound streams. If a browser shows 3 Flash files and each emits 3 different sound streams, you don't want 9 volume controls or 1, but 3. 4) I want to be able to minimize dropouts, even when Swfdec (or X) clogs the CPU. The method to do this is to render 2 seconds of audio in advance. Unfortunately this causes prolems if you change the volume or pan inside the Flash file, because you don't want to wait for this to take 2 seconds to take effect. The solution to this is to rewind the sound stream. I'm not sure how to achieve this with GStreamer. So, the reason why GStreamer wasn't used before is 1) and 2) and the reason why GStreamer (nor ALSA nor OSS) but Pulseaudio is the future is reasons 3) and 4).
Guys, i am really sorry for you but 0.8 is out and oss is gone.
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.