Transcoding problem since upgrading
Posted: 15 Nov 2008 13:56
Hi
For some time I've been using a batch file to transcode all .mp3 files in a folder to .ts format and to remove all "_"'s in the filename with " "
This has worked perfectly, automatically transcoding each file, replacing the "_" with " " and quitting at the end.
This is the code...
for %%a in (*.mp3) do "C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy -vvv "%%a" --sout=#transcode{vcodec=h264,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:standard{access=file,mux=raw,dst="%%~na.ts"} vlc:quit
Since upgrading from 0.8.6 to 0.9.6 the batch file no longer works properly.
It transcodes the first file, doesn't replace the "_" then stops. If I close the second command window and go back to the first it says Terminate Batch Job Y/N if I press N and Enter it starts transcoding the second file.
So, in upgrading to 0.9.6 the batch file no longer automatically transcodes each file in the folder or replaces "_" with " ".
I really don't understand why this is but I would appreciate some help amending the code so it works properly again
EDIT Changing vlc:quit to vlc://quit appears to solve the problem of the code stopping after only one file but I still haven't found a solution to replacing the "_" character with a space.
Thanks a lot
Kewa
For some time I've been using a batch file to transcode all .mp3 files in a folder to .ts format and to remove all "_"'s in the filename with " "
This has worked perfectly, automatically transcoding each file, replacing the "_" with " " and quitting at the end.
This is the code...
for %%a in (*.mp3) do "C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy -vvv "%%a" --sout=#transcode{vcodec=h264,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:standard{access=file,mux=raw,dst="%%~na.ts"} vlc:quit
Since upgrading from 0.8.6 to 0.9.6 the batch file no longer works properly.
It transcodes the first file, doesn't replace the "_" then stops. If I close the second command window and go back to the first it says Terminate Batch Job Y/N if I press N and Enter it starts transcoding the second file.
So, in upgrading to 0.9.6 the batch file no longer automatically transcodes each file in the folder or replaces "_" with " ".
I really don't understand why this is but I would appreciate some help amending the code so it works properly again
EDIT Changing vlc:quit to vlc://quit appears to solve the problem of the code stopping after only one file but I still haven't found a solution to replacing the "_" character with a space.
Thanks a lot
Kewa