As suggested i have used the filter instead of -r. I also used it in
other commands as well since it seems more appropriate for my use.
After looking into it i did not know the 2 ways existed and the
difference between the 2.
I can just now hope it does not happen again.
Thanks to your command detail i also know that i can write text on
frames using only ffmpeg. I did not know that but maybe when i developed
my solution, it did not exist.
On 17/10/18 10:52, DopeLabs wrote:
here is an example of one of the commands i have running without any issues...
ffmpeg -d -i http://127.0.0.1:5000 -r 60 -i viz.mp4 -loop 1 -i mask.png
-filter_complex
lowpass=600,showwaves=s=1280x720:mode=cline:r=60:colors=random|random[viz];[1:v]scale=1280x720,setsar=1/1[sun];[viz][sun]blend=all_mode=heat:shortest=1[bg];[bg][2:v]blend=all_mode=overlay:shortest=1:repeatlast=0:enable=lt(mod(t\,300)\,5),drawtext=fontfile=d3.ttf:fontsize=38:fontcolor=gray:text=DSFM.TV:x=5:y=(h-text_h)-5,drawtext=fontfile=helvbold.ttf:fix_bounds=true:fontsize=28:textfile=nowplaying.txt:fontcolor=gray:reload=1:y=(h-text_h)-5:x=(w-text_w)/2:enable=lt(mod(t\,60)\,15),drawtext=fontfile=helvbold.ttf:fontsize=24:fontcolor=gray:textfile=tuneid.txt:reload=1:y=5:x=(w-text_w)/2,drawtext=fontfile=helvbold.ttf:fontsize=24:fontcolor=gray:textfile=date.txt:reload=1:y=5:x=(w-text_w)-5:enable=lt(mod(t\,60)\,15),drawtext=fontfile=d3.ttf:fontsize=38:fontcolor=gray:textfile=count.txt:reload=1:x=(w-text_w)-5:y=(h-text_h)+20,hue=H=2*sin(400*PI/600*t)
-s 1280x720 -c:a libfdk_aac -b:a 256k -c:v libx264 -preset ultrafast
-profile:v high -level 4.2 -g 120 -bf 4 -x264opts
keyint=120:min-keyint=120:8x8dct=1 -pix_fmt yuv420p -r 60 -f flv
rtmp://127.0.0.1/live/viz
in short it grabs my net radio stream and outputs visualizations and adds text
for the current playing mix, when the air date was, and the current number of
people watching... i publish the stream at dsfm.tv
nothing that changes pts mid stream though.. that sounds like it wouldnt be
good though...
On Oct 16, 2018, at 1:04 42PM, Paul B Mahol <[email protected]> wrote:
On 10/16/18, DopeLabs <[email protected]> wrote:
never happens to me and i have many processes that use -r running in the
background 24/7
they all start with
ffmpeg -d -i
and end with
-f flv rtmp://host/app/stream </dev/null &
Do you use filtergraphs that change pts at all?
Try with loop filters and -r and you will get fancy effect.
On Oct 16, 2018, at 3:16 16AM, sailor-godkane <[email protected]> wrote:
Could using -r with a filtergraph at the same time hang the command at
random?
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".