[FFmpeg-user] Running out of RAM when copying 1080p H264 stream
Tom Holmes
tom at kamahi.com
Sat Jun 30 23:20:07 EEST 2018
Hi,
I'm trying to copy an H264 1920x1080 video only stream from a USB camera
and save to microSD using an OpenWRT based MT7688 SoC Microprocessor
(Onion Omega2+ 128MB RAM). This works fine for up to 1280x720 (roughly
2.9Mb/s) but when I increase resolution the os kills ffmpeg due to RAM. I
can successfully copy the mjpeg stream at 1280x720 (around 30Mb/s) but
again any higher resolution gets killed. I would have thought that if the
mjpeg stream works, then the much lower bitrate H.264 stream would work
fine. Any hints on how to get around this? Command line options to try?
Hoping to avoid cross compiling but that's the backup plan.
Thanks,
Tom
More information about the ffmpeg-user
mailing list