ffmpeg-mathematica icon indicating copy to clipboard operation
ffmpeg-mathematica copied to clipboard

Audio

Open ktakagaki opened this issue 10 years ago • 0 comments

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

ktakagaki avatar Aug 25 '14 13:08 ktakagaki