Thanks for answering! I read the article and did some trial and error, but it didn't work. What I'm currently trying to do is create a broadcast commercial using ffmpeg. I did two things but they didn't work. First, I transferred the MXF file to the XDCOM XDS-PD200, but it was not displayed. Second, I used Sony MXF format checking tool which can check MXF files, but it showed an error message. https://www.sony.jp/xdcam/support/download/pwa_mc1.html
When I check the MXF file generated using the code below, I get the error message "The MXF metadata contains an unspecified value". Please advise as I don't know what is wrong. %~dp0ffmpeg\ffmpeg.exe -i temp\temp2.mxf -i temp\narr3.wav -i temp\narr3.wav -i temp\silent.wav -i temp\silent.wav -i temp\silent.wav -i temp\silent.wav -i temp\silent.wav -i temp\silent.wav -c:a pcm_s24le -ar 48000 -map 0:V -map 1:0 -map 2:0 -map 3:0 -map 4:0 -map 5:0 -map 6:0 -map 7:0 -map 8:0 -vf copy,il=l=d:c=d,colorspace=fast=1:all=bt709:format=yuv422p:ispace=bt709:itrc=bt709:iprimaries=bt709,il=l=i:c=i,fps=29.970,setfield=tff,setdar=dar=16/9,setsar=sar=1 -field_order tt -top 1 -flags +ildct+ilme -alternate_scan 1 -g 15 -timecode 00:59:45:00 -c:v mpeg2video -r 29.97 -pix_fmt yuv422p -aspect 16:9 -color_range 1 -color_primaries 1 -color_trc 1 -colorspace 1 -non_linear_quant 1 -dc 11 -intra_vlc 1 -qmin 1 -lmin "1*QP2LAMBDA" -qmax 28 -lmax "56*QP2LAMBDA" -b:v 50000000 -minrate 50000000 -maxrate 50000000 -minrate 50000000 -bufsize 17825792 -bf 2 -metadata creation_time=now -vtag xd5c -intra_matrix 8,17,17,19,17,19,21,21,21,21,21,21,23,22,23,24,24,24,24,24,24,24,25,25,25,26,26,26,29,29,29,26,26,26,25,25,27,27,28,29,29,29,31,32,32,31,31,30,30,33,33,34,34,34,38,38,37,37,43,43,44,50,50,58 -inter_matrix 16,17,17,18,18,18,19,19,19,19,20,20,20,20,20,21,21,21,21,21,21,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,25,24,24,24,25,26,26,26,26,25,27,27,27,27,27,28,28,28,28,30,30,30,31,31,33 -f mxf -y output/output.MXF silent.wav is a sileent file. According to the commercial import standard, there is a rule that channel 3 to 8 must be silent. 2023年12月14日(木) 19:07 Nicolas Gaullier <nicolas.gaullier@cji.paris>: > >Is it possible to use the codec mpeg2Video in a Windows environment? > >Do I need to install anything additional to use it? > Any platform, any cpu, the mpeg2 encoder is part of libavcodec which is > part of ffmpeg, so any non-specific (with no explicit disabling) build > includes it. > You can actually check it and get "inline help" of you current build this > simple way: > ffmpeg -h encoder=mpeg2video > > >Format:Mpeg Video > >GOP:15 > >Bitrate:50M > Look for an xdcamhd preset on the web, you'll find plenty. Have to take > care of progressive vs. interlaced. > For example: > https://trac.ffmpeg.org/ticket/7168 > > https://github.com/mltframework/mlt/blob/master/presets/consumer/avformat/XDCAM-HD422 > Note that: > - I recommend you NOT to use 420 as I experienced severe artefacts in this > configuration, due to the reduced buffer size (420 chroma=>MP@ML) > - I recommend you NOT to use lmin/lmax as I experienced severe quality > regression some years ago, and old command lines are no more valid > currently (in my experience) > (- in case you target xdcamhd for real, you have to be very careful on the > reduced sony bufsize at least; and you will not be 100% conformant anyway) > > Nicolas > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".