search for: swfdec_gst_decoder_init

Displaying 5 results from an estimated 5 matches for "swfdec_gst_decoder_init".

2007 Dec 20
2
Lots of problems playing back !
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&quot...
2008 Mar 28
2
swfdex-extract tool extracts mp3 files as wav files.
Hello. I'm running the swfdec-extract tool built from the 0.6.0 source tarball under gentoo and I'm finding that it's not able to rip the MP3s from the SWF file. I'm getting this: SWFDEC: ERROR: swfdec_codec_gst.c(269): swfdec_gst_decoder_init: failed to create decoder It manages to save the file as a WAV file, but I'd prefer the MP3 to get at the ID3 info in the file. Which libs does swfdec require to pull the MP3 stuff properly - I may be missing some vital library in my gentoo build that I can go and build and recompile the tool...
2007 Oct 26
0
6 commits - configure.ac libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c player/swfplay.c
...tored output GstBuffers */ +} SwfdecGstDecoder; + +static GstFlowReturn +swfdec_gst_chain_func (GstPad *pad, GstBuffer *buffer) +{ + GQueue *queue = g_object_get_data (G_OBJECT (pad), "swfdec-queue"); + + g_queue_push_tail (queue, buffer); + + return GST_FLOW_OK; +} + +static gboolean +swfdec_gst_decoder_init (SwfdecGstDecoder *dec, const char *name, GstCaps *srccaps, GstCaps *sinkcaps) +{ + if (name) { + dec->decoder = gst_element_factory_make (name, "decoder"); + } else { + dec->decoder = swfdec_gst_get_element (srccaps); } - if (player->eof) { - //doesn't work: g...
2007 Oct 28
0
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
..._from_string ("audio/x-raw-int, endianness=byte_order, signed=(boolean)true, width=16, depth=16, channels=2"); + sinkcaps = gst_caps_from_string ("audio/x-raw-int, endianness=byte_order, signed=(boolean)true, width=16, depth=16, channels={2,1}"); g_assert (sinkcaps); if (!swfdec_gst_decoder_init (&player->convert, "audioconvert", srccaps, sinkcaps)) goto error; /* create audiorate */ gst_caps_unref (srccaps); srccaps = sinkcaps; - sinkcaps = gst_caps_from_string ("audio/x-raw-int, endianness=byte_order, signed=(boolean)true, width=16, depth=16, rate=441...
2007 Oct 28
1
9 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_codec_gst.c test/trace
...{ - SWFDEC_ERROR ("linking failed"); - swfdec_video_decoder_gst_free (&player->decoder); - return NULL; - } - if (gst_element_set_state (player->pipeline, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) { - SWFDEC_ERROR ("failed to change sate"); + if (!swfdec_gst_decoder_init (&player->dec, NULL, srccaps, sinkcaps)) { swfdec_video_decoder_gst_free (&player->decoder); + gst_caps_unref (srccaps); + gst_caps_unref (sinkcaps); return NULL; } + gst_caps_unref (srccaps); + gst_caps_unref (sinkcaps); return &player->decoder; }