LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Andrew Friedley (afriedle_at_[hidden])
Date: 2006-03-05 21:12:15


When posting a new topic to the mailing list, please write a new message
instead of replying to another. This makes threads easier to follow
with certain mail clients.

Denny Zulfikar wrote:
> hello sir,
>
> I am re-writing the ffmpeg programs to support MPI. so I added MPI_init
> and MPI_Finalize in the body of that program.
>
> The ffmpeg program must run by adding a lot of arguments after name programs.
>
> ex : ./ffmpeg -vd /dev/video -an http://localhost/feed.ffm
>
> I've try running by insert the line of ffmpeg+arguments to a shell scripts
> and then executing using mpirun. but it does not work, the ffmpeg become
> error because could not found his self library.

If you think this is a LAM/MPI related problem, give more information.

> Questions : how to running the ffmpeg+arguments using mpirun?

Any arguments coming after the program name on the mpirun command line
are passed on to each instance of the running program. For example:

mpirun -np 4 ./ffmpeg -vd /dev/video -an http://localhost/feed.ffm

mpirun-specific arguments come before './ffmpeg', ffmpeg arguments come
after.

Andrew