Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th November 2017, 11:07   #1  |  Link
cafevincent
Registered User
 
Join Date: Feb 2003
Posts: 111
How to take a clip from a video via batch script?

I need a way to copy a small clip from a video so that filebot can detect still detect video properties like resolution, video and audio codecs. It's for a batch script that oversees filebot renaming.

I'm currently not aware of any way of doing this to any file type so I'm not sure if there is a different way to do this for a video but I suspect so. I was trying to do this via mkvmerge

Code:
mkvmerge -o "%tempdir%\%file%.mkv" --split timecodes:10s --split-max-files 2 "%full%"
It appears that the split function always writes out the whole file (in pieces) even if I use the max files limit. Maybe mkvmerge is not what I should be using here?
cafevincent is offline   Reply With Quote
Old 7th November 2017, 11:10   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
--split parts:-00:10
sneaker_ger is offline   Reply With Quote
Old 7th November 2017, 13:22   #3  |  Link
cafevincent
Registered User
 
Join Date: Feb 2003
Posts: 111
thank you, works nicely!
cafevincent is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.