Re: [FFmpeg-user] showvolume filter memory leak
Finally, I tested avi and asf as a mux for pipe to VLC without any memory leak. Thanks. On Sun, Apr 24, 2022 at 5:55 PM Carl Zwanzig wrote: > On 4/24/2022 6:25 AM, Bang He wrote: > > why do you use nut format? i think that is not popular. > > Why do you say that? Popular doesn't mean technically better or > appropriate > to the task > > (please do not top-post on this list) > > z! > ___ > 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".
Re: [FFmpeg-user] showvolume filter memory leak
On 4/24/2022 6:25 AM, Bang He wrote: why do you use nut format? i think that is not popular. Why do you say that? Popular doesn't mean technically better or appropriate to the task (please do not top-post on this list) z! ___ 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".
Re: [FFmpeg-user] lavfi-preview
hwo to run it On Wed, Mar 30, 2022 at 7:53 PM Paul B Mahol wrote: > Hello, > > I would like to inform you about the new tool, located here: > > https://github.com/richardpl/lavfi-preview > > It is GUI filtergraph editor and foremost ffmpeg's libavfilter filtergraph > preview tool. > > It is in early stage, but already functional. > > Regards > ___ > 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".
Re: [FFmpeg-user] showvolume filter memory leak
On Sun, Apr 24, 2022 at 3:25 PM Bang He 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 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 wrote: > > > > > On Tue, Apr 19, 2022 at 12:15 PM ramon 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 > wrote: > > > > > > > > > On Mon, Apr 18, 2022 at 8:13 PM Paul B Mahol > > wrote: > > > > > > > > > > > > > > > > > > > > > > > On Mon, Apr 18, 2022 at 7:00 PM ramon 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 > > > > wrote: > > > > > >> > > > > > >> > On Mon, Apr 18, 2022 at 5:32 PM ramon > > 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 > > > > 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 > > > > > >> > > > > f
Re: [FFmpeg-user] How to extract all the pictures but no repeat in an mp4 video file?
what is your meaning of 'repeat '? On Thu, Apr 21, 2022 at 10:29 PM mikelee164396 wrote: > I want to extract all the pictures in an mp4 video file , but don't repeat > it. How to implement it with ffmpeg? > > > ___ > 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".
Re: [FFmpeg-user] showvolume filter memory leak
why do you use nut format? i think that is not popular. On Sat, Apr 23, 2022 at 7:06 AM ramon 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 wrote: > > > On Tue, Apr 19, 2022 at 12:15 PM ramon 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 wrote: > > > > > > > On Mon, Apr 18, 2022 at 8:13 PM Paul B Mahol > wrote: > > > > > > > > > > > > > > > > > > > On Mon, Apr 18, 2022 at 7:00 PM ramon 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 > > > wrote: > > > > >> > > > > >> > On Mon, Apr 18, 2022 at 5:32 PM ramon > 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 > > > 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.o