VLC does not manage to always recognize the input file format correctly. It will sometimes crash or work endlessly and never quit. If I rename the file to include the correct extension (e.g. .aac) VLC will behave better, but since the files are generated, managed and registered externally, I would like to not rename them if possible.
Is it possible to specify the input format as a parameter; or is the file name the only way to specify this? I think there must be a way of specifying this because for streams, there is no file name associated with them.
I use following snippet to convert:
Code: Select all
vlc.exe --intf dummy file "--sout=#transcode{acodec=mp3,ab=96,channels=1,samplerate=22050}:duplicate{dst=std{access=file,mux=raw,dst=outfile.mp3}}" vlc://quit