search for: swfdec_audio_decoder_new

Displaying 12 results from an estimated 12 matches for "swfdec_audio_decoder_new".

2008 May 14
1
no suitable decoder for audio codec 2
hello i tried both swfdec-0.6.6 and current git with full gstreamer install as well as with libmad. however, i get the below error message: swfdec_codec_audio.c(205): swfdec_audio_decoder_new: no suitable decoder for audio codec 2 i'm not shure if 'audio codec 2' means AC2? with gst-inspect, i find only one related tag: ffenc_ac3. what's missing here? dennis
2007 Dec 20
2
Lots of problems playing back !
...t 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 no...
2007 Oct 14
0
4 commits - libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_sound.c
...io_decoder_builtin_new }, +#ifdef HAVE_MAD + { "mad", swfdec_audio_decoder_mad_new }, +#endif +#ifdef HAVE_GST + { "gst", swfdec_audio_decoder_gst_new }, +#endif +#ifdef HAVE_FFMPEG + { "ffmpeg", swfdec_audio_decoder_ffmpeg_new }, +#endif + { NULL, } +}; + /** * swfdec_audio_decoder_new: * @format: #SwfdecAudioCodec to decode @@ -122,24 +151,37 @@ SwfdecAudioDecoder * swfdec_audio_decoder_new (SwfdecAudioCodec codec, SwfdecAudioFormat format) { SwfdecAudioDecoder *ret; + const char *list; g_return_val_if_fail (SWFDEC_IS_AUDIO_FORMAT (format), NULL); - ret = swfdec_...
2007 Nov 08
0
configure.ac libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h
...unc) (SwfdecAudioCodec, SwfdecAudioFormat); + SwfdecAudioDecoder * (* func) (guint, SwfdecAudioFormat); } audio_codecs[] = { { "builtin", swfdec_audio_decoder_builtin_new }, #ifdef HAVE_GST @@ -148,7 +148,7 @@ struct { * Returns: a new decoder or %NULL **/ SwfdecAudioDecoder * -swfdec_audio_decoder_new (SwfdecAudioCodec codec, SwfdecAudioFormat format) +swfdec_audio_decoder_new (guint codec, SwfdecAudioFormat format) { SwfdecAudioDecoder *ret; const char *list; diff --git a/libswfdec/swfdec_codec_audio.h b/libswfdec/swfdec_codec_audio.h index 8a0f4f1..48eb139 100644 --- a/libswfdec/swfdec_...
2007 Apr 08
0
libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c
...dec_codec_audio.c @@ -118,6 +118,10 @@ extern SwfdecAudioDecoderNewFunc swfdec_ extern SwfdecAudioDecoderNewFunc swfdec_audio_decoder_ffmpeg_new; #endif +#ifdef HAVE_FFMPEG +extern SwfdecAudioDecoderNewFunc swfdec_audio_decoder_gst_new; +#endif + /*** PUBLIC API ***/ /** @@ -137,6 +141,7 @@ swfdec_audio_decoder_new (SwfdecAudioFor ret = swfdec_audio_decoder_uncompressed_new (format, width, data_format); if (ret == NULL) ret = swfdec_audio_decoder_adpcm_new (format, width, data_format); +#if 0 #ifdef HAVE_MAD if (ret == NULL) ret = swfdec_audio_decoder_mad_new (format, width, data_format);...
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...->codec = swfdec_codec_get_audio (flv->format); - if (flv->codec) { - flv->decoder = swfdec_audio_codec_init (flv->codec, flv->format, flv->width, flv->in); - flv->out = swfdec_audio_codec_get_format (flv->codec, flv->decoder); - } + flv->decoder = swfdec_audio_decoder_new (flv->format, flv->width, flv->in); + if (flv->decoder == NULL) + return NULL; } else if (format != flv->format || width != flv->width || in != flv->in) { SWFDEC_ERROR ("FIXME: format change not implemented"); return NULL; } - if (f...
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
...org> Date: Sun Oct 28 22:39:09 2007 +0100 check the audio format is valid after pulling diff --git a/libswfdec/swfdec_codec_audio.c b/libswfdec/swfdec_codec_audio.c index 0c5ba5c..770027c 100644 --- a/libswfdec/swfdec_codec_audio.c +++ b/libswfdec/swfdec_codec_audio.c @@ -185,7 +185,6 @@ swfdec_audio_decoder_new (SwfdecAudioCodec codec, SwfdecAudioFormat format) if (ret) { ret->codec = codec; - g_return_val_if_fail (SWFDEC_IS_AUDIO_FORMAT (ret->format), NULL); g_return_val_if_fail (ret->push, NULL); g_return_val_if_fail (ret->pull, NULL); g_return_val_if_fail (ret-&g...
2007 Oct 15
0
3 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_codec_audio.h test/swfdec-extract.c
...Mon Oct 15 21:11:57 2007 +0200 indent diff --git a/libswfdec/swfdec_codec_audio.h b/libswfdec/swfdec_codec_audio.h index 157eadf..8a0f4f1 100644 --- a/libswfdec/swfdec_codec_audio.h +++ b/libswfdec/swfdec_codec_audio.h @@ -49,7 +49,7 @@ struct _SwfdecAudioDecoder { SwfdecAudioDecoder * swfdec_audio_decoder_new (SwfdecAudioCodec codec, SwfdecAudioFormat format); void swfdec_audio_decoder_free (SwfdecAudioDecoder * decoder); -SwfdecAudioFormat swfdec_audio_decoder_get_format (SwfdecAudioDecoder * decoder); +SwfdecAudioFormat swfdec_audio_decoder_get_format (SwfdecAudioDecoder * dec...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...c_text_format.h | 4 10 files changed, 464 insertions(+), 109 deletions(-) New commits: commit d964fa7f3b9b06dc6af4bb62cd64ff473714c543 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Oct 15 12:33:43 2007 +0300 Fix compile warnings in swfdec_video_decoder_new and swfdec_audio_decoder_new diff --git a/libswfdec/swfdec_codec_audio.c b/libswfdec/swfdec_codec_audio.c index bdf33f3..7c4ab8a 100644 --- a/libswfdec/swfdec_codec_audio.c +++ b/libswfdec/swfdec_codec_audio.c @@ -160,6 +160,7 @@ swfdec_audio_decoder_new (SwfdecAudioCodec codec, SwfdecAudioFormat format) list = g_getenv...
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
...me.org> Date: Fri Oct 26 21:11:15 2007 +0200 use , as delimiter for SWFDEC_CODEC, not : diff --git a/libswfdec/swfdec_codec_audio.c b/libswfdec/swfdec_codec_audio.c index 7c4ab8a..a46b315 100644 --- a/libswfdec/swfdec_codec_audio.c +++ b/libswfdec/swfdec_codec_audio.c @@ -167,7 +167,7 @@ swfdec_audio_decoder_new (SwfdecAudioCodec codec, SwfdecAudioFormat format) break; } } else { - char **split = g_strsplit (list, ":", -1); + char **split = g_strsplit (list, ",", -1); guint i, j; ret = NULL; SWFDEC_LOG ("codecs limited to \"%s\"", list)...
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
..., TRUE); +} + +static void +swfdec_system_has_embedded_video (SwfdecPlayer *player, SwfdecAsValue *ret) +{ + /* FIXME: what's this? */ + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, TRUE); +} + +static void +swfdec_system_has_mp3 (SwfdecPlayer *player, SwfdecAsValue *ret) +{ + SwfdecAudioDecoder *dec = swfdec_audio_decoder_new (SWFDEC_AUDIO_FORMAT_MP3, TRUE, SWFDEC_AUDIO_OUT_STEREO_44100); + + if (dec) { + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, TRUE); + swfdec_audio_decoder_free (dec); + } else { + SWFDEC_AS_VALUE_SET_BOOLEAN (ret, FALSE); + } +} + +static void +swfdec_system_has_audio_encoder (SwfdecPlayer *playe...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):