i want to save screenshot inside the subfolders
i using this app
this is my parent folderCode:http://moviethumbnail.sourceforge.net/
N:\WK\SH\Movie
inside parent folder there is multiple folder
N:\WK\SH\Movie\bluray\Inception (2010)\Inception.mkv
N:\WK\SH\Movie\bluray\Avatar (2009)\Avatar.mkv
i want mtn will read the subfolder media file and make screenshot inside the sub folder i.e
N:\WK\SH\Movie\bluray\Inception (2010)\Inception_s.jpg
N:\WK\SH\Movie\bluray\Avatar (2009)\Avatar_s.jpg
this is the mtn batch script i able to make
this is the path i need to fix "N:\WK\SH\Movie\%%f\%%s". if i use "N:\WK\SH\Movie\%%f" it's saving image file in N:\WK\SH\Movie\bluray.
like this: https://forum.videohelp.com/images/imgfiles/pFcpZiY.png
i have very little knowledge about batchs script, can someone please help me to fix this script?
Code:CD N:\WK\SH\Movie" for /d %%f in (*) do ( pushd %%f ( cd "N:\work\doc\mtn" mtn -c 2 -r 4 -w 1000 -c 1 -r 4 -b 0.3 -D 6 -O "N:\WK\SH\Movie\%%f" -L 4:2 -t -i "N:\WK\SH\Movie\%%f" -P popd ) )
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
-
Last edited by iKron; 22nd Jul 2021 at 21:25.
-
Hi.
This seemed to work OK.
I put a pause in between each movie so you can read the text on the screen.
There may be "brainfarts'. This is a real return code.
[h264 @ 6BD90F00]brainfart cropping not supported, this could look slightly wrong ...
Remember to set the path to the folder containing mtn.exe and libraries.
Code:@echo off SETLOCAL :: The folder containing mtn.exe and libraries. set path=d:\mtn; for /r %%a in ("*.mp4", "*.mkv") do call :process "%%~dpa" "%%~nxa" ENDLOCAL goto :end :process set videopath=%~1 set video=%~2 mtn -c 2 -r 4 -w 1000 -b 0.8 -D 6 -L 4:2 -t -i -P "%videopath%%video%" pause goto :eof :end
I'm sure a number of people will be interested in trying it.
I'm not interested in learning. I'll stick to batch files.
Cheers
Similar Threads
-
Mediainfo batch script create help
By iKron in forum Newbie / General discussionsReplies: 3Last Post: 5th Jul 2021, 03:53 -
Need Batch script help to prevent it asking for a language
By VideoFanatic in forum Video ConversionReplies: 0Last Post: 20th Dec 2019, 19:45 -
problem with youtube-dl used in batch script
By stax76 in forum ProgrammingReplies: 0Last Post: 27th Jun 2019, 20:52 -
Batch Script for Youtube-dl
By syalazar in forum Video Streaming DownloadingReplies: 1Last Post: 5th Feb 2019, 10:10 -
how can i work with movie thumbnailer in Centos (direct admin) in auto mode
By enable in forum ProgrammingReplies: 0Last Post: 29th Dec 2018, 03:21