Hi,
I've been using -splitx run from a batch file to shorten mp4s - works fine, I state the number of seconds as 0:030 for example and I get a new file in my root folder name "video-file_0_30.mp4" that only 30 secs long .. exactly what I was after. I have even been able to incorporate this with wildcards so that it automatically splits every file in a folder.
What I would like to do now is change the folder the split files are saved to be other than my root.
This is the split code I'm using in my batch;
FOR /R %%v IN (*.mp4) DO "C:\Documents and Settings\user\Application Data\Yamb\MP4Box.exe" -splitx 0:030 "%%v"
Does anyone know a way to change output folder in this code. I'd really appreciate any help.
Cheers
Scary
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
-
-
Linux and root? That is a batch for windows....
But you can change the last %%v to the folder you want like, "c:\videos\%%v" -
Yes sorry I guess I'm in the wrong forum but it's seems to be the only place mp4 batch code is discussed.
Please direct me to a more appropriate forum if you know of one.
Alternatively I will cease and desist if my participation is inappropriate.
Thank you so much for the suggestion ... you would think that would work but no.
I added a path before the "%%v" but when viewing the batch file running I can see that instead of placing the folder in the path, it adds the path "in front" of the path that the "%%v" creates when the batch runs.
ie "C:\videos\new-folder\C:\videos\fileneame.mp4" Maybe it's because of the windows 7 enviroment?
Anyhoo - any further help will be appreciated. Thanks
Scary
Similar Threads
-
WinFF 1.40 portable doesn't save folder options
By jgg in forum Video ConversionReplies: 2Last Post: 19th Jun 2012, 14:53 -
Can streamtransport save as an original mp4 instead of flv?
By yoda313 in forum Video Streaming DownloadingReplies: 4Last Post: 18th Jun 2012, 16:37 -
VirtualDub....save as .mp4
By Ogilvy in forum Video ConversionReplies: 2Last Post: 19th Mar 2010, 23:29 -
Easiest way to save an excerpt from DVD to MP4?
By sdsumike619 in forum DVD RippingReplies: 7Last Post: 11th Feb 2009, 13:44 -
How to save converted *s2d.mpg in another folder???
By junkfood in forum SVCD2DVD & VOB2MPGReplies: 1Last Post: 15th Sep 2007, 10:01