Le duodi 2 nivôse, an CCXXV, James Almer a écrit :
> This patch made audio encoding extremely slow.
> 
> time ./ffmpeg -i INPUT.wav -c:a tta -f null -
> 
> Before
> size=N/A time=00:00:22.98 bitrate=N/A speed= 373x
> video:0kB audio:1272kB subtitle:0kB other streams:0kB global headers:0kB 
> muxing overhead: unknown
> real    0m0.089s
> user    0m0.000s
> sys     0m0.000s
> 
> After
> size=N/A time=00:00:22.98 bitrate=N/A speed=2.29x
> video:0kB audio:1272kB subtitle:0kB other streams:0kB global headers:0kB 
> muxing overhead: unknown
> real    0m10.087s
> user    0m0.015s
> sys     0m0.000s
> 
> CPU usage for the latter is almost zero during the entire 10 seconds. And it 
> can be reproduced
> with pretty much any encoder.

Yes, thanks. This is the glitch I am currently working on, and I think
it is almost fixed cleanly. Note that the actual time is still very
small, it is only ffmpeg keeps thinking the filter is not ready and
sleeping.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

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

Reply via email to