FFmpeg-trac
Threads by month
- ----- 2026 -----
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
April 2020
- 1 participants
- 774 discussions
04 Apr '20
#6962: ffplay: command line -stats not independent of -log_level
-------------------------------------+-------------------------------------
Reporter: mp_q | Type: defect
Status: new | Priority: normal
Component: ffplay | Version: git-
Keywords: stats | master
logging | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
If -log_level fatal is specified, -stats has no effect, no stats are
displayed in terminal.
Expected behavior: -stats independent of -log_level and stats are
displayed
Perhaps same cause as #1687 (which apparently was fixed in ffmpeg 5 years
ago - current ffmpeg does show stats when using -stats -loglevel fatal).
How to reproduce:
{{{
% ffplay -stats -loglevel fatal (input)
ffplay version N-89723-g2ca65fc7b7-tessus
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-
libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-
libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-
flags=--static --enable-librtmp --enable-ffplay --enable-sdl2 --disable-
ffmpeg --disable-ffprobe --disable-ffserver
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 11.101 / 7. 11.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6962>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
2
#8598: Drawtext displays incorrect timecode
-------------------------------------+-------------------------------------
Reporter: aalexgabi | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: drawtext, | Blocked By:
timecode |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Drawtext with timecode option writes incorrect second number for a given
frame.
How to reproduce:
{{{
ffmpeg -filter_complex
"testsrc=size=200x100:r=1000/70[testsrc];[testsrc]drawtext=timecode='00\:00\:00\:00':r=1000/70:fontsize=32:y=4:x=4[timecode];sine=frequency=1000[audio]"
-map '[timecode]' -map '[audio]' -pix_fmt yuv420p -t 3.5 -y testsrc-
timecode-200x100(a)14.28-3.5s-sine.mp4
ffmpeg -i testsrc-timecode-200x100(a)14.28-3.5s-sine.mp4 frame%04d.png
}}}
Frame 29 that is displayed between 1960ms and 2030ms has the timecode:
00:00:02:00
Documentation says vaguely that "value" (no idea what value it talks
about) is rounded:
{{{
timecode_rate, rate, r
Set the timecode frame rate (timecode only). Value will be rounded to
nearest integer. Minimum value is "1". Drop-frame timecode is supported
for frame rates 30 & 60.
}}}
Regardless of what the documentation says I think this is incorrect
Version:
{{{
% ffmpeg -version
ffmpeg version n4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (Arch Linux 9.2.1+20200130-2) 20200130
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl
--enable-ladspa --enable-libaom --enable-libass --enable-libbluray
--enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-
libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-
libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-
nvenc --enable-omx --enable-shared --enable-version3
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
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8598>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
1
#8599: ffplay with -left ignores -alwaysontop
-------------------------------------+-------------------------------------
Reporter: bposert | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I am trying to play a file positioned on the left side of the screen in a
topmost window.
ffplay -alwaysontop [input file] displays on top as expected
ffplay -left 0 -alwaysontop [input file] does not display on top.
FYI winexplorer from nirsoft shows WS_EX_TOPMOST set when it works, and
not set when it doesn't work. I've tried this on multiple input files of
different types.
How to reproduce:
{{{
c:\utils>ffplay -v 9 -loglevel 99 -left 0 -alwaysontop test.mov
ffplay version N-94030-gcaabe1b495 Copyright (c) 2003-2019 the FFmpeg
developers
built with gcc 8.3.1 (GCC) 20190414
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. 28.100 / 56. 28.100
libavcodec 58. 53.100 / 58. 53.100
libavformat 58. 27.103 / 58. 27.103
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 55.100 / 7. 55.100
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Initialized direct3d renderer.
[NULL @ 000002190b6bbe00] Opening 'test.mov' for reading
[file @ 000002190b6bce80] Setting default whitelist 'file,crypto'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] Format
mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'ftyp' parent:'root' sz:
20 8 11574
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] ISO: File Type Major Brand:
qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'wide' parent:'root' sz:
8 28 11574
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'mdat' parent:'root' sz:
10840 36 11574
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'moov' parent:'root' sz:
706 10876 11574
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'mvhd' parent:'moov' sz:
108 8 698
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'trak' parent:'moov' sz:
557 116 698
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'tkhd' parent:'trak' sz:
92 8 549
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'edts' parent:'trak' sz:
36 100 549
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'elst' parent:'edts' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] duration=34 time=0
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'mdia' parent:'trak' sz:
421 136 549
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'mdhd' parent:'mdia' sz:
32 8 413
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'hdlr' parent:'mdia' sz:
45 40 413
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] ctype=mhlr
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] stype=vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'minf' parent:'mdia' sz:
336 85 413
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'vmhd' parent:'minf' sz:
20 8 328
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'hdlr' parent:'minf' sz:
44 28 328
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] ctype=dhlr
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] stype=url
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'dinf' parent:'minf' sz:
36 72 328
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'dref' parent:'dinf' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'stbl' parent:'minf' sz:
228 108 328
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'stsd' parent:'stbl' sz:
128 8 220
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] size=112 4CC=png
codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'fiel' parent:'stsd' sz:
10 8 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'pasp' parent:'stsd' sz:
16 18 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'stts' parent:'stbl' sz:
24 136 220
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] sample_count=1,
sample_duration=400
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'stsc' parent:'stbl' sz:
28 160 220
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'stsz' parent:'stbl' sz:
20 188 220
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] sample_size = 10832
sample_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'stco' parent:'stbl' sz:
20 208 220
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] AVIndex stream 0, sample 0,
offset 24, dts 0, size 10832, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] Processing st: 0, edit list 0
- media time: 0, duration: 408
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'udta' parent:'moov' sz:
33 673 698
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] type:'[169]swr' parent:'udta'
sz: 25 8 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] on_parse_exit_offset=11574
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] Before
avformat_find_stream_info() pos: 11574 bytes read:11574 seeks:0
nb_streams:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] stream 0, sample 0, dts 0
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] stream 0: start_time: 0.000
duration: 0.033
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] format: start_time: 0.000
duration: 0.034 bitrate=2723 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 000002190b6bbe00] After
avformat_find_stream_info() pos: 10868 bytes read:11574 seeks:0 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf58.27.103
Duration: 00:00:00.03, start: 0.000000, bitrate: 2723 kb/s
Stream #0:0(eng), 1, 1/11988: Video: png, 1 reference frame (png /
0x20676E70), rgba(pc, progressive), 1920x1080 [SAR 3778:3778 DAR 16:9],
0/1, 2597 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 11988 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc58.53.100 png
detected 12 logical cores
nan M-V: nan fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Video frame changed from size:0x0 format:none serial:-1 to size:1920x1080
format:rgba serial:1
[ffplay_buffer @ 000002190b6d6080] Setting 'video_size' to value
'1920x1080'
[ffplay_buffer @ 000002190b6d6080] Setting 'pix_fmt' to value '26'
[ffplay_buffer @ 000002190b6d6080] Setting 'time_base' to value '1/11988'
[ffplay_buffer @ 000002190b6d6080] Setting 'pixel_aspect' to value
'3778/3778'
[ffplay_buffer @ 000002190b6d6080] Setting 'frame_rate' to value
'2997/100'
[ffplay_buffer @ 000002190b6d6080] w:1920 h:1080 pixfmt:rgba tb:1/11988
fr:2997/100 sar:3778/3778 sws_param:
[auto_scaler_0 @ 000002190b6f2940] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 000002190b6f2940] w:iw h:ih flags:'bicubic' interl:0
[ffplay_buffersink @ 000002190b6f2540] auto-inserting filter
'auto_scaler_0' between the filter 'ffplay_buffer' and the filter
'ffplay_buffersink'
[AVFilterGraph @ 000002190b6d34c0] query_formats: 2 queried, 0 merged, 1
already done, 0 delayed
[auto_scaler_0 @ 000002190b6f2940] picking bgra out of 2 ref:rgba alpha:1
[swscaler @ 000002190b6f6340] Forcing full internal H chroma due to input
having non subsampled chroma
[auto_scaler_0 @ 000002190b6f2940] w:1920 h:1080 fmt:rgba sar:3778/3778 ->
w:1920 h:1080 fmt:bgra sar:1/1 flags:0x4
[swscaler @ 000002190b6f6340] Forcing full internal H chroma due to input
having non subsampled chroma
[auto_scaler_0 @ 000002190b6f2940] w:1920 h:1080 fmt:rgba sar:1/1 ->
w:1920 h:1080 fmt:bgra sar:1/1 flags:0x4
video: delay=0.033 A-V=nan
Created 1920x1080 texture with SDL_PIXELFORMAT_ARGB8888.
0.05 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.09 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.12 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.16 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.19 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.22 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.26 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.29 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.32 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.35 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.39 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.42 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.45 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.48 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.52 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.55 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.58 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.62 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.65 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.68 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.71 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.75 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.78 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.81 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.85 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.88 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.91 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.94 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
0.98 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.01 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.04 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.08 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.11 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.14 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.17 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.21 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.24 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.27 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.31 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.34 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.37 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.41 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.44 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.47 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.50 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.54 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.57 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.60 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.63 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.67 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.70 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.73 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.77 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.80 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.83 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.87 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.90 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.93 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
1.96 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.00 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.03 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.06 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.10 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.13 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.16 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.19 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.23 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.26 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.29 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.32 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.35 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.39 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.42 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.45 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.49 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.52 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.55 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.59 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.62 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.66 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.69 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.72 M-V: -0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.76 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.79 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.82 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.86 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.89 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.93 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.96 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
2.99 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.03 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.06 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.09 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.13 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.16 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.19 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.22 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.26 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.29 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.32 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.35 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.39 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.42 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.45 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.48 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.52 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.55 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
3.58 M-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
[AVIOContext @ 000002190b6c5040] Statistics: 11574 bytes read, 0 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8599>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
1
02 Apr '20
#8591: vf_deshake_opencl fails to compile on ppc64le/POWER8
----------------------------------+--------------------------------------
Reporter: rathann | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug:
FFmpeg snapshot from 2020-02-20 fails to compile on ppc64le/POWER8 on
Fedora rawhide with gcc 10.0.1. There were no commits to
libavfilter/vf_deshake_opencl.c since then, so this applies to git master
HEAD, too.
How to reproduce:
{{{
$ ./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg
--docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=ppc64le '--optflags=-O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-
gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
-mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'
'--extra-ldflags=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' '--extra-cflags= '
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-
amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-
fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa
--enable-libaom --enable-libdav1d --enable-libass --enable-libbluray
--enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype
--enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-openal
--enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2
--enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265
--enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter
--enable-avresample --enable-postproc --enable-pthreads --disable-static
--enable-shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib64 --enable-runtime-cpudetect --cpu=power8 --enable-pic
...
$ /usr/bin/make -O -j2 V=1 VERBOSE=1 V=1
...
gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST
-DHAVE_AV_CONFIG_H -DBUILDING_avfilter -mcpu=power8 -std=c11 -fomit-frame-
pointer -fPIC -maltivec -mabi=altivec -mvsx -pthread
-I/usr/include/p11-kit-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/openjpeg-2.3
-I/usr/include/opus -I/usr/include/opus -D_REENTRANT
-I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
-DX264_API_IMPORTS -I/usr/include/cdio -Wdeclaration-after-
statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-
to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch
-Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-
bool-operation -Wno-char-subscripts -O2 -g -pipe -Wall -Werror=format-
security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat
/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-
protection -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror
=format-security -Werror=implicit-function-declaration -Werror=missing-
prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-
color=auto -Wno-maybe-uninitialized -I/usr/include/SDL2 -D_REENTRANT -MMD
-MF libavfilter/vf_deshake_opencl.d -MT libavfilter/vf_deshake_opencl.o -c
-o libavfilter/vf_deshake_opencl.o libavfilter/vf_deshake_opencl.c
In file included from /usr/include/CL/cl.h:32,
from ./libavutil/hwcontext_opencl.h:25,
from libavfilter/opencl.h:31,
from libavfilter/vf_deshake_opencl.c:64:
/usr/include/CL/cl_version.h:34:9: note: '#pragma message: cl_version.h:
CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)'
34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not
defined. Defaulting to 220 (OpenCL 2.2)")
| ^~~~~~~
libavfilter/vf_deshake_opencl.c: In function 'points_not_collinear':
libavfilter/vf_deshake_opencl.c:376:24: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
376 | return false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:381:12: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
381 | return true;
| ^~~~
libavfilter/vf_deshake_opencl.c: In function 'check_subset':
libavfilter/vf_deshake_opencl.c:400:12: error: used vector type where
scalar is required
400 | return points_not_collinear(prev_points) &&
points_not_collinear(curr_points);
| ^~~~~~~~~~~~~~~~~~~~
libavfilter/vf_deshake_opencl.c: In function 'get_subset':
libavfilter/vf_deshake_opencl.c:436:23: error: wrong type argument to
unary exclamation mark
436 | if (i == 3 && !check_subset(pairs_subset)) {
| ^
libavfilter/vf_deshake_opencl.c:442:19: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
442 | return i == 3 && iters < max_attempts;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
libavfilter/vf_deshake_opencl.c: In function 'estimate_affine_2d':
libavfilter/vf_deshake_opencl.c:538:19: error: incompatible types when
initializing type '__vector __bool int' {aka '__vector(4) __bool int'}
using type 'int'
538 | bool result = false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:547:16: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
547 | return false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:556:16: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
556 | return true;
| ^~~~
libavfilter/vf_deshake_opencl.c:562:13: error: wrong type argument to
unary exclamation mark
562 | if (!found) {
| ^
libavfilter/vf_deshake_opencl.c:564:24: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
564 | return false;
| ^~~~~
In file included from libavfilter/vf_deshake_opencl.c:48:
libavfilter/vf_deshake_opencl.c:603:18: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
603 | result = true;
| ^~~~
libavfilter/vf_deshake_opencl.c: In function 'optimize_model':
libavfilter/vf_deshake_opencl.c:621:19: error: incompatible types when
initializing type '__vector __bool int' {aka '__vector(4) __bool int'}
using type 'int'
621 | bool move_x = true;
| ^~~~
libavfilter/vf_deshake_opencl.c:629:13: error: used vector type where
scalar is required
629 | if (move_x) {
| ^~~~~~
libavfilter/vf_deshake_opencl.c:651:17: error: used vector type where
scalar is required
651 | if (move_x) {
| ^~~~~~
libavfilter/vf_deshake_opencl.c:664:17: error: used vector type where
scalar is required
664 | if (move_x) {
| ^~~~~~
In file included from libavfilter/vf_deshake_opencl.c:48:
libavfilter/vf_deshake_opencl.c:671:26: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
671 | move_x = false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:673:26: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
673 | move_x = true;
| ^~~~
libavfilter/vf_deshake_opencl.c:621:10: warning: variable 'move_x' set but
not used [-Wunused-but-set-variable]
621 | bool move_x = true;
| ^~~~~~
libavfilter/vf_deshake_opencl.c: In function 'minimize_error':
libavfilter/vf_deshake_opencl.c:692:19: error: incompatible types when
initializing type '__vector __bool int' {aka '__vector(4) __bool int'}
using type 'int'
692 | bool result = false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:701:13: error: wrong type argument to
unary exclamation mark
701 | if (!found) {
| ^
libavfilter/vf_deshake_opencl.c:703:24: error: incompatible types when
returning type 'int' but '__vector __bool int' {aka '__vector(4) __bool
int'} was expected
703 | return false;
| ^~~~~
In file included from libavfilter/vf_deshake_opencl.c:48:
libavfilter/vf_deshake_opencl.c:737:14: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
737 | result = true;
| ^~~~
libavfilter/vf_deshake_opencl.c: In function 'deshake_opencl_uninit':
libavfilter/vf_deshake_opencl.c:1106:9: error: wrong type argument to
unary exclamation mark
1106 | if (!ctx->is_yuv)
| ^
In file included from libavfilter/vf_deshake_opencl.c:48:
libavfilter/vf_deshake_opencl.c: In function 'deshake_opencl_init':
libavfilter/vf_deshake_opencl.c:1173:16: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
1173 | ctx->eof = false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:1265:23: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
1265 | ctx->is_yuv = false;
| ^~~~~
libavfilter/vf_deshake_opencl.c:1267:23: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
1267 | ctx->is_yuv = true;
| ^~~~
libavfilter/vf_deshake_opencl.c:1298:9: error: wrong type argument to
unary exclamation mark
1298 | if (!ctx->is_yuv) {
| ^
libavfilter/vf_deshake_opencl.c: In function 'filter_frame':
libavfilter/vf_deshake_opencl.c:1570:34: error: wrong type argument to
unary exclamation mark
1570 | if (deshake_ctx->debug_on && !deshake_ctx->is_yuv &&
debug_matches.num_matches > 0) {
| ^
libavfilter/vf_deshake_opencl.c: In function 'queue_frame':
libavfilter/vf_deshake_opencl.c:1796:9: error: used vector type where
scalar is required
1796 | if (deshake_ctx->is_yuv) {
| ^~~~~~~~~~~
libavfilter/vf_deshake_opencl.c:1902:9: error: wrong type argument to
unary exclamation mark
1902 | if (!estimate_affine_2d(
| ^
libavfilter/vf_deshake_opencl.c:1922:9: error: wrong type argument to
unary exclamation mark
1922 | if (!minimize_error(
| ^
libavfilter/vf_deshake_opencl.c:1954:13: error: wrong type argument to
unary exclamation mark
1954 | if (!deshake_ctx->is_yuv) {
| ^
libavfilter/vf_deshake_opencl.c: In function 'activate':
libavfilter/vf_deshake_opencl.c:2051:9: error: wrong type argument to
unary exclamation mark
2051 | if (!deshake_ctx->eof) {
| ^
libavfilter/vf_deshake_opencl.c:2086:9: error: wrong type argument to
unary exclamation mark
2086 | if (!deshake_ctx->eof && ff_inlink_acknowledge_status(inlink,
&status, &pts)) {
| ^
In file included from libavfilter/vf_deshake_opencl.c:48:
libavfilter/vf_deshake_opencl.c:2088:32: error: incompatible types when
assigning to type '__vector __bool int' {aka '__vector(4) __bool int'}
from type 'int'
2088 | deshake_ctx->eof = true;
| ^~~~
libavfilter/vf_deshake_opencl.c:2092:9: error: used vector type where
scalar is required
2092 | if (deshake_ctx->eof) {
| ^~~~~~~~~~~
libavfilter/vf_deshake_opencl.c:2132:9: error: wrong type argument to
unary exclamation mark
2132 | if (!deshake_ctx->eof) {
| ^
make: *** [ffbuild/common.mak:59: libavfilter/vf_deshake_opencl.o] Error 1
}}}
Installed packages versions:
http://koji.rpmfusion.org/kojifiles/work/tasks/8422/388422/root.log
Full build log:
http://koji.rpmfusion.org/kojifiles/work/tasks/8422/388422/build.log
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8591>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
10