The following warnings occurred:
Warning [2] Undefined array key 1 - Line: 313 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 313 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 314 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 314 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 327 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 327 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once



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] FFMPEG Help - x265 HDR HLG Encoding from MXF
#2
Have you tried something like: (can't test atm., so the following is untested)
ffmpeg -ss 00:00:04.0 -i "INPUT.mxf" -vn -i "INPUT.mxf" -an -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 libfaac -q:a 100 -map 1:0 -map "[a]" -map_metadata -1 -r 25  -default_mode infer_no_subs  "OUTPUT.MP4"
explanation:
-ss 00:00:04.0 -i "INPUT.mxf" -vn -i "INPUT.mxf" -anf"
loads the source two times (index: 0 and index: 1), while one of the input (index: 0) is delayed and video is disabled (-vn) for the first input (index: 0) and audio is disabled (-an) for the second input (index: 1); not sure if the disabling of the audio/video is necessary, might be covered by the mapping later.
-max_muxing_queue_size 1024
is used to avoid 'Too many packets buffered for output stream'
-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
does the video encoding
-filter_complex "[0:1][0:2]join=inputs=2:channel_layout=stereo[a]" -c:a libfaac -q:a 100
does the audio channel changes and the reencodeing
"[0:1][0:2]": take stream with index 1 and index 2 from the source with index 0
"join=inputs=2:channel_layout=stereo": join these inputs using a stereo layout
"[a]": output as "a"
-map 1:0 -map "[a]"
Map the first stream form the second input (index: 0) and 'a' to the output.
-map_metadata -1
drops meta data from the inputs
-r 25
sets the output frame rate that should be set on the output
-default_mode infer_no_subs
tells ffmpeg to set no subtitle track as default track (no clue why you use it here)
"OUTPUT.MP4"
sets the output.

Like I wrote I'm not sure whether the '-an' and '-vn' are necessary, so the above might still not work, but should give a hint how to do it.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: FFMPEG Help - x265 HDR HLG Encoding from MXF - by Selur - 09.09.2021, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)