mkvmerge batch it fails when I use “.”Audio and video out of sync when using mkvmergeBatch convert flv to...
Proving an identity involving cross products and coplanar vectors
Does Doodling or Improvising on the Piano Have Any Benefits?
El Dorado Word Puzzle II: Videogame Edition
What is the meaning of the following sentence?
Make a Bowl of Alphabet Soup
If the only attacker is removed from combat, is a creature still counted as having attacked this turn?
Overlapping circles covering polygon
Is there a distance limit for minecart tracks?
Is there a RAID 0 Equivalent for RAM?
What is this high flying aircraft over Pennsylvania?
Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?
Telemetry for feature health
How were servants to the Kaiser of Imperial Germany treated and where may I find more information on them
Why do Radio Buttons not fill the entire outer circle?
What does "tick" mean in this sentence?
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Can I cause damage to electrical appliances by unplugging them when they are turned on?
Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?
How to make money from a browser who sees 5 seconds into the future of any web page?
Can I run 125kHz RF circuit on a breadboard?
Pre-Employment Background Check With Consent For Future Checks
What (the heck) is a Super Worm Equinox Moon?
Isometric embedding of a genus g surface
PTIJ: Which Dr. Seuss books should one obtain?
mkvmerge batch it fails when I use “.”
Audio and video out of sync when using mkvmergeBatch convert flv to mkv with mkvmergeMkvmerge batch for change default audioBatch rename files recovered by Photorec with their offset valuesUse mkvtoolnix / mkvmerge to merge audio track with titleBatchfile to convert AVI to MKV and tag first audio and first video file as English languageMKVMerge add .srt subtitle in batchAbout adding Windows file properties from CLI (esp. for .mkv files)Batch mux cover.jpg as attachment into a mkvHow to mkvmerge all videos and subtitles with the same file name
this batch works correctly when the title is for example: Another Thin Man (WS Van Dyke, 1939)
but it fails with "." example: Another Thin Man (W.S. Van Dyke, 1939)
the code:
@echo off
setlocal enableDelayedExpansion
::Directorios de MKVToolNix
set mkvmerge="C:Program Files (x86)MKVToolNixmkvmerge.exe"
set mkvpropedit="C:Program Files (x86)MKVToolNixmkvpropedit.exe"
::Metadata Audio
set track2au-lang=spa
set track2au-name=Spanish
::Metadata Subtitulos
set track3sub-lang=spa
set track3sub-name=Spanish
for /d /r %%a in (*) do (
pushd %%a
set files=
for %%F in (*.avi *.mp4) do set files=!files! + ^( "%%F" ^)
if not "!files!"=="" %mkvmerge% -o "%%~na.mkv" !files:~2! "%%~na.srt"
del "%%~na.avi"
del "%%~na.mp4"
del "%%~na.srt"
goto :renombrarmkv
)
:renombrarmkv
for /R %%m in (*.mkv) do (
%mkvpropedit% "%%m" -e track:2 -s name=%track2au-name% -s language=spa
%mkvpropedit% "%%m" -e track:3 -s name="%track3sub-name%" -s language=spa
)
pause
How could I solve it?
batch matroska
New contributor
add a comment |
this batch works correctly when the title is for example: Another Thin Man (WS Van Dyke, 1939)
but it fails with "." example: Another Thin Man (W.S. Van Dyke, 1939)
the code:
@echo off
setlocal enableDelayedExpansion
::Directorios de MKVToolNix
set mkvmerge="C:Program Files (x86)MKVToolNixmkvmerge.exe"
set mkvpropedit="C:Program Files (x86)MKVToolNixmkvpropedit.exe"
::Metadata Audio
set track2au-lang=spa
set track2au-name=Spanish
::Metadata Subtitulos
set track3sub-lang=spa
set track3sub-name=Spanish
for /d /r %%a in (*) do (
pushd %%a
set files=
for %%F in (*.avi *.mp4) do set files=!files! + ^( "%%F" ^)
if not "!files!"=="" %mkvmerge% -o "%%~na.mkv" !files:~2! "%%~na.srt"
del "%%~na.avi"
del "%%~na.mp4"
del "%%~na.srt"
goto :renombrarmkv
)
:renombrarmkv
for /R %%m in (*.mkv) do (
%mkvpropedit% "%%m" -e track:2 -s name=%track2au-name% -s language=spa
%mkvpropedit% "%%m" -e track:3 -s name="%track3sub-name%" -s language=spa
)
pause
How could I solve it?
batch matroska
New contributor
add a comment |
this batch works correctly when the title is for example: Another Thin Man (WS Van Dyke, 1939)
but it fails with "." example: Another Thin Man (W.S. Van Dyke, 1939)
the code:
@echo off
setlocal enableDelayedExpansion
::Directorios de MKVToolNix
set mkvmerge="C:Program Files (x86)MKVToolNixmkvmerge.exe"
set mkvpropedit="C:Program Files (x86)MKVToolNixmkvpropedit.exe"
::Metadata Audio
set track2au-lang=spa
set track2au-name=Spanish
::Metadata Subtitulos
set track3sub-lang=spa
set track3sub-name=Spanish
for /d /r %%a in (*) do (
pushd %%a
set files=
for %%F in (*.avi *.mp4) do set files=!files! + ^( "%%F" ^)
if not "!files!"=="" %mkvmerge% -o "%%~na.mkv" !files:~2! "%%~na.srt"
del "%%~na.avi"
del "%%~na.mp4"
del "%%~na.srt"
goto :renombrarmkv
)
:renombrarmkv
for /R %%m in (*.mkv) do (
%mkvpropedit% "%%m" -e track:2 -s name=%track2au-name% -s language=spa
%mkvpropedit% "%%m" -e track:3 -s name="%track3sub-name%" -s language=spa
)
pause
How could I solve it?
batch matroska
New contributor
this batch works correctly when the title is for example: Another Thin Man (WS Van Dyke, 1939)
but it fails with "." example: Another Thin Man (W.S. Van Dyke, 1939)
the code:
@echo off
setlocal enableDelayedExpansion
::Directorios de MKVToolNix
set mkvmerge="C:Program Files (x86)MKVToolNixmkvmerge.exe"
set mkvpropedit="C:Program Files (x86)MKVToolNixmkvpropedit.exe"
::Metadata Audio
set track2au-lang=spa
set track2au-name=Spanish
::Metadata Subtitulos
set track3sub-lang=spa
set track3sub-name=Spanish
for /d /r %%a in (*) do (
pushd %%a
set files=
for %%F in (*.avi *.mp4) do set files=!files! + ^( "%%F" ^)
if not "!files!"=="" %mkvmerge% -o "%%~na.mkv" !files:~2! "%%~na.srt"
del "%%~na.avi"
del "%%~na.mp4"
del "%%~na.srt"
goto :renombrarmkv
)
:renombrarmkv
for /R %%m in (*.mkv) do (
%mkvpropedit% "%%m" -e track:2 -s name=%track2au-name% -s language=spa
%mkvpropedit% "%%m" -e track:3 -s name="%track3sub-name%" -s language=spa
)
pause
How could I solve it?
batch matroska
batch matroska
New contributor
New contributor
New contributor
asked 53 secs ago
Francisco RodriguezFrancisco Rodriguez
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Francisco Rodriguez is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1415857%2fmkvmerge-batch-it-fails-when-i-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Francisco Rodriguez is a new contributor. Be nice, and check out our Code of Conduct.
Francisco Rodriguez is a new contributor. Be nice, and check out our Code of Conduct.
Francisco Rodriguez is a new contributor. Be nice, and check out our Code of Conduct.
Francisco Rodriguez is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1415857%2fmkvmerge-batch-it-fails-when-i-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown