[FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame.
周红
271697892 at qq.com
Sat Dec 24 09:43:22 EET 2016
Hello, Everyone,
I got ffmpeg 3.2.2 compile on my linux centOS 6.2 width gcc 5.3。I used to use ffmpeg 2.8 static binaray, but when I switch to 3.2.2
[zhouhong at localhost bin]$ /home/zhouhong/Downloads/ffmpeg-3.2/ffmpeg -y -i "/mnt/hgfs/downloads/light.mp4" -i "/mnt/hgfs/downloads/light.mp4" -filter_complex '[0:v]yadif,delogo=0:0:50:50:band=10,delogo=20:20:20:20:band=10,split=5[vstream1][vstream2][vstream3][vstream4][vstream5];[vstream1]scale=480:204,pad=480:270:0:33[ld];[vstream2]scale=768:328,pad=768:432:0:52,split=2[sd][sd_1];[vstream3]scale=960:408,pad=960:540:0:66,split=2[qhd][qhd_1];[vstream4]scale=1280:544,pad=1280:720:0:88[hd];[vstream5]scale=1920:816,pad=1920:1080:0:132[fhd];[1:a:0]volume=volume=2,aresample=44100,asplit=5[astream1][astream2][astream3][astream4][astream5]' -map '[sd_1]' -pass 1 -passlogfile 140030974285568_sd_1 -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 500000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -f rawvideo /dev/null -map '[qhd_1]' -pass 1 -passlogfile 140030974285568_qhd_1 -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 1000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -f rawvideo /dev/null -map '[ld]' -pass 1 -passlogfile 140030974285568_ld -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 409600 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v baseline -level 20 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream1]' -f mp4 /dev/null -map '[sd]' -pass 1 -passlogfile 140030974285568_sd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 500000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream2]' -f mp4 /dev/null -map '[qhd]' -pass 1 -passlogfile 140030974285568_qhd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 1000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream3]' -f mp4 /dev/null -map '[hd]' -pass 1 -passlogfile 140030974285568_hd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 2000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream4]' -f mp4 /dev/null -map '[fhd]' -pass 1 -passlogfile 140030974285568_fhd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 4000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream5]' -f mp4 /dev/null
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-libfdk_aac --enable-nonfree --enable-static --pkg-config-flags=--static --extra-ldflags='-L/home/zhouhong/ffmpeg/lib -static -static-libgcc -static-libstdc++ -fopenmp'
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.100 / 57. 64.100
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[flv @ 0x464bac0] Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY, found 0
[flv @ 0x464bac0] video stream discovered after head already parsed
[flv @ 0x464bac0] audio stream discovered after head already parsed
Input #0, flv, from '/mnt/hgfs/downloads/light.mp4':
Metadata:
creator : http://www.iqiyi.com
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.23
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : false
datasize : 87249474
videosize : 81894954
audiosize : 5296100
lasttimestamp : 218
lastkeyframetimestamp: 217
lastkeyframelocation: 87248784
Duration: 00:03:37.73, start: 0.000000, bitrate: 3205 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816, 24.42 fps, 24 tbr, 1k tbn, 48 tbc
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp
[flv @ 0x4724d00] Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY, found 0
[flv @ 0x4724d00] video stream discovered after head already parsed
[flv @ 0x4724d00] audio stream discovered after head already parsed
Input #1, flv, from '/mnt/hgfs/downloads/light.mp4':
Metadata:
creator : http://www.iqiyi.com
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.23
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : false
datasize : 87249474
videosize : 81894954
audiosize : 5296100
lasttimestamp : 218
lastkeyframetimestamp: 217
lastkeyframelocation: 87248784
Duration: 00:03:37.73, start: 0.000000, bitrate: 3205 kb/s
Stream #1:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816, 24.42 fps, 24 tbr, 1k tbn, 48 tbc
Stream #1:1: Audio: aac (LC), 44100 Hz, stereo, fltp
[Parsed_delogo_1 @ 0x4746de0] Option band is deprecated.
[Parsed_delogo_2 @ 0x46f1f60] Option band is deprecated.
[Parsed_delogo_1 @ 0x4bfa800] Option band is deprecated.
[Parsed_delogo_2 @ 0x46a06c0] Option band is deprecated.
[delogo @ 0x4bfaba0] Logo area is outside of the frame.
[Parsed_delogo_1 @ 0x4bfa800] Failed to configure input pad on Parsed_delogo_1
Error configuring complex filters.
Invalid argument
my video's frame size is large enough, I think.
[zhouhong at localhost bin]$ ffprobe -show_format -show_streams /mnt/hgfs/downloads/light.mp4
ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
built on Oct 9 2016 17:07:27 with gcc 5.3.0 (GCC)
configuration: --prefix=/usr/local/newcompiler
libavutil 52. 91.100 / 52. 91.100
libavcodec 55. 68.102 / 55. 68.102
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
[flv @ 0x1b53020] Stream discovered after head already parsed
Input #0, flv, from '/mnt/hgfs/downloads/light.mp4':
Metadata:
creator : http://www.iqiyi.com
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.23
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : false
datasize : 87249474
videosize : 81894954
audiosize : 5296100
lasttimestamp : 218
lastkeyframetimestamp: 217
lastkeyframelocation: 87248784
Duration: 00:03:37.73, start: 0.000000, bitrate: 3205 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x816, 3006 kb/s, 24.42 fps, 24 tbr, 1k tbn, 48 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 190 kb/s
Stream #0:2: Data: none
Unsupported codec with id 0 for input stream 2
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1/48
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1920
height=816
has_b_frames=2
sample_aspect_ratio=0:1
display_aspect_ratio=0:1
pix_fmt=yuv420p
level=40
color_range=tv
color_space=bt709
timecode=N/A
id=N/A
r_frame_rate=24/1
avg_frame_rate=293/12
time_base=1/1000
start_pts=83
start_time=0.083000
duration_ts=N/A
duration=N/A
bit_rate=3006879
max_bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM]
[STREAM]
index=1
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=unknown
codec_type=audio
codec_time_base=1/44100
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
sample_rate=44100
channels=2
channel_layout=stereo
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=190798
max_bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM]
[STREAM]
index=2
codec_name=unknown
codec_long_name=unknown
profile=unknown
codec_type=data
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM]
[FORMAT]
filename=/mnt/hgfs/downloads/light.mp4
nb_streams=3
nb_programs=0
format_name=flv
format_long_name=FLV (Flash Video)
start_time=0.000000
duration=217.734000
size=87251647
bit_rate=3205806
probe_score=100
TAG:creator=http://www.iqiyi.com
TAG:metadatacreator=Yet Another Metadata Injector for FLV - Version 1.23
TAG:hasKeyframes=true
TAG:hasVideo=true
TAG:hasAudio=true
TAG:hasMetadata=true
TAG:canSeekToEnd=false
TAG:datasize=87249474
TAG:videosize=81894954
TAG:audiosize=5296100
TAG:lasttimestamp=218
TAG:lastkeyframetimestamp=217
TAG:lastkeyframelocation=87248784
[/FORMAT]
More information about the ffmpeg-user
mailing list