Hi all, I got swfdec compiled and running, however there are a lot of problems running it ! As a test I tried: swfplay http://www.youtube.com/v/lUR6laFLk0A First of all I see: SWFDEC: ERROR: swfdec_codec_gst.c(231): swfdec_gst_decoder_init: failed to create decoder SWFDEC: ERROR: swfdec_codec_audio.c(192): swfdec_audio_decoder_new: no suitable decoder for audio codec 2 SWFDEC: ERROR: swfdec_codec_gst.c(231): swfdec_gst_decoder_init: failed to create decoder Second, transparency seems broken - for example, around the "play" button in the centre of the screen, and the little spinning circles. Third the video is not playing (I guess it's related to the missing codec above ? however there is no indication as to what I need to install to play it). Fourth, the buttons (pause/play) and slider bar are VERY unresponsive, and when pressed, artifacts appear in the image screen. Fifth, resizing/exposing the window is broken, the image doesn't seem to redraw. I guess you are working on these issues, and I realise the project is still in early development, but as I said, at least some indication of what codecs are missing and how to install them would be nice. Regards, Salsaman.
Hello! On Thu, 2007-12-20 at 02:25 +0100, salsaman at xs4all.nl wrote:> Third the video is not playing (I guess it's related to the missing codec > above ? however there is no indication as to what I need to install to > play it).If you are using a recent version of swfdec (0.5.5 or a revision from the git repository), it uses gstreamer by default, so you need to install non-free gstreamer codecs. This is distribution specific. On Fedora, I add Livna repository and install gstreamer-plugins-bad and gstreamer-plugins-ugly using yum. That pulls some dependencies as well. Another approach is to install mad and ffmpeg with development libraries (again, you'll need some unofficial repository) and recompile swfdec to use them: ./configure --enable-mad --enable-ffmpeg The other problems may stem from the missing codec, so please recheck that they persist once the codec issue is solved. -- Regards, Pavel Roskin
On Dec 20, 2007 2:25 AM, <salsaman at xs4all.nl> wrote:> SWFDEC: ERROR: swfdec_codec_gst.c(231): swfdec_gst_decoder_init: failed to > create decoder > SWFDEC: ERROR: swfdec_codec_audio.c(192): swfdec_audio_decoder_new: no > suitable decoder for audio codec 2 > SWFDEC: ERROR: swfdec_codec_gst.c(231): swfdec_gst_decoder_init: failed to > create decoder >You must have installed gst-ffmpeg (or whatever it's called on your distro) to be able to see video and gst-plugins-bad for mp3 audio decoding. Alternatively, you can use the --enable-ffmpeg configure switch, but that's not recommended.> Second, transparency seems broken - for example, around the "play" button > in the centre of the screen, and the little spinning circles. >Nope, that's not transparency being broken but the image. For some reason it's not repainted properly, but I haven't yet figured out why. It's a bad first impression for people new to Swfdec, but it's not really hindering playback so it wasn't worth delaying a release for it.> Third the video is not playing (I guess it's related to the missing codec > above ? however there is no indication as to what I need to install to > play it). >That is true, but then, Swfdec has no clue about it either. In theory your distro should take care of that, but I don't think Debian or Ubuntu suggest gst-ffmpeg and gst-plugins-bad on package install? (side note: This was more of a question to the packagers reading this) And hooking up something like Codeina is not as easy either, because you don't want to get a "missing codec" window from the thumbnailer or the testsuite. So it's somewhat of a hard problem, but we take patches. :)> Fourth, the buttons (pause/play) and slider bar are VERY unresponsive, and > when pressed, artifacts appear in the image screen. >The artifacts are probably related to the bug above. Unresponsiveness is a general problem with bad X servers (search the archives for "EXA" to get help on that), but could also be related to the missing codecs.> Fifth, resizing/exposing the window is broken, the image doesn't seem to > redraw. >See above. Cheers, Benjamin
Seemingly Similar Threads
- swfdex-extract tool extracts mp3 files as wav files.
- 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_audio_internal.h libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_sound.c
- 6 commits - configure.ac libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c player/swfplay.c
- no suitable decoder for audio codec 2
- 4 commits - libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_sound.c