This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] how to encode a ProRes file using x265 to get the same parameters?
i want to encode a ProRes PCM file , using x265, but i also want to keep the same Video and Audio parameters below from another file after encoding, so how to set in Hybrid to get the same parameters.

note, there is no bitrate in video info, but only a bitrate in overrall bit rate, is 32.0Mb/s, i want get the same result, also want the same filesize after encoding, then Color space YUV, Chroma subsampling, 4:2:0,  Bit depth 10 bits, keep the same, how to set?
and you can see there is no bitrate and size in Audio info, i want to get the same result, after encoding, get file with AAC LC, can't see bitrate and size in audio info. so how to set audio like this? thanks.

Format                        : Matroska
Format version                : Version 4
File size                      : 31.6 GiB
Duration                      : 2 h 20 min
Overall bit rate              : 32.0 Mb/s
Writing application            : Lavf58.20.100
Writing library                : Lavf58.20.100
ErrorDetectionType            : Per level 1

ID                            : 1
Format                        : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                : Main 10@L5.1@Main
Codec ID                      : V_MPEGH/ISO/HEVC
Duration                      : 2 h 20 min
Width                          : 3 840 pixels
Height                        : 2 160 pixels
Display aspect ratio          : 16:9
Frame rate mode                : Constant
Frame rate                    : 59.940 (59940/1000) FPS
Color space                    : YUV
Chroma subsampling            : 4:2:0
Bit depth                      : 10 bits
Default                        : Yes
Forced                        : No

ID                            : 2
Format                        : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                      : A_AAC-2
Duration                      : 2 h 20 min
Channel(s)                    : 2 channels
Channel layout                : L R
Sampling rate                  : 48.0 kHz
Frame rate                    : 46.875 FPS (1024 SPF)
Compression mode              : Lossy
Delay relative to video        : 71 ms
Default                        : Yes
Forced                        : No
Can't be done in Hybrid. Hybrid leaves way more meta data in the file.
You would need to remux the file after using Hybrid and strip some meta data from it while doing so. (reading up about ffmpeg and its bitstream filters and how it can change the meta data of a file is probably a good starting point; mkvprobedit might also be interessting)
(No I won't try to write code to add the ability to mimic some metadata.)
What you want to do isn't about encoding with the same settings, but about minimizing the meta data.
When using x265, make sure to disable the settings in the Signaling-tab)

Cu Selur
thank you. but if i want the encoded file is as the same as Overall bit rate 32.0 Mb/s, how to set?

and the encoded file is REC709, how to set to make it Color space YUV, thanks.
Overall bitrate is simply file size / video length.

Quote:and the encoded file is REC709, how to set to make it Color space YUV, thanks.
Assuming you know and understand what Rec.709 means.
Color Matrix signaling can be changed in the corresponding tab.
Conversion between color matrixes can be done through for example 'ColorMatrix' filter.

Cu Selur

Forum Jump:

Users browsing this thread: 1 Guest(s)