Hello, while I am using VLC for quite a long time, now I have a task to perform automated operations on the media files, and I discovered that VLC has very very powerful command line interface!
I have figured out how to slice video into frames using scene filter.
But I have problems converting audio. Source is (let's say) MP4 44100 stereo 16 bit, I need output as WAV 22050 mono 8bit. I use transcoding, tried s8 codec, it creates file of correct size, but it sounds like overloaded, tried u8 codec, it creates file of correct size which does not open at all.
VLC 2.2.2 Weathermwax Windows 7 x86
Please help me with audio. Thank you!
I found issue with U8. It writes 0 into field audioFormat, while this field should be 1. After I changed it to 1 in the file, file plays properly.
Please fix it, or tell me what I do wrongly.
S8 is having correct 1 in this field.
Some more information. V1.1.9 does not convert at all. V2.0.8 is having same U8 issue, thus it is historical problem which was not found yet.
Also, I can use "File audio output" (--audiofile) which works properly, but there's no samplerate argument to change it from default 44100 to 22050.