How to generate a 8 bit per sample wav audio file in VLC

Posted by Ahmed safan on Super User See other posts from Super User or by Ahmed safan
Published on 2012-04-10T15:47:57Z Indexed on 2012/04/10 17:34 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

I'm using the following vlc command line to extract first 5 minutes of audio from video file

"-I dummy -vvv --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-transcode-threads=5 --sout-transcode-high-priority --sout-keep --sout #transcode{acodec=s16l,channels=1,samplerate=8000,ab=64}:std{mux=wav,access=file,dst="c:\dest.wav"} "c:\originalvideo.mpg" --start-time=0 --stop-time=300 vlc://quit";

if ab=64 =>64 k bits per second and samples per second=8 k samples then bits per sample=64/8=8 bits per sample but the problem is that the output file always has samples of 16 bits per sample. I know that sample can contain bits from 8 , 16, 24 to 32 bits per sample. i want to get 8 bits per sample file how can this be done ?

© Super User or respective owner

Related posts about audio

Related posts about vlc