09.09.2021, 10:18
Hey folks!
I need a little help with my ffmpeg setup.
Source: MXF Op1A XAVC100 Rec2020 HLG 50fps with 8 mono audio streams
Now i need to convert this file to 25fps (frame drop) x265 (mp4 container) with correct meta data (video) and one more move to create a stereo track from audio stream 0 and 1 (the first two mono streams) and a 4sec offset (remove the first 4 seconds). I was able to encode the video stream correctly (I guess) and I was able to generate a stereo WAV from audio stream 0 and 1. But I was not able to combine both stringt to generate a h265/aac 320k mp4 stream.
With the help of FastFlix I got this (without the 4sec offset):
And the WAV works this way:
But I was not able to combine these two commands and use aac instead of pcm wav.
Thanks for your help!
I need a little help with my ffmpeg setup.
Source: MXF Op1A XAVC100 Rec2020 HLG 50fps with 8 mono audio streams
Now i need to convert this file to 25fps (frame drop) x265 (mp4 container) with correct meta data (video) and one more move to create a stereo track from audio stream 0 and 1 (the first two mono streams) and a 4sec offset (remove the first 4 seconds). I was able to encode the video stream correctly (I guess) and I was able to generate a stereo WAV from audio stream 0 and 1. But I was not able to combine both stringt to generate a h265/aac 320k mp4 stream.
With the help of FastFlix I got this (without the 4sec offset):
Code:
ffmpeg -y -i "INPUT.mxf" -max_muxing_queue_size 1024 -map 0:0 -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-b67:colormatrix=bt2020nc:hdr10_opt=0:hdr10=0:chromaloc=0" -crf:v 18 -preset:v slow -map_metadata -1 -r 25 -default_mode infer_no_subs "OUTPUT.MP4"
And the WAV works this way:
Code:
ffmpeg -i -ss 00:00:04.00 INPUT.mxf -filter_complex "[0:1][0:2]join=inputs=2:channel_layout=stereo[a]" -map "[a]" OUTPUT.wav
But I was not able to combine these two commands and use aac instead of pcm wav.
Thanks for your help!