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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Dinesh Iyer
Dinesh Iyer il 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by