Hello,
with the following script I want to convert all the m4a files into mp3 files. The problem is, sometimes only a few conversions take place so this script must be repeated sereval times. What is wrong with this script?
Blanc@ECHO OFF
FOR /R %%G IN (*.m4a) DO (CALL :SUB_VLC "%%G")
FOR /R %%G IN (*.m4a.mp*) DO (CALL :SUB_RENAME "%%G")
GOTO :eof
:SUB_VLC
SET _firstbit=%1
SET _qt="
CALL SET _newnm=%%_firstbit:%_qt%=%%
SET _commanm=%_newnm:,=_COMMA_%
REM echo %_commanm%
CALL "C:\Program Files\VideoLAN\VLC\vlc" -I dummy -vvv %1 --sout=#transcode{acodec="mpga",ab="512","channels=2 "}tandard{access="file",mux="raw",dst="%_commanm%.mp 3"} vlc://quit
GOTO :eof
:SUB_RENAME
SET _origfnm=%1
SET _endbit=%_origfnm:*.m4a=%
CALL SET _newfilenm=%%_origfnm:.m4a%_endbit%=.mp3%%
SET _newfilenm=%_newfilenm:_COMMA_=,%
COPY %1 %_newfilenm%
DEL %1
GOTO :eof
:eof
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Hi,
have you tried the first script that is on github page, from where you have this script?
Still don't understand why to do it through script and VLC. In Gui, like LameXP you have full control over options in exported mp3. I think you can get better mp3 from this Gui at same size higher quality.
Sorry, i don't like scripts. So only advice is to try the first script on the github page. They should do same thing and are bit different. HERE is that page.
Bernix -
Could you please upload the mentioned code here? For unknown reasons I can’t open this link.
Blanc
Similar Threads
-
Android:i want to play this channel in vlc android application (vlc.apk)
By sam jack in forum Newbie / General discussionsReplies: 5Last Post: 16th Oct 2017, 16:10 -
YouTube Conversions w/VLC Media Player
By MISS CHIEVOUS in forum Newbie / General discussionsReplies: 3Last Post: 22nd Apr 2017, 17:36 -
VLC Blu-ray plugin - Watch encrypted Blu-rays directly in VLC 2.0+
By Baldrick in forum Latest Video NewsReplies: 63Last Post: 23rd Feb 2014, 21:34 -
VLC:How can I add new/outer fitler or decoders to VLC?
By dayangwc in forum Newbie / General discussionsReplies: 2Last Post: 12th Jul 2013, 06:33 -
How can i Use VDub Script[.vcf] into Avisynth Script[.avs] ( Megui )
By Maskoff in forum EditingReplies: 1Last Post: 25th Jun 2013, 15:30