kmisiunas/ffmpeg-mathematica — pull request #3 by ktakagaki (2014-08-25 13:29:03+00:00)
Title: Audio

Hello Karolis,

Please find attached my workaround for importing `"Sound"` and `"SampledSoundList"` from video.

In principle, we can do this with a stream/pipe as for the videos, but for some test files, I seem to be getting wrong data in Mathematica. I think the reasons may be:

- ? the pipe format (pcm_s16le)
- ?fltp planar sound encoding?
- ?the handling of multiple channels/stereo sound?

Anyway, I think this is kind of beyond my capabilities for now (I tried around a lot), so I think I will file a temporary workaround which outputs a `*.wav` file to the `$TemporaryDirectory` and `Import[]`s it.

Sincerely,
Kenta