Opened 4 years ago

Closed 21 months ago

#4306 closed defect (needs_more_info)

AVIsynth encoding to AVCIntra shows visible patterning when viewed in VLC

Reported by: ortoni Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by cehoyos)

ffmpeg -i passthru.avs -i stereo.wav -i stereo.wav -i silence.wav -i stereo.wav -vcodec libx264 -pix_fmt yuv422p10le -x264opts avcintra-class=100:colorprim="bt709":transfer="bt709":colormatrix="bt709":fps=25/1:force-cfr:tff -tune psnr -threads 4 -c:a pcm_s24le -c:a pcm_s24le -c:a pcm_s24le -c:a pcm_s24le -map 0 -map 1 -map 2 -map 3 -map 4 work.mxf

ffmpeg [32bit] version N-69700-g2384933 compiled feb11-15

AVISynth script is single line: MPEG2Source("C:\tmpdir\work.d2v") with 4:2:2 XDCAM source
Have also tried ConvertTo? YV12 in script, with same result.

ffmpeg output

ffmpeg.exe" -i c:\tmpdir\passthru.avs -i c:\tmpdir\stereo.wav -i c:\tmpdir\stereo.wav -i c:\tmpdir\silence.wav -i c:\tmpdir\stereo.wav -vcodec libx264 -pix_fmt yuv422p10le -x264opts avcintra-class=100:colorprim="bt709":transfer="bt709":colormatrix="bt709":fps=25/1:force-cfr:tff -tune psnr -threads 4 -c:a pcm_s24le -c:a pcm_s24le -c:a pcm_s24le -c:a pcm_s24le -map 0 -map 1 -map 2 -map 3 -map 4 c:\tmpdir\work.mxf
ffmpeg version N-69700-g2384933 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/Users/morton/Downloads/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --prefix=/Users/morton/Downloads/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --extra-cflags= --extra-cflags= --enable-nonfree --enable-libfdk-aac --disable-libfaac --disable-decoder=aac --enable-runtime-cpudetect
  libavutil      54. 18.100 / 54. 18.100
  libavcodec     56. 21.102 / 56. 21.102
  libavformat    56. 19.101 / 56. 19.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5.  9.104 /  5.  9.104
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, avisynth, from 'c:\tmpdir\passthru.avs':
  Duration: 00:00:15.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, wav, from 'c:\tmpdir\stereo.wav':
  Duration: 00:00:15.00, bitrate: 1536 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Guessed Channel Layout for  Input Stream #2.0 : stereo
Input #2, wav, from 'c:\tmpdir\stereo.wav':
  Duration: 00:00:15.00, bitrate: 1536 kb/s
    Stream #2:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Guessed Channel Layout for  Input Stream #3.0 : stereo
Input #3, wav, from 'c:\tmpdir\silence.wav':
  Duration: 00:00:15.00, bitrate: 1536 kb/s
    Stream #3:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Guessed Channel Layout for  Input Stream #4.0 : stereo
Input #4, wav, from 'c:\tmpdir\stereo.wav':
  Duration: 00:00:15.00, bitrate: 1536 kb/s
    Stream #4:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
[libx264 @ 04a54e60] using SAR=1/1
[libx264 @ 04a54e60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 04a54e60] profile High 4:2:2 Intra, level 4.1, 4:2:2 10-bit
Output #0, mxf, to 'c:\tmpdir\work.mxf':
  Metadata:
    encoder         : Lavf56.19.101
    Stream #0:0: Video: h264 (libx264), yuv422p10le, 1920x1080, q=-1--1, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.21.102 libx264
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      encoder         : Lavc56.21.102 pcm_s24le
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      encoder         : Lavc56.21.102 pcm_s24le
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      encoder         : Lavc56.21.102 pcm_s24le
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      encoder         : Lavc56.21.102 pcm_s24le
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> pcm_s24le (native))
  Stream #2:0 -> #0:2 (pcm_s16le (native) -> pcm_s24le (native))
  Stream #3:0 -> #0:3 (pcm_s16le (native) -> pcm_s24le (native))
  Stream #4:0 -> #0:4 (pcm_s16le (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
[mxf @ 04a48860] -d10_channelcount requires MXF D-10 and will be ignored.0kbits/s
    Last message repeated 3 times
frame=  375 fps=7.1 q=-1.0 Lsize=  225953kB time=00:00:15.00 bitrate=123400.2kbits/s
video:208312kB audio:16875kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.339747%
[libx264 @ 04a54e60] frame I:375   Avg QP:18.43  size:568832
[libx264 @ 04a54e60] mb I  I16..4:  0.0% 100.0%  0.0%
[libx264 @ 04a54e60] field mbs: intra: 1.7%
[libx264 @ 04a54e60] 8x8 transform intra:100.0%
[libx264 @ 04a54e60] coded y,uvDC,uvAC intra: 92.8% 93.0% 88.2%
[libx264 @ 04a54e60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 24% 14%  5%  6%  6%  8%  7% 11%
[libx264 @ 04a54e60] i8c dc,h,v,p: 50% 17% 15% 18%
[libx264 @ 04a54e60] kb/s:113766.41

Change History (3)

comment:1 Changed 4 years ago by ortoni

AVISynth version was 2.58

comment:2 Changed 4 years ago by ortoni

  • Summary changed from AVIsynth input encoded to AVCIntra shows visible patterning on result viewed in VLC to AVIsynth encoding to AVCIntra shows visible patterning when viewed in VLC

comment:3 Changed 21 months ago by cehoyos

  • Description modified (diff)
  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if the issue is still reproducible and if you can provide input file(s).

Note: See TracTickets for help on using tickets.