[MPlayer-dev-eng] Re:writing to consecutive files

Nico Sabbi nsabbi at email.it
Fri May 5 16:55:16 CEST 2006


mallikarjun wrote:

>   Hi,
>  I want to open files one after one and transcode and write to one after one,suppose in the commnad line i given one input file name and one output file name,but getting the EOF signal from the input file ,it will get new file to be read from list ,and writes to the new file.This should be happen until the files list is empty.
>  The thing is i am able to trace the eof of input file and i am able to get the new file name to be read using stream_file.c in libmpdemux.but i am not able to supply new file output file name to the writing section.
>  i hope i will get answer from you people
>  thanks in advance
>  Mallik
>  
>


using mencoder from cvs, if you want 1 outfile comprising N input files:

$ mencoder -o outfile.avi -oac SOMETHING -ovc SOMETHING file1.avi 
file2.avi file3.avi

if instead you want 1 outfile for every infile just do a for loop with bash:

for i in file1.avi file1.avi  file1.avi ; do mencoder  -o "out.$i" "$i" 
-oac SOMETHING -ovc SOMETHING ; done


Anyway this is a question for mencoder-users at mplayerhq.hu

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 I migliori giochi Jamba!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4844&d=5-5




More information about the MPlayer-dev-eng mailing list