VideoHelp Forum




+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 71 of 71
  1. I was looking at it in VDub, using the bob doubler filter. The reason I looked at it in the first place is my output x264 file didn't look right playing back on my TV:
    ffmpeg.exe -i "converttoyv12.avs" -vcodec libx264 -crf 18 -preset slow -pix_fmt yuv420p -force_key_frames 00:14:38.040,00:18:48.880,00:39:17.240,01:07:32.24 0,01:10:50.560,01:14:10.480,01:32:59.320 -aspect 16:9 -x264opts level=4.1 "video.264"
    Quote Quote  
  2. VirtualDub does not display interlaced YV12 correctly. It treats the interlaced chroma as progressive, screwing up the colors of the two fields.

    Image
    [Attachment 59650 - Click to enlarge]


    On the top is the proper display with AssumeTFF().Bob() in AviSynth. On the bottom is the way VirtualDub displays it with BobDoubler.
    Last edited by jagabo; 1st Jul 2021 at 06:33.
    Quote Quote  
  3. So why does the x264 output look weird on my TV, then?
    Quote Quote  
  4. Sample.
    Image Attached Files
    Quote Quote  
  5. That's a generally weird shot with blurry edges of the frame, lens flare, and irregular frame duplicate pattern. But there's no obvious problem with the chroma.
    Quote Quote  
  6. You encoded progressive for the sample, and according to post 61

    (and you have 5 reference frames for 1920x1080p25, which is "illegal" for L4.1, but you set -x264opts level=4.1 - this can cause problems with older chips and hardware in terms of other playback problems such as stuttering)
    Quote Quote  
  7. Oops, I cut the wrong sample. It was supposed to be the same shot as before. Here it is.
    Image Attached Files
    Quote Quote  
  8. The earlier sample is from a clip within the game that was frame-blended for some reason. They do that with highlight clips and location shots. No idea why.

    The game itself is interlaced, although now that you mention it...my ffmpeg command line doesn't include anything about interlacing, does it?
    Quote Quote  
  9. x264opts tff=1

    Many TV's ignore colorimetry flags, but it doesn't hurt to flag it 709 either

    Force ref=4, otherwise don't use L4.1 at all. The Level parameter is not enforced, it's just a "label"

    Code:
    -x264opts level=4.1:ref=4:tff=1:colormatrix=bt709
    Quote Quote  
  10. Yes, you encoded the interlaced video progressive. You need to encode it interlaced.
    Quote Quote  
  11. I have an "interlaced" template and a "progressive" template, obviously I copied-and-pasted the wrong one.

    I'd have picked it up immediately except that it didn't comb, at all. Which I'd expect progressive video to do. Weird.
    Quote Quote  



Similar Threads

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