[FFmpeg-user] pixelated video after inserting a logo

Joana Moll joanamoll at gmail.com
Mon May 21 16:48:28 CEST 2012


Sorry, i made a writing mistake, the -r must be  before the -i input.avi,
not in between.

El dilluns 21 de maig de 2012, Joana Moll <joanamoll at gmail.com> ha escrit:
> you can try adding the original film frame rate before the input and the
desired output frame rate before the output, that should fix it.
>
>
> ffmpeg -i  -r 24 video1.avi -vf "movie=md.png [logo]; [in][logo]
> overlay=W-w-10:10[out]" -r 24  -b 1400k   outprueba.avi
>
> good luck!
>
>
>
> 2012/5/21 Rossana Guerra <guerra.rossana at gmail.com>
>>
>> Finally worked in an aceptable way, with a very good resolution.
>>
>>
>> ffmpeg -i video1.avi -vf "movie=md.png [logo]; [in][logo]
>> overlay=W-w-10:10[out]"  -b 1400k outprueba.avi
>>
>> Even the result is ok, I got this message.
>> Press ctrl-c to stop encoding
>> [mp3 @ 0x7e8c00] incomplete frame293576kB time=1398.36
>> bitrate=1719.9kbits/s
>>
>> Is there a crucial issue I will be aware of?
>>
>>
>> I'va also tryed with -vcode libx265, but after encoding it misses some
>> frames.  The final video last less minutes than the original.
>> I guess it could be something with a wrong frame econding or  something
>> like that..
>>
>> Thanks a lot for your help.
>>
>> Rossana
>>
>>
>>
>> 2012/5/20 Rossana Guerra <guerra.rossana at gmail.com>
>>
>> > 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
>> >>
>> >
>> >
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
>
> --
> Joana Moll
> joanamoll at gmail.com
> www.janavirgin.com
>
>
>

-- 
Joana Moll
joanamoll at gmail.com
www.janavirgin.com


More information about the ffmpeg-user mailing list