Hi Kyle,
I'm interested in the same your problem. Did you find some informations
about correct audio/video interleaving?
Thanks and bye
Claudio
On Nov 26, 2007 6:29 AM, Kyle Mallory <
[hidden email]> wrote:
> I'm trying to write a generic encoder (generic = encode multiple
> formats, codecs), but am using dv/dvvideo as my current test codec.
>
> Borrowing code from ffmpeg.c and apiexample.c, I am generating a sample
> buffer of size avctx->frame_size * sample_size * numchannels.
>
> However, pcm_encode_init():107 sets avctx->frame_size = 1.
>
> What should the frame-size for dv/pcm_s16le be, and how can I calculate
> the correct frame-size for different codecs?
>
>
> Also, are there any good examples/tutorials/documentation on how to
> write interleaved frames when encoding? I've search everywhere and can
> only seem to find the occasional example of encoding video or encoding
> audio, but nothing that encodes both, and uses libavformat to interleave
> them together.
>
>
> thanks,
>
> Kyle
> _______________________________________________
> ffmpeg-user mailing list
>
[hidden email]
>
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user