Convert in background

Asked by jaseemabid

how do i convert a video in background ? I am running a shell script to convert few videos in a folder at once. Now one video is converted only when the previous one finish converting. How can i manage this issue ? Is there a way to send it to the background ? something like a -b option or --no-verbose ?

Question information

Language:
English Edit question
Status:
Answered
For:
ffmpeg2theora Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
ogg.k (ogg-k-ogg-k) said :
#1

If you really want to do several videos at once (as in, you have several cores), then you can do something like:
find -name \*.avi | xargs -P4 -n 1 ffmpeg2theora
(untested, just off the top of my head).
Replace the find with whatever generates hte list of files you want to convert, and the 4 with the number of jobs you want to happen concurrently. Should work...

Can you help with this problem?

Provide an answer of your own, or ask jaseemabid for more information if necessary.

To post a message you must log in.