[gstreamer-bugs] [Bug 598763] New: New plugin: aiffmux
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Oct 17 05:37:27 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=598763
GStreamer | gst-plugins-bad | git
Summary: New plugin: aiffmux
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: robert.swain at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=145658)
--> (https://bugzilla.gnome.org/attachment.cgi?id=145658)
Basic AIFF muxer
Add a basic AIFF muxer.
At the moment just the FORM, COMM and SSND chunks are written as they are the
only ones that are mandatory. I will have to do some work to make sure that all
chunk types are copied if remuxing as this is mandated by the spec I found
here:
http://www.music.mcgill.ca/~ich/classes/synth/AudioIFF1.2.1/AudioIFF1.2.1.html
I used the gst-template tool to create a generic template plugin and then
edited it while reading the plugin writer's guide as well as looking at the
wavenc plugin.
One of the fields of the SSND chunk ('sampleRate') is written to the bitstream
as an IEEE754 80-bit extended float. I borrowed some LGPL code from FFmpeg that
reformats a double to this format and clearly noted in the code which portion
this is.
I've tested with gst-launch, mplayer, ffplay and vlc. The two former ones
worked fine. ffplay seemed to stutter and sometimes crash on wavs and aiffs
created by gstreamer so I think maybe there's some issue in ffplay. vlc
stuttered on the aiff, then played a wav of the same data just fine, then
played the same aiff file just fine. I'm wondering if they use a different
audio output that cause stuttering. I will test with xine and sox as well.
This is my first plugin so I'm eager to hear some feedback as to better ways to
do things in GStreamer, particularly with regard to the event/signal/property
stuff. I looked at wavenc for those parts though maybe it's not the best
example.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list