Add multi instance support: we can call many dvd2divx in parallel in the same directory.

This commit is contained in:
agibert
2008-10-07 10:11:04 +00:00
parent 108bfe811f
commit 56bb6c5d46
3 changed files with 44 additions and 14 deletions

View File

@@ -1,7 +1,15 @@
#!/bin/bash
# dvd_device divx_root divx_title dvd_title chapter angle alang slang vcodec vbr abr xsize aspect stereo asrate deint buffer apass vpass threads
#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Mono Instance
#dvd2divx - barry_lyndon 1 1 1-24 1 fr - - - - - - - - - o - - -
#dvd2divx - barry_lyndon 2 1 25- 1 fr - - - - - - - - - o - - -
#dvd2divx - barry_lyndon 1 - - - - - lavc 920 128 480 4/3 y - n s y 2 4
#dvd2divx - barry_lyndon 2 - - - - - lavc 920 128 480 4/3 y - n s y 2 4
#
# Multi Instance
dvd2divx - barry_lyndon 1 1 1-24 1 fr - - - - - - - - - o - - -
dvd2divx - barry_lyndon 2 1 25- 1 fr - - - - - - - - - o - - -
dvd2divx - barry_lyndon 1 - - - - - lavc 920 128 480 4/3 y - n s y 2 4
dvd2divx - barry_lyndon 2 - - - - - lavc 920 128 480 4/3 y - n s y 2 4
dvd2divx - barry_lyndon 2 1 25- 1 fr - lavc 920 128 480 4/3 y - n s y 2 4 &
dvd2divx - barry_lyndon 1 - - - - - lavc 920 128 480 4/3 y - n s y 2 4 &
wait