[FFmpeg-user] fMP4 generation speed

Ronak ronak2121 at yahoo.com
Wed Jun 27 17:14:19 EEST 2018



> On Jun 27, 2018, at 1:50 AM, Carl Zwanzig <cpz at tuunq.com> wrote:
> 
> On 6/26/2018 9:20 PM, Ronak wrote:
>> The temp files are made in the CWD. And they are constantly created and
>> destroyed for every single fragment it seems. I looked into the ffmpeg
>> code and it looks like every single method in hlsenc and dashenc opens
>> and closes these file handles.
>> I would like to make modifications to the code to fix it, but it's hard
>> to follow exactly which methods to modify.
> First thing I'd look at doing is to create the temp files in /tmp (*nix) or /temp (windoze); just that and a memory file system for /tmp would do wonders for throughput. Admittedly, it's not a real solution.
> 
> Past that, I suspect that any other change to use memory buffers instead of files will be a more structural change. If I have a chance, I'll look at the code tomorrow.
> 
> (z wonders why the code's author thought this was a good idea...)
> 
> Later,
> 
> z!

Ok great thanks Carl!


> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list