[Libav-user] Writing Audio AVPacket without resampling
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Mar 19 20:01:21 EET 2020
Am Do., 19. März 2020 um 18:57 Uhr schrieb
<sebastian.wichmann at karlsruhe-it-solutions.com>:
>
> Hello,
> I’m trying to record the microphone on windows via dshow and ffmpeg in real time.
>
> The problem is, my code is to slow.
>
>
>
> At the moment I get a
>
> AVPacket
> Resample it
> And write it to a file
>
>
>
> The codec is unimportant for me at this stage of the program.
>
>
>
> So is it possible to write the received AVPacket to a mp4 file?
Did you try to write pcm_s16be?
Carl Eugen
More information about the Libav-user
mailing list