09.09.2021, 12:50
Thanks a lot! I think I got it.
-ss 4: 4 second offset for audio
-ss 4.08: 4 seconds and 2 frames offset for video (I guess because of 50fps to 25fps conversion)
-c:a aac -b:a 320k: libfaac is outdated.. (?) and I need CBR @ 320k
-tag:v hcv1: works with Apple Quicktime
I also deleted -vn and -an, because it results in "Stream map '1:0' matches disabled streams." error.
One more thing: does -ss affect the encoding speed? I just rendered a small part, but it seems to be much slower (encoded 125 frames in 20.06s (6.23 fps) VS. encoded 227 frames in 22.63s (10.03 fps)).
ffmpeg -ss 4 -i "input.mxf" -ss 4.08 -i "input.mxf" -max_muxing_queue_size 1024 -c:v libx265 -pix_fmt yuv420p10le -x265-params "aq-mode=2:repeat-headers=0:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=arib-std-67:colormatrix=bt2020nc:hdr10_opt=0:hdr10=0:chromaloc=0" -crf:v 18 -preset:v slow -filter_complex "[0:1][0:2]join=inputs=2:channel_layout=stereo[a]" -c:a aac -b:a 320k -map 1:0 -map "[a]" -map_metadata -1 -r 25 -tag:v hvc1 "output.MP4"
-ss 4: 4 second offset for audio
-ss 4.08: 4 seconds and 2 frames offset for video (I guess because of 50fps to 25fps conversion)
-c:a aac -b:a 320k: libfaac is outdated.. (?) and I need CBR @ 320k
-tag:v hcv1: works with Apple Quicktime
I also deleted -vn and -an, because it results in "Stream map '1:0' matches disabled streams." error.
One more thing: does -ss affect the encoding speed? I just rendered a small part, but it seems to be much slower (encoded 125 frames in 20.06s (6.23 fps) VS. encoded 227 frames in 22.63s (10.03 fps)).