I'm using the following code to transcode all files in a folder from .mp4 to .mkv
Code: Select all
for %%a in (*.mp4) do "C:\Program Files (x86)\VideoLAN\VLC\vlc" -I dummy -vvv %%a --sout=#transcode{vcodec=h264,vb=800}:standard{access=file,mux=ts,dst=%%a.mkv} vlc:quit
it starts out creating the new file with the .mkv extension like it should and the file starts getting larger and larger, I can even click on it and it comes up in vlc and starts playing the movie. when it gets to the end of a file where it should be finished and move on to the next it types:
vlc:quit
cannot find vlc
then it makes the file size back to 0 (erasing the movie) and then hangs up....
anyone know what I'm doing wrong?