VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Member
    Join Date
    Mar 2022
    Location
    Les Sables D'Olonne, France
    Search Comp PM
    Hello everyone.
    Normally with all my videos it works, but one of them crashes.
    I use the following command:
    Code:
    ffmpeg -i video.1080p.mkv -map 0:v:0 -pix_fmt yuv420p10le -vf scale=1280:-1 -f yuv4mpegpipe -strict -1 - | SvtAv1EncApp -i stdin --preset 6 --keyint 240 --input-depth 10 --crf 30 --rc 0 --passes 1 --film-grain 0 -b av1.ivf
    And now it tells me:
    Code:
    Failed to read proper y4m frame delimeter. Read broken
    .
    However, if I tell it to convert without changing the resolution, it works.
    Does anyone have an idea?
    Thanks.
    Ignace.
    Quote Quote  
  2. Change vertical scale to -2 or -4.
    Quote Quote  
  3. Member
    Join Date
    Mar 2022
    Location
    Les Sables D'Olonne, France
    Search Comp PM
    Hello, jagabo.
    Okay, I'll try that.
    For now, I have an encoding in progress but I promise, I'll test after.
    Thanks for your quick and accurate answer.
    Ignace.
    Quote Quote  
  4. Member
    Join Date
    Mar 2022
    Location
    Les Sables D'Olonne, France
    Search Comp PM
    I changed the vertical scale to -2 and it works perfectly.
    Thanks a lot.
    Ignace.
    Quote Quote  
  5. You should almost never use -1 for the width or height. YV12 video can't have odd value widths or heights. And some players can't handle mod 2. I stick with mod 4.
    Quote Quote  
  6. Member
    Join Date
    Mar 2022
    Location
    Les Sables D'Olonne, France
    Search Comp PM
    So if I set the value -4, it will pass all the time.
    Good to know.
    For players, I use Smplayer with MPV engine as main player and VLC to check my conversions while encoding.
    Thank you.
    Ignace.
    Quote Quote  



Similar Threads

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