[FFmpeg-user] swscaler deprecated pixel format?
William C Bonner
wbonner at wimsworld.com
Tue Mar 8 01:20:13 EET 2022
I run ffmpeg from a program I wrote that sets up the input file names to
easily convert individual images to a video. Is the swscaler warning
message because of my output format (yuv420p) or a format in the source
photos from my GoPro?
ffmpeg version 5.0-full_build-www.gyan.dev Copyright (c) 2000-2022 the
FFmpeg developers
built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-libsnappy --enable-zlib --enable-librist
--enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
--enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
--enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg
--enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r
--enable-libfreetype --enable-libfribidi --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc
--enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio
--enable-libgme --enable-libmodplug --enable-libopenmpt
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa
--enable-libbs2b --enable-libflite --enable-libmysofa
--enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
ffmpeg.exe -hide_banner -r 30 -i
C:\Users\Wim\Videos\20220307-Seattle-BlakeIsland-Illahee-Seattle\Wim%05d.JPG
-vf
crop=in_w:3/4*in_h,drawtext=fontfile=C\\:/WINDOWS/Fonts/consola.ttf:fontcolor=white:fontsize=160:y=main_h-text_h-50:x=main_w-text_w-50:text=WimsWorld,drawtext=fontfile=C\\:/WINDOWS/Fonts/consola.ttf:fontcolor=white:fontsize=160:y=main_h-text_h-50:x=50:text=%{metadata\\:DateTimeOriginal}
-c:v libx265 -crf 23 -preset veryfast -s 3840x2160 -movflags +faststart -bf
2 -g 15 -pix_fmt yuv420p -n
C:\Users\Wim\Videos\20220307-Seattle-BlakeIsland-Illahee-Seattle-2160p30-cropped.mp4
Input #0, image2, from
'C:\Users\Wim\Videos\20220307-Seattle-BlakeIsland-Illahee-Seattle\Wim%05d.JPG':
Duration: 00:13:17.56, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc,
bt470bg/unknown/unknown), 3264x2448, 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> hevc (libx265))
Press [q] to stop, [?] for help
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0cb79740] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0e5e7900] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0e635380] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0e6ab140] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0e7ad980] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0e8d6c00] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0e922340] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0ea52400] deprecated
pixel format used, make sure you did set range correctly
[swscaler @ 0000015b0cb67500] [swscaler @ 0000015b0ea637c0] deprecated
pixel format used, make sure you did set range correctly
x265 [info]: HEVC encoder version 3.5+21-3898a4996
x265 [info]: build info [Windows][GCC 11.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 1 / 2
x265 [info]: Keyframe min / max / scenecut / bias : 1 / 15 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 15 / 2 / 0
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 2 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-23.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: fast-intra strong-intra-smoothing lslices=8 deblock sao
Output #0, mp4, to
'C:\Users\Wim\Videos\20220307-Seattle-BlakeIsland-Illahee-Seattle-2160p30-cropped.mp4':
Metadata:
encoder : Lavf59.16.100
Stream #0:0: Video: hevc (hev1 / 0x31766568), yuv420p(tv,
bt470bg/unknown/unknown, progressive), 3840x2160, q=2-31, 30 fps, 15360 tbn
Metadata:
encoder : Lavc59.18.100 libx265
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
f
More information about the ffmpeg-user
mailing list