Need help for custom ffmpeg encode 2 pass

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

Need help for custom ffmpeg encode 2 pass

Post 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
Attachments
errors.txt
(15.45 KiB) Downloaded 346 times
ok.txt
(15.04 KiB) Downloaded 338 times
SMARTPHONE_2.xml
(63.03 KiB) Downloaded 329 times
emcodem
Posts: 1811
Joined: Wed Sep 19, 2018 8:11 am

Re: Need help for custom ffmpeg encode 2 pass

Post 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%
emcodem, wrapping since 2009 you got the rhyme?
momocampo
Posts: 595
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: Need help for custom ffmpeg encode 2 pass

Post 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.
Post Reply