i'm using mkvmerge for split my video files with this batch code on windows
how to use same command on ubuntu?Code:for %%a in ("*.mp4") do "C:\Program Files (x86)\MKVToolNix\mkvmerge.exe" -o ""F:\otpt\%(title)s.%(ext)s"\%%a" --split duration:840s "%%a" pause
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
Last edited by nie-do; 11th May 2015 at 11:23.
-
Something like
Code:#!/bin/bash for name in /videofolder/*.mp4; do /path/to/mkvmerge -o "/newvideofolder/${name%.*}.mp4" -split duration:840s "$name" done
-
Similar Threads
-
Split all video in a folder with mkvmerge?
By hell_boys in forum Newbie / General discussionsReplies: 4Last Post: 29th May 2014, 02:52 -
Batch M4V to MKV? (MKVMerge)
By newoski in forum Newbie / General discussionsReplies: 2Last Post: 4th Dec 2013, 18:37 -
Script to Batch edit MKV files with MKVMerge or any other program
By Animebuster in forum EditingReplies: 3Last Post: 21st Oct 2013, 18:17 -
Batch subtitle muxing - mkvmerge
By mkr10001 in forum EditingReplies: 1Last Post: 18th Feb 2012, 12:03 -
MKVMerge Batch Command Help
By DarrellS in forum Video ConversionReplies: 1Last Post: 31st Oct 2010, 16:05