[FFmpeg-user] pixelated video after inserting a logo

Rossana Guerra guerra.rossana at gmail.com
Sun May 20 23:01:28 CEST 2012


Thanks Stefano, I'll try what you suggested.

Regards

Rossana

2012/5/20 Stefano Sabatini <stefasab at gmail.com>

> On date Saturday 2012-05-19 19:20:33 -0300, Rossana Guerra encoded:
> > 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
>
> Value for -b is expressed in *bits per seconds*, so 1400 is
> definitively low, use -b 1400k instead.
>
> Also you may try the libx264 encoder (mpeg4 is the default choice for
> the AVI container, so no need to explicitely specify it).
> --
> 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