Hi,
please patient with the cat.thanks
my qyestion is_ I need to transcode an interlaced source yuv420p10le --> to interlaced mp4 -pix_fmt yuv420p or -pix_fmt yuv4202
or viceversa.
In this case need I to add the -vf scale=interl=1 option to ffmpeg?
+ Reply to Thread
Results 1 to 7 of 7
-
-
please download my testcat footage:
https://www.swisstransfer.com/d/f093d048-2cd8-438d-9b18-7f19e27abbd5
this is:
"PDWF800 25i 8bit.MXF"
"osmo 50P 8bit.MP4"
"XF605 25i 10bit.MXF"
"FS7 50P 10bit.MXF"
4 different cameras: I wonder. If I need to encode mp4 10 bit from YUY2 YUV422, eg the sony pdw-f800 need I try this commandline
ffmpeg.exe -v quiet -stats -threads 12 -y -i "%cd%\AllSingleRemuxed\%~nx1.avs" -i "%cd%\AllSingleRemuxed\%~n1_HD_PAIR1.wav" -i "%cd%\AllSingleRemuxed\%~n1_HD_PAIR2.wav" -pix_fmt yuv422p10le -c:v libx264 -g 33 -map 0:v:0 -map 1:a:0 -map 2:a:0 -flags +ildct+ilme -top 1 -bsf:v h264_metadata=video_full_range_flag=0 -color_range 1 -crf 21 -c:a aac -b:a 750k -ar 48000 -aspect 16:9 -shortest -af apad -t %aviGenDuration% "out.mp4"
where is specified -pix_fmt yuv422p10le. Is this enought to get a correct encoding or I need to add also -vf format=yuv422p10le ? -
Why don't you just do it in avisynth, if you load video using it, load 10bit, convert it to 8bit.
Not sure how to do it there , if it has a special function. Using logic, I'd get frames from fields (SeparateFields) and change bitdepth for those frames (you can specify dither), then weave them again. Then in ffmpeg you just deal with 8bit input. -
supposing a source from "old" PDW-F800 camcorder = MXF profile xdcamhd422 8 bit
Code:Import("v:\avisynth\plugins\IResize.avsi") Import("V:\AviSynth\plugins\smoothFPS2.avsi") Import("V:\AviSynth\plugins\smoothFPS3.avsi") Import("v:\AviSynth\plugins\CropResizedic2017.avsi") Import("V:\AviSynth\FrameRateConverter2021\FrameRateConverter.avsi") LoadPlugin("v:\AviSynth\FrameRateConverter2021\X64\FrameRateConverter.dll") LoadPlugin("v:\AviSynth\colormatrix26\X64\ColorMatrix64.dll") Import("V:\AviSynth\FFMS2_AVSI_2019\ffms2.avsi") LoadPlugin("v:\AviSynth\Lsmash64perVirtualDub64\LSMASHSource.dll") LoadPlugin("v:\AviSynth\ffms2-2.40-msvc\ffms2-2.40-msvc\x64\ffms2.dll") LoadCPlugin("v:\avisynth\plugins64\yadif.dll") LoadPlugin("V:\AviSynth\MaskTool2\X64\masktools2.dll") LoadPlugin("V:\AviSynth\Santiag\ResampleMT.dll") LoadPlugin("V:\AviSynth\Santiag\nnedi3.dll") LoadPlugin("V:\AviSynth\Santiag\aWarpsharpMT.dll") LoadPlugin("V:\AviSynth\Santiag\eedi3.dll") LoadPlugin("V:\AviSynth\Santiag\EEDI2.dll") LoadPlugin("V:\AviSynth\Santiag\GScript_26_64.dll") LoadPlugin("V:\AviSynth\Santiag\SangNom2.dll") Import("V:\AviSynth\Santiag\santiag.avsi") Import("V:\AviSynth\QTGMC2025\QTGMC.avsi") Import("V:\AviSynth\QTGMC2025\Zs_RF_Shared.avsi") LoadPlugin("V:\AviSynth\QTGMC2025\mvtools2.dll") LoadPlugin("V:\AviSynth\QTGMC2025\RgTools.dll") LoadPlugin("v:\AviSynth\BestSource\BestSource.dll") LoadPlugin("V:\AviSynth\RIFE\RIFE.dll") LoadPlugin("V:\AviSynth\RIFE\avsresize.dll") LoadPlugin("V:\AviSynth\RIFE\PlanarTools.dll") LWLibavVideoSource("W:\tuttiFormati\testFootage\C0021.MXF") AssumeFPS(25) PackedToPlanar().z_ConvertFormat(pixel_type="YUV422P10")
or I can let 8 bit avisynth output? in this case need I to add ffmpeg a sort of -vf format=yuv422p10le and/or -pix_fmt yuv422p10le line?
I'm a cat<--- in a batch
so the batch that I try to do, can process various type of input: it can be 8 or 10bit, yuv420 or 422, or exactly I don't know but here I try to understand if the avisynth base script have to output already 10 bit, or I let the "normal" 8 bit using simple converttoYUY2()
Similar Threads
-
Transcoding with the Scene filter in FFmpeg
By o770 in forum Video ConversionReplies: 0Last Post: 24th Aug 2024, 23:21 -
How to associate mxf avi mov mp4 ts mpeg mpg --> to VLC in Windows?
By marcorocchini in forum Newbie / General discussionsReplies: 5Last Post: 9th Mar 2023, 15:27 -
MXF to MOV usinf ffmpeg is problematic?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 18th Feb 2023, 15:10 -
FFMpeg XDCAM RDD9 Compliant MXF - Gop Structure
By ausmetal in forum Video ConversionReplies: 5Last Post: 8th Dec 2022, 23:12 -
need to efficent encode this .MXF from Canon XF300 to .MP4 with FFmpeg
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 15th Mar 2022, 16:13