[FFmpeg-user] out of memory

Arachnia asdfg1945 at gmail.com
Fri Apr 11 07:59:57 CEST 2014


When I converted a rtsp stream to ts and m3u8, I found that memory used by
ffmpeg grow up continuously and process was killed by kernel at last.
Maybe a memory overflow?

My command is 

ffmpeg -f s16le -i /dev/zero -f rtsp -rtsp_transport tcp -i
'rtsp://192.168.0.12:554/rtsptest' -vcodec libx264 -tune zerolatency -crf 25
-b:v 64k -s 352x288 -profile:v baseline -pix_fmt yuv420p -acodec aac -b:a 1k
-ar 22050 -strict -2 -flags -global_header -map 0 -map 1 -f segment
-segment_time 10 -segment_list_size 2 -segment_list test.m3u8
-segment_list_type m3u8 -segment_format mpegts 240p%08d.ts

Output is normal.

system log:
Apr 11 11:36:29 Crtmp kernel: Out of memory: Kill process 8704 (ffmpeg)
score 940 or sacrifice child
Apr 11 11:36:29 Crtmp kernel: Killed process 8704, UID 0, (ffmpeg)
total-vm:6047156kB, anon-rss:3747432kB, file-rss:2392kB

ffmpeg version: 2.1.4

Anything help?



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/out-of-memory-tp4664742.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list