[FFmpeg-user] High memory usage when merging videos

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Dec 19 14:20:07 EET 2016


2016-12-19 13:02 GMT+01:00 Jonathan Girven <jonathan.girven at trickbook.com>:
>> A patch that I believe is a prerequisite for the improvement was
>> just committed:
>> http://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-December/103759.html
>
> Thanks for letting me know. I assume by "prerequisite for the
> improvement" there are still more changes to come

Yes.

Not necessarily related:

>   configuration:

> --target-os=linux

I guess this is wrong.

> --enable-cross-compile
> --cc=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
> --nm=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm
> --disable-shared --enable-static
> --enable-zlib

These look unneeded.

> --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/
> --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/

Looks duplicated.

> --extra-cflags='-I/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a/include

> -O3 -fPIE -pie -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm

Why?
If this is useful, it should probably be added to our configure script
by default.
If it is not useful, you should remove it.

> -march=armv7-a'

I would have expected the "--cpu" option instead.

> --disable-ffplay --disable-ffprobe --disable-ffserver

--disable-programs --enable-ffmpeg may be simpler

> --disable-outdevs --disable-decoders

You may want to look at --disable-everything
Its definition is something like "allow ffmpeg cli compilation but
disable as many optional parts as possible".

Carl Eugen


More information about the ffmpeg-user mailing list