[FFmpeg-user] pixelated video after inserting a logo

Rossana Guerra guerra.rossana at gmail.com
Wed May 23 02:30:21 CEST 2012


2012/5/22 Carl Eugen Hoyos <cehoyos at ag.or.at>

> Rossana Guerra <guerra.rossana <at> gmail.com> writes:
>
> > The only fact I can argue is when I use -vcode libx264 it misses
> > frames and the duration of the clip is less than the original.
>
> Command line and complete, uncut console output missing ;-)
>
> Please do not top post here, Carl Eugen
>


Hello, me again, where here is the output. Thist time I had no problems, I
put the output thouhg just there is something I must be aware of.

Thanks and regards

Rossana


usuario at pangolin:~/Vídeos/Xelestina$ ffmpeg -i video1.avi -vf "movie=md.png
[logo]; [in][logo] overlay=W-w-10:10[out]" -vcodec libx264 -b 1400k
outfinal.avi
ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav
developers
  built on Mar 22 2012 05:09:06 with gcc 4.6.3
This program is not developed anymore and is only provided for
compatibility. Use avconv instead (see Changelog for the list of
incompatible changes).

Seems stream 0 codec frame rate differs from container frame rate: 30000.00
(30000/1) -> 23.98 (24000/1001)
Input #0, avi, from 'video1.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.1 (build 2366/release)
  Duration: 00:23:18.52, start: 0.000000, bitrate: 1308 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x400 [PAR 1:1 DAR 9:5], 23.98
fps, 23.98 tbr, 23.98 tbn, 30k tbc
    Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 0x1b0c900] w:720 h:400 pixfmt:yuv420p
[movie @ 0x1b08e60] seek_point:0 format_name:(null) file_name:md.png
stream_index:0
[overlay @ 0x1b21680] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'Parsed filter 0 movie' and the filter 'Parsed filter 1
overlay'
[scale @ 0x1b22400] w:67 h:71 fmt:rgb24 -> w:67 h:71 fmt:yuva420p flags:0x4
[overlay @ 0x1b21680] main w:720 h:400 fmt:yuv420p overlay x:643 y:10 w:67
h:71 fmt:yuva420p
[overlay @ 0x1b21680] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000
exact:1
[libx264 @ 0x1b0aa60] using SAR=1/1
[libx264 @ 0x1b0aa60] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x1b0aa60] profile Main, level 3.0
Output #0, avi, to 'outfinal.avi':
  Metadata:
    ISFT            : Lavf53.21.0
    Stream #0.0: Video: libx264, yuv420p, 720x400 [PAR 1:1 DAR 9:5],
q=-1--1, 1400 kb/s, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 1400 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
[mp3 @ 0x1b0bc00] incomplete frame291770kB time=1396.77
bitrate=1711.2kbits/s
Error while decoding stream #0.1
frame=33531 fps=  8 q=21.0 Lsize=  293441kB time=1398.48
bitrate=1718.9kbits/s
video:236697kB audio:54631kB global headers:0kB muxing overhead 0.725625%
frame I:245   Avg QP:15.93  size: 26944
[libx264 @ 0x1b0aa60] frame P:30783 Avg QP:17.97  size:  7417
[libx264 @ 0x1b0aa60] frame B:2503  Avg QP:18.96  size:  2975
[libx264 @ 0x1b0aa60] consecutive B-frames: 88.9%  3.2%  1.0%  6.9%
[libx264 @ 0x1b0aa60] mb I  I16..4: 40.3%  0.0% 59.7%
[libx264 @ 0x1b0aa60] mb P  I16..4:  3.9%  0.0%  3.2%  P16..4: 47.8% 13.4%
7.0%  0.0%  0.0%    skip:24.6%
[libx264 @ 0x1b0aa60] mb B  I16..4:  0.5%  0.0%  0.7%  B16..8: 31.5%  5.9%
1.3%  direct: 5.4%  skip:54.7%  L0:39.5% L1:40.9% BI:19.6%
[libx264 @ 0x1b0aa60] final ratefactor: 17.93
[libx264 @ 0x1b0aa60] coded y,uvDC,uvAC intra: 55.4% 75.9% 44.5% inter:
31.2% 35.4% 7.9%
[libx264 @ 0x1b0aa60] i16 v,h,dc,p: 49% 21% 12% 19%
[libx264 @ 0x1b0aa60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 21% 22%  5%  7%
6%  6%  6%  5%
[libx264 @ 0x1b0aa60] i8c dc,h,v,p: 48% 23% 22%  7%
[libx264 @ 0x1b0aa60] Weighted P-Frames: Y:1.3% UV:0.9%
[libx264 @ 0x1b0aa60] ref P L0: 77.1% 11.1%  8.1%  3.6%  0.1%
[libx264 @ 0x1b0aa60] ref B L0: 86.5% 13.5%
[libx264 @ 0x1b0aa60] kb/s:1386.48



>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list