On Sun, Apr 24, 2022 at 3:25 PM Bang He <hezhanb...@gmail.com> wrote:
> why do you use nut format? i think that is not popular. > Popular is not necessarily good. > > On Sat, Apr 23, 2022 at 7:06 AM ramon <cala...@gmail.com> wrote: > > > You were right, there is no memory leak in the showvolume. Vagrind does > not > > detect memory leaks and graphmonitor oscillates in green colour between 1 > > and 2 in the queue. > > The problem I see is in the NUT output format. > > > > I need to generate a vumeter from the input stream and pipe to vlc. So, I > > make a vumeter and use a rawvideo cocdec without encoding and pipe in > nut > > format to VLC. This works fine with the memory leak problem. > > I have tried "-syncpoints none" option for nut but VLC won't play it. > Also > > I tried rawvideo format output but it doesn't work either. > > > > Is there any other way to send a raw video output to vlc? > > > > Thank you, > > > > On Tue, Apr 19, 2022 at 7:00 PM Paul B Mahol <one...@gmail.com> wrote: > > > > > On Tue, Apr 19, 2022 at 12:15 PM ramon <cala...@gmail.com> wrote: > > > > > > > OK I'll check the pts sync as you say. > > > > > > > > I am simply trying the following command based on > > > > > > > > > > > > > > https://hhsprings.bitbucket.io/docs/programming/examples/ffmpeg/audio_visualization/_showvolume_.html > > > > and I get memory leaks., I don't know the reason. > > > > > > > > ffmpeg -re -stream_loop -1 -i test.mp3 -filter_complex > > > > "[0:a]showvolume,scale=1920:-1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v]" > > -map > > > > [v] -map 0:a -c:a copy -f null - > > > > > > > > > > > > > Used valgrind and top with exact that line and spotted nothing out of > > > normal. > > > > > > > > > > > > > > > > > > On Mon, Apr 18, 2022 at 8:27 PM Paul B Mahol <one...@gmail.com> > wrote: > > > > > > > > > On Mon, Apr 18, 2022 at 8:13 PM Paul B Mahol <one...@gmail.com> > > wrote: > > > > > > > > > > > > > > > > > > > > > > > On Mon, Apr 18, 2022 at 7:00 PM ramon <cala...@gmail.com> wrote: > > > > > > > > > > > >> Yes, I used the master versiĆ³n with your 24144af2 patch. > > > > > >> Your patch corectec the leak if dm (draw_persistent_duration) > > > 0, > > > > and > > > > > >> the > > > > > >> leak memory occurs also with dm=0. > > > > > >> > > > > > > > > > > > > Does not leak here at all. > > > > > > > > > > > > > > > > Do note that if PTS get out of sync it could start to keep yet not > > used > > > > > frames. > > > > > > > > > > Could you use graphmonitor filter after showvolume filter? The > queue > > > > items > > > > > displayed in video should not reach red colored numbers. > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > >> > > > > > >> > > > > > >> On Mon, Apr 18, 2022 at 5:51 PM Paul B Mahol <one...@gmail.com> > > > > wrote: > > > > > >> > > > > > >> > On Mon, Apr 18, 2022 at 5:32 PM ramon <cala...@gmail.com> > > wrote: > > > > > >> > > > > > > >> > > Thanks,but not work. The memory leak is the same. > > > > > >> > > The init function is called only once. > > > > > >> > > > > > > > >> > > > > > > > >> > Sorry, use master version of ffmpeg. > > > > > >> > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > > >> > > On Wed, Apr 13, 2022 at 6:24 PM Paul B Mahol < > > one...@gmail.com> > > > > > >> wrote: > > > > > >> > > > > > > > >> > > > On Wed, Apr 13, 2022 at 5:58 PM ramon <cala...@gmail.com> > > > > wrote: > > > > > >> > > > > > > > > >> > > > > I'm testing the showolume filter to generate a single > > > vumeter > > > > > >> from an > > > > > >> > > > input > > > > > >> > > > > stream. > > > > > >> > > > > The filter works perfectly but eats memory. > Approximately > > > > > >> 500MBytes > > > > > >> > > > every 2 > > > > > >> > > > > days. > > > > > >> > > > > > > > > > >> > > > > Using ffmpeg version 5.0-static on GNU/Linux > > > 4.15.0-45-generic > > > > > >> x86_64 > > > > > >> > > > > > > > > > >> > > > > In normal use I use an output nut format with a pipe to > a > > > vlc > > > > > >> player. > > > > > >> > > But > > > > > >> > > > > with a simple output to null it also has a memory leak. > > > > > >> > > > > > > > > > >> > > > > My testing commandline: > > > > > >> > > > > > > > > > >> > > > > ffmpeg -i udp://@239.1.1.1:1234 -filter_complex > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > [0:a]showvolume=r=20:ds=log:m=r:v=0:t=0:dm=2:dmc=yellow:o=h:w=320:h=8[out] > > > > > >> > > > > -map [out] -map 0:a -an -c:v rawvideo -pix_fmt rgb24 -f > > null > > > > > >> > /dev/null > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > Small leaks (648 bytes per each init) have been fixed. > > Thanks > > > > for > > > > > >> > report. > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > Thanks, > > > > > >> > > > > Ramon > > > > > >> > > > > _______________________________________________ > > > > > >> > > > > ffmpeg-user mailing list > > > > > >> > > > > ffmpeg-user@ffmpeg.org > > > > > >> > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > >> > > > > > > > > > >> > > > > To unsubscribe, visit link above, or email > > > > > >> > > > > ffmpeg-user-requ...@ffmpeg.org with subject > > "unsubscribe". > > > > > >> > > > > > > > > > >> > > > _______________________________________________ > > > > > >> > > > ffmpeg-user mailing list > > > > > >> > > > ffmpeg-user@ffmpeg.org > > > > > >> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > >> > > > > > > > > >> > > > To unsubscribe, visit link above, or email > > > > > >> > > > ffmpeg-user-requ...@ffmpeg.org with subject > "unsubscribe". > > > > > >> > > > > > > > > >> > > _______________________________________________ > > > > > >> > > ffmpeg-user mailing list > > > > > >> > > ffmpeg-user@ffmpeg.org > > > > > >> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > >> > > > > > > > >> > > To unsubscribe, visit link above, or email > > > > > >> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > >> > > > > > > > >> > _______________________________________________ > > > > > >> > ffmpeg-user mailing list > > > > > >> > ffmpeg-user@ffmpeg.org > > > > > >> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > >> > > > > > > >> > To unsubscribe, visit link above, or email > > > > > >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > >> > > > > > > >> _______________________________________________ > > > > > >> ffmpeg-user mailing list > > > > > >> ffmpeg-user@ffmpeg.org > > > > > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > >> > > > > > >> To unsubscribe, visit link above, or email > > > > > >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > >> > > > > > > > > > > > _______________________________________________ > > > > > ffmpeg-user mailing list > > > > > ffmpeg-user@ffmpeg.org > > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > > > > > To unsubscribe, visit link above, or email > > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > > > > > _______________________________________________ > > > > ffmpeg-user mailing list > > > > ffmpeg-user@ffmpeg.org > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > > > To unsubscribe, visit link above, or email > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > > > _______________________________________________ > > > ffmpeg-user mailing list > > > ffmpeg-user@ffmpeg.org > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".