Using vision.VideoWriter can I specify the audio bitdepth? It appears to allow only 16-bit audio.

1 view (last 30 days)
I write an AVI file (using vision.VideoFileWriter) with 24-bit audio and read it out (using vision.VideoFileReader) and find the audio has 16-bit resolution. The writer complains that "The AudioDataType property is not relevant in this configuration of the System object." AVI supports 24-bit audio. Is this a limitation of the vision implementation?

Accepted Answer

Dinesh Iyer
Dinesh Iyer on 2 Feb 2016
This is a limitation of the VideoFileWriter system object in that it does not support audio data into AVI files larger than 16-bit. Additionally, it does not appear to allow setting of the AudioDataType property when writing audio to AVI files.

More Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!