Page 1 of 1

Need help for custom ffmpeg encode 2 pass

Posted: Mon Jun 24, 2019 12:24 pm
by momocampo
Hello all,

Well, I'm creating a new workflow for several video files to h264 encode. (Encodem) helps me to create a 2 pass encode and it works well.
But, it works well only if I process 1 file. If I try with 2 or more in the same time I have always errors. Honestly I don't know why, maybe because a variable is already use but not sure...
So, if someone can help me it will be good;)
I join my workflow (in progress), see only the 4 first nods, the others are for different bitrate.
I join also log files : one ok (only 1 file process) and another one with 2 files in same time.
Thanks !

Benjamin

Re: Need help for custom ffmpeg encode 2 pass

Posted: Mon Jun 24, 2019 1:27 pm
by emcodem
Hey Benjamin,

I believe the filename for the file where the passinformation is stored is fixed by default. So it might cause troubles to run 2 ffmpeg processes that create their passfile in c:\tempo as you do currently.
Please try to add this to all ffmpeg commands (after the -pass 1 and -pass 2)

Code: Select all

-passlogfile %s_job_id%%s_node_name%

Re: Need help for custom ffmpeg encode 2 pass

Posted: Mon Jun 24, 2019 3:38 pm
by momocampo
Hey,
Coooollll. Thanks a lot emcodem, obviously it works :)
I just have to delete all this log files and it will be ok!
Thanks again H.
Cheers.

B.