gerno.blogg.se

Ffmpeg copy avframe
Ffmpeg copy avframe








I haven't done this mod particularly seriously, it would require the newer ffmpeg to include this. But, the input was correctly resampled to use left, centre, right, and added the surround channels into the left and right appropriately. I'm not using the multi-channel audio mod in 2.0.4 and I lack the hardware to try that anyway.

  • I tested the multi channel audio sample.
  • Previously I could not record to disk at all on this hardware (in debug build config). I can now use ffmpeg to bring in 4 - 5 SD h264 videos, + USB camera, Flash and record h264 to disk with no dropped frames.

    ffmpeg copy avframe

    Again, faster but less noticable than the above. 2 year old i5, 8G RAM, strictly ordinary HDD. swresampler (with newer AVFrame audio decode also) is faster.

    ffmpeg copy avframe

    Since our conversation the other day on IRC I've: I found that the new decode api and the swresampler was much much faster (in debug build) when compared with the 2.0.3 in debug build. I wasn't able to dig enough to determine exactly why this would be, but seeing as I'm using a newer ffmpeg library I switched out the audio implementation to use the new AVFrame decode api, and also the swresampler audio resampler. I've found the audio decode to be really slow in my debug build configuration, much less so in the release build. Some notes for the forum following on from our irc chat the other day.










    Ffmpeg copy avframe