Need help for custom ffmpeg encode 2 pass

Questions and answers on how to get the most out of FFAStrans
Post Reply
momocampo
Posts: 387
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Need help for custom ffmpeg encode 2 pass

Post by momocampo » Mon Jun 24, 2019 12:24 pm

Hello all,

Well, I'm creating a new workflow for several video files to h264 encode. Harry (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
Attachments
errors.txt
(15.45 KiB) Downloaded 29 times
ok.txt
(15.04 KiB) Downloaded 37 times
SMARTPHONE_2.xml
(63.03 KiB) Downloaded 32 times

emcodem
Posts: 445
Joined: Wed Sep 19, 2018 8:11 am

Re: Need help for custom ffmpeg encode 2 pass

Post by emcodem » Mon Jun 24, 2019 1:27 pm

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%
cheers!
Harry

momocampo
Posts: 387
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: Need help for custom ffmpeg encode 2 pass

Post by momocampo » Mon Jun 24, 2019 3:38 pm

Hey,
Coooollll. Thanks a lot harry, obviously it works :)
I just have to delete all this log files and it will be ok!
Thanks again H.
Cheers.

B.

Post Reply