Steve Webb
2008-Mar-28 16:07 UTC
[Swfdec] 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 to get MP3 extraction to work, I'm hoping. :) localhost 13 # file *.mp3 110.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz 111.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz 56.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz 84.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz - Steve -- Sent from Steve Webb's gmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/swfdec/attachments/20080328/e6dea513/attachment.html
Steve Webb
2008-Mar-28 17:24 UTC
[Swfdec] swfdex-extract tool extracts mp3 files as wav files.
Just as a followup, I'm compiling with the latest libmad and ffmpeg enabled. - Steve On Fri, Mar 28, 2008 at 10:07 AM, Steve Webb <bigwebb at gmail.com> wrote:> 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 to get MP3 extraction to work, I'm > hoping. :) > > localhost 13 # file *.mp3 > 110.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > 111.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > 56.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > 84.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > > - Steve > > -- > Sent from Steve Webb's gmail account.-- Sent from Steve Webb's gmail account. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/swfdec/attachments/20080328/05d85670/attachment.html
Benjamin Otte
2008-Mar-29 12:48 UTC
[Swfdec] swfdex-extract tool extracts mp3 files as wav files.
The swfdec-extract tool is an experimental tool that developers use to extract information about elements included in the Flash file. That's why it isn't installed. So it's unsurprising that it doesn't do end-user stuff. :) You're however free to start hacking on Swfdec to make it provide better capabilities for extracting the various data streams inside the Flash file. We're still missing a proper solution for that in the library. The current solution is pretty much ad-hock and often breaks. The next thing is that I'm 95% sure that it's not possible to put ID3 data in MP3 files embedded inside SWF files. So your quest for it will likely not be successful, even if swfdec-extract were perfect. Cheers, Benjamin On Fri, Mar 28, 2008 at 5:07 PM, Steve Webb <bigwebb at gmail.com> wrote: > 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 to get MP3 extraction to work, I'm > hoping. :) > > localhost 13 # file *.mp3 > 110.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > 111.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > 56.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > 84.mp3: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, > stereo 44100 Hz > > - Steve > > -- > Sent from Steve Webb's gmail account. > _______________________________________________ > Swfdec mailing list > Swfdec at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/swfdec > >