FFMPEG text overlay Jitter

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

FFMPEG text overlay Jitter

Steven Anderson
Hi!

Here is an example of the video I created:


https://youtu.be/oPxdWW0-uZE

It has shimmering of letters about 1 minute in and gets worse.

created using the following steps:

1. On linux (Ubuntu 18.04) install youtube-dl

sudo apt-get install youtube-dl

2. download the video:

youtube-dl -F https://m.youtube.com/watch?v=eS2ssUROF5o&t=45s

youtube-dl -f 137 https://m.youtube.com/watch?v=eS2ssUROF5o&t=45s


ffmpeg -y -i HeavySnowFall-5min.mp4 -vf
"drawbox=y=ih-210:color=0xD1DCF1@.95:width=iw:height=148:t=max,drawtext=fontcolor=0x030302:fontsize=70:-vf
fps=fps=30000/1001
:fontfile='/home/steven/.local/share/fonts/SansitaOne.ttf':textfile='Tickertxt.txt':reload=1:y=h-line_h-80:x=w-(mod(8*n\,w+tw)-tw/40)"
-codec:v libx264 scrolling2.mp4
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG text overlay Jitter

Moritz Barsnick
On Tue, Jun 12, 2018 at 12:11:42 -0400, Steven Anderson wrote:
> https://youtu.be/oPxdWW0-uZE
> It has shimmering of letters about 1 minute in and gets worse.

YouTube only shows me a 55 seconds long video, and I can't see any
incorrect effects at first glance.

> ffmpeg -y -i HeavySnowFall-5min.mp4 -vf
> "drawbox=y=ih-210:color=0xD1DCF1@.95:width=iw:height=148:t=max,drawtext=fontcolor=0x030302:fontsize=70:-vf
> fps=fps=30000/1001
> :fontfile='/home/steven/.local/share/fonts/SansitaOne.ttf':textfile='Tickertxt.txt':reload=1:y=h-line_h-80:x=w-(mod(8*n\,w+tw)-tw/40)"
> -codec:v libx264 scrolling2.mp4

Apart from the confusing "-vf fps=fps=30000/1001", which is a
copy/paste error presumably, the rest should be okay. It might be
interesting to see the complete, uncut console output of your command.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG text overlay Jitter

Carl Eugen Hoyos-2
2018-06-13 0:43 GMT+02:00, Moritz Barsnick <[hidden email]>:

> Apart from the confusing "-vf fps=fps=30000/1001"

The main parameter of the "fps" filter is the option "fps".
;-)

Carl Eugen

https://ffmpeg.org/ffmpeg-filters.html#fps-1
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: FFMPEG text overlay Jitter

Moritz Barsnick
On Wed, Jun 13, 2018 at 11:22:56 +0200, Carl Eugen Hoyos wrote:
> 2018-06-13 0:43 GMT+02:00, Moritz Barsnick <[hidden email]>:
> > Apart from the confusing "-vf fps=fps=30000/1001"
> The main parameter of the "fps" filter is the option "fps".
> ;-)

It has been years since that has confused me. ;-)

In case Steven didn't understand, I obviously meant its placement right
in the middle of a filter term. (Apart from that, had it been placed
differently, ffmpeg doesn't take two "-vf" arguments anyway.)

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".