[FFmpeg-user] remap filter gives only black and white output
Michael Koch
astroelectronic at t-online.de
Wed Nov 22 17:47:50 EET 2017
I also tested the fisheye_grid_xmap.pgm and fisheye_grid_ymap.pgm files
which can be downloaded from the Wiki page:
https://trac.ffmpeg.org/wiki/RemapFilter
Same problem, the output is black and white. So I think it's not a
problem of my own map files.
Michael
F:\xxx\xxx>c:/ffmpeg/ffmpeg -i in.mp4 -i fisheye_grid_
xmap.pgm -i fisheye_grid_ymap.pgm -lavfi "remap" -c:v mpeg4 -q:v 2 -y
out.mp4
ffmpeg version N-89127-g8f4702a93f Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg
--enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
--enable-z
lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda
--enable-c
uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
--enable-l
ibmfx
libavutil 56. 0.100 / 56. 0.100
libavcodec 58. 3.103 / 58. 3.103
libavformat 58. 2.100 / 58. 2.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 2.100 / 7. 2.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf58.0.102
Duration: 00:00:12.02, start: 0.000000, bitrate: 22472 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v /
0x7634706D), yuv420p
, 1000x1000 [SAR 1:1 DAR 1:1], 22381 kb/s, 30 fps, 30 tbr, 15360 tbn, 30
tbc (de
fault)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, flt
p, 127 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, pgm_pipe, from 'fisheye_grid_xmap.pgm':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: pgm, gray16le, 400x400, 25 tbr, 25 tbn, 25 tbc
Input #2, pgm_pipe, from 'fisheye_grid_ymap.pgm':
Duration: N/A, bitrate: N/A
Stream #2:0: Video: pgm, gray16le, 400x400, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (mpeg4) -> remap:source (graph 0)
Stream #1:0 (pgm) -> remap:xmap (graph 0)
Stream #2:0 (pgm) -> remap:ymap (graph 0)
remap (graph 0) -> Stream #0:0 (mpeg4)
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'out.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf58.2.100
Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 400x400
[SAR 1:1 DAR
1:1], q=2-31, 200 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
Metadata:
encoder : Lavc58.3.103 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, flt
p, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc58.3.103 aac
frame= 79 fps=0.0 q=2.0 size= 512kB time=00:00:02.73
bitrate=1530.9kbits/s
frame= 164 fps=159 q=2.0 size= 1792kB time=00:00:05.57
bitrate=2634.3kbits/s
frame= 253 fps=164 q=2.0 size= 3072kB time=00:00:08.52
bitrate=2953.2kbits/s
frame= 347 fps=169 q=2.0 size= 4096kB time=00:00:11.65
bitrate=2878.7kbits/s
frame= 360 fps=170 q=2.0 Lsize= 4367kB time=00:00:12.00
bitrate=2979.8kbits/
s speed=5.66x
video:4168kB audio:188kB subtitle:0kB other streams:0kB global
headers:0kB muxin
g overhead: 0.262168%
[aac @ 00000000005d3040] Qavg: 206.162
More information about the ffmpeg-user
mailing list