[FFmpeg-user] pixelated video after inserting a logo

Rossana Guerra guerra.rossana at gmail.com
Sun May 20 00:20:33 CEST 2012


Hi, well I did what you suggested, but it didn't improve the result so much.

First I found out the codec: ffmpeg -i video1.avi

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

And then I applied the codec and bitrate:

ffmpeg -i video1.avi -vf "movie=md.png [logo]; [in][logo]
overlay=W-w-10:10[out]" -vcodec mpeg4 -b 1400 out1.avi

Any suggestion? Thanks a lot

Rossana


2012/5/19 Rossana Guerra <guerra.rossana at gmail.com>

> Sorry, since I am pretty newbie in this subject. You mention to increase
> the bitrate, use a diffferent lossy codec.
> Do you have a more explicit example? I appreciate very much, nonethless
> I'll take a read on what you mentioned.
>
> Thanks and regards
>
> Rossana
>
>
> 2012/5/19 Stefano Sabatini <stefasab at gmail.com>
>
>> On date Saturday 2012-05-19 01:03:11 -0300, Rossana Guerra encoded:
>> > Hello, applying the following command, the output appears pixelated.
>> Why is
>> > this? is there a parameter o setting I am missing?
>> >
>> >  ffmpeg -i input.avi -vf "movie=watermark.png [logo]; [in][logo]
>> > overlay=W-w-10:H-h-10[out]" output.avi
>>
>> That depends most likely on the default output quality. You can
>> increase the output bitrate or the quality to fix that, use a
>> different lossy codec with a better quality/compression ratio (AVI
>> assumes MPEG-4 part 2 by default, but you can change that through the
>> -vcodec option), or use a lossless codec.
>> --
>> ffmpeg-user random tip #15
>> Please submit bugreports to:
>> https://ffmpeg.org/trac/ffmpeg/report
>> instead of this mailinglist.
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list