[FFmpeg-devel] Develop Reader for National Instruments: TDMS format

Matthew Einhorn moiein2000 at gmail.com
Fri Feb 10 10:42:42 CET 2012


On Thu, Feb 9, 2012 at 4:23 PM, George <george at mantlellc.com> wrote:
> Dear Sirs;
> I could not find any development for a reader of the National Instruments TDMS format.
> I could really use FFmpeg to read these files, which are streamin type audio/data, as I would then import them into Audacity, etc.

I know a bit about TDMS file format since I have been using it a bit.
For people that don't know, the TDMS file format is similar to HDF5.

The issue I foresee with your request is that there isn't any
established way to store audio data in the tdms file that ffmpeg could
then extract. That is, you can store the audio data (and associated
metadata) within the TDMS file in any number of ways and so ffmpeg
would have no way of knowing how to extract it. Because in addition to
the actual audio data you'd also have to store information on what
kind of audio this is etc and you could write this particular info in
many ways in the file. So unless there's some clearly defined standard
of storing audio data in a tdms file (which I'm unaware of) this might
be a bit sticky.

Perhaps you can clarify why and how this audio data ended up in a tdms
file and not in a audio file directly so we can maybe suggest an
easier way of doing this. For instance, I suspect it might be easier
to parse the tdms file and extract the audio data. Then you can send
the audio data directly to ffmpeg using the ffmpeg API and save it to
a sound file that you can read in Audacity. This way you avoid having
to change ffmpeg itself.


More information about the ffmpeg-devel mailing list