[FFmpeg-trac] #8424(undetermined:new): Colour changes if scale height

FFmpeg trac at avcodec.org
Thu Dec 12 11:17:39 EET 2019


#8424: Colour changes if scale height
-------------------------------------+-------------------------------------
             Reporter:  Bassquake    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Bassquake):

 Ok. As requested:

 Command (resize height by 1 pixel):
 {{{
 ffmpeg -i "input.avi" -vf "scale=768:577" -y -c:v huffyuv "output.avi"
 }}}

 Log:
 {{{
 ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers
   built with gcc 9.1.1 (GCC) 20190807
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-
 nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
   libavutil      56. 31.100 / 56. 31.100
   libavcodec     58. 54.100 / 58. 54.100
   libavformat    58. 29.100 / 58. 29.100
   libavdevice    58.  8.100 / 58.  8.100
   libavfilter     7. 57.100 /  7. 57.100
   libswscale      5.  5.100 /  5.  5.100
   libswresample   3.  5.100 /  3.  5.100
   libpostproc    55.  5.100 / 55.  5.100
 Guessed Channel Layout for Input Stream #0.1 : stereo
 Input #0, avi, from 'input.avi':
   Duration: 00:00:02.40, start: 0.000000, bitrate: 30378 kb/s
     Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR
 16:15 DAR 4:3], 29288 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 stereo, s16, 1536 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (dvvideo (native) -> huffyuv (native))
   Stream #0:1 -> #0:1 (pcm_s16le (native) -> mp3 (libmp3lame))
 Press [q] to stop, [?] for help
 [huffyuv @ 069c0100] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 069c08c0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 069bed80] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 069bf140] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 09ad45c0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 09ad1300] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 09ad2e40] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 09ad1ec0] using huffyuv 2.2.0 or newer interlacing flag
 [huffyuv @ 06965b40] using huffyuv 2.2.0 or newer interlacing flag
 Output #0, avi, to 'output.avi':
   Metadata:
     ISFT            : Lavf58.29.100
     Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 768x577 [SAR
 577:576 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.54.100 huffyuv
     Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz,
 stereo, s16p
     Metadata:
       encoder         : Lavc58.54.100 libmp3lame
 frame=   60 fps=0.0 q=-0.0 Lsize=   25136kB time=00:00:02.40
 bitrate=85798.1kbits/s speed=23.6x
 video:25085kB audio:38kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.054413%
 }}}

 Video clip attached.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8424#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list