[FFmpeg-devel] [PATCH] mp4a-latm rtp output & dynamic payload type from URL

Sergiy piratfm
Thu Dec 17 16:50:50 CET 2009


2009/12/17 Luca Abeni <lucabe72 at email.it>:
> Hi,
>
[...]
> I am wondering if it is possible to set the AVStream.id in ffmpeg.c,
> similarly
> to what you do with oc->file_index.

AVStream.id starts from zero for every file output, but in our case,
we have many file outputs and each have only 1 stream.
So that's why additional field added to AVFormatContext.

I think that this parameter may be useful for other muxers/outputs.
Here is simplified and fixed patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rtp-output-dynamic-payload.patch
Type: text/x-diff
Size: 2995 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091217/8170dc2d/attachment.patch>



More information about the ffmpeg-devel mailing list