VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. 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?
    Quote Quote  
  2. 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 ?
    Quote Quote  
  3. and again: my avisynth script that feeds ffmpeg have to output in yuv422p10le? or it can out simply yuvj422p?

    how can I tell to avisynth that it have to output yuv422p10le alwais?
    Quote Quote  
  4. thanks That might helpfull!
    Quote Quote  
  5. 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.
    Quote Quote  
  6. 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")
    if my target a mp4 10 bit, need I that the .avs script take to ffmpeg an output YUV422P10 image?

    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()
    Quote Quote  
  7. I wonder: If i use avisynth that alwais out YUY2 8 bit even if the source is 10bit ---> to the encoder ffmpeg 10 bit: incur I in a loss of quality?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!