Hi,


I am using ffmpeg record a video from a webcam, but the memory usage is very 
high, and keeps increasing with video length.

For example, I use an embedded device with 64 MB of RAM, and when I recorded a 
30 minute video, I was left with 2MB of RAM in the last minutes of the 
recording.

I used valgrind to check for memory leaks, but I only found a 24 byte leak when 
the program finishes. Is this memory consumption expected for ffmpeg?

This is the ffmpeg command I used:

ffmpeg -f video4linux2 -s 320x240 -t 00:00:10 -i /dev/video0 out.mpg

Regards,
---
Guilherme de Oliveira Costa
Firmware Engineer - Autotrac Comercio Telecomunicacoes
www.autotrac.com.br<http://www.autotrac.com.br/>
guilherme.oliveira(at)autotrac.com.br
Phone: +55 61 3307 7000 (Extension 2665)


Esta mensagem e qualquer anexo a ela s?o documentos confidenciais e 
direcionados exclusivamente ao(s) destinat?rio(s). Qualquer uso, desvio, 
sonega??o, supress?o, revela??o ou divulga??o n?o autorizada ? proibida e 
sujeita ?s san??es e/ou repara??es legais por ato il?cito (C?digo Penal, 
Artigos 151 e 152). Caso n?o seja um dos destinat?rios expressamente indicados, 
por favor entre em contato com o remetente, respondendo este e-mail e destrua 
quaisquer c?pias da mensagem original. Qualquer opini?o, cr?tica ou an?lise 
descrita nesta mensagem ? de responsabilidade ?nica do remetente, a menos 
quando estiver explicitamente expresso que seja da empresa remetente.

This message and any attachment are confidential information for the sole use 
of the intended recipients. Any unauthorized use, deviation, withholdment, 
suppression, disclosure or distribution is prohibited and is subjected to legal 
sanctions and/or compensations per illicit act (Penal Code, articles 151 and 
152). If you are not one of the intended recipients, please contact the sender 
by reply e-mail and destroy any copy of the original message. Any view, comment 
or analysis expressed in this message is sole responsibility from the sender, 
except when it's specifically expressed that it's the view, comment or analysis 
of the company.

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to