x264/x265 UI

Blu-ray and UHD Authoring
dream7
Posts: 25
Joined: Thu Oct 07, 2021 12:55 pm

x264/x265 UI

Post by dream7 »

Hello,

When encoding, the parameters are not taken in account. For exemple, 2-pass is not checked but x264 encodes in 2-pass, the same with Quality : whatever I choose ultrafast or veryslow, it takes the same encode framerate... I don't know for the other params as I don't have a way to check.

May I be wrong somewhere ?

Otherwise that's a great feature idea.

Thanks :)

Alexey Kolesnikov
Posts: 401
Joined: Fri Mar 01, 2013 1:03 pm
Contact:

Re: x264/x265 UI

Post by Alexey Kolesnikov »

Hello,
Regarding the 2-pass checkbox - thank you, we found the issue, will fix in the next beta.
Regarding the presets - the speed can be noticed on the second pass mainly (for 2-pass encoding).
Best regards,
Alexey Kolesnikov

Qin Lun
Posts: 2
Joined: Wed Apr 20, 2022 4:17 pm

Re: x264/x265 UI

Post by Qin Lun »

Hello,
X264 can't enable "-- profile high " parameter encoding?
Thanks

Alexey Kolesnikov
Posts: 401
Joined: Fri Mar 01, 2013 1:03 pm
Contact:

Re: x264/x265 UI

Post by Alexey Kolesnikov »

Hello!
You mean this UI? No, in this UI you can't. It is a replacement for command line recommended for Blu-ray encoding by x264bluray.com (not available anymore).
Best regards,
Alexey Kolesnikov

dream7
Posts: 25
Joined: Thu Oct 07, 2021 12:55 pm

Re: x264/x265 UI

Post by dream7 »

Hello Alexey,

I found that the x264 binary is 32bits, why don't use 64bits one ? I replaced it by myself and got almost x2 performance.
But It stayed very slow (between 12-19fps), so I tested an encode by hand with command line and got 70fps !
Why x264 encoding is very slow with Encoders UI, but not executed standalone ?

Here is my command line :
"C:\Program Files\Blu-Disc Studio MX Pro\Encoders\ffmpeg.exe" -i "MASTER.mov" -vf "scale=1920:1080, format=yuv420p" -video_size 1920x1080 -framerate 25 -pixel_format yuv420p -f yuv4mpegpipe - | "C:\Program Files\Blu-Disc Studio MX Pro\Encoders\x264-r3094-bfc87b7_win64.exe" --demuxer y4m --input-res 1920x1080 --fps 25 --bitrate 24000 --preset veryslow --tune film --bluray-compat --vbv-maxrate 29000 --vbv-bufsize 29000 --level 4.1 --keyint 25 --open-gop --slices 4 --tff --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --weightp 0 --b-pyramid none --pass 1 -o NULL -

And again the same command with --pass 2 parameter and a filename specified as output instead of NULL

Alexey Kolesnikov
Posts: 401
Joined: Fri Mar 01, 2013 1:03 pm
Contact:

Re: x264/x265 UI

Post by Alexey Kolesnikov »

Hello,

You can use any binaries. Our archive is what some of our clients use.

Regarding the speed from UI against command line. UI creates cmd-file in the temp folder and runs it. You can compare your command line with it.
The only thing that I see - Encoder UI is not intended for using 1080p with x265.
Best regards,
Alexey Kolesnikov

MJS63
Posts: 27
Joined: Mon Oct 18, 2021 2:52 pm

Re: x264/x265 UI

Post by MJS63 »

BROKEN PIPE:
I've been attempting to end an encode at a certain point ( 240 frames for testing purposes).
I've successfully encoded the whole file using x265 but keep on getting Broken pipe errors whenever I limit the amount of frames to encode.
I did try 241,244,480 etc to see if it needed a certain amount of frames to be able to close on and I did try encoding it direct via the CMD, all with the same result.
Image

Markus1970
Posts: 43
Joined: Tue May 04, 2021 9:51 pm

Re: x264/x265 UI

Post by Markus1970 »

I'm the command window for ffmpeg you can press any key and it will pause and restart etc.
Also ctrl +c or ctrl+z will kill the encoding i believe .

Is it possible to put a pause box in the encoder UI to pause/unpause output.

Alexey Kolesnikov
Posts: 401
Joined: Fri Mar 01, 2013 1:03 pm
Contact:

Re: x264/x265 UI

Post by Alexey Kolesnikov »

I suppose you need to specify start/stop frames for ffmpeg, not x265
so you need to use -ss/-to/-t - check https://ffmpeg.org/ffmpeg.html for details
and you need to add it at the beginning of the "Other x265 ..." parameters
Best regards,
Alexey Kolesnikov

MJS63
Posts: 27
Joined: Mon Oct 18, 2021 2:52 pm

Re: x264/x265 UI bufsize

Post by MJS63 »

How do you calculate bufsize for cbr encodes?
Blu-ray - Bitrate 35000 Max bitrate 35000 Bufsize?
UHD - Bitrate 70000 Max Bitrate 70000 Bufsize?

Post Reply