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

Luca Abeni lucabe72
Sat Dec 19 18:56:43 CET 2009


On Sat, 2009-12-19 at 15:42 +0100, Michael Niedermayer wrote:
[...]
> > > and both fail if the user uses 2 seperate processes to stream the 2 streams?
> > 
> > You mean, two separate ffmpeg processes? Yes, in this case the streams
> > will have the same PT (although I would not use the word "fail" in this
> > case :).
> > Unless we implement a way to allow the user to explicitly set the
> > AVStream.id to a specific value (I wanted to implement this feature in
> > ffmpeg.c, but I decided to go for a simpler approach in a first patch).
> > 
> > If, instead, you use your own application then you can explicitly set
> > AVStream.id to the desired value in the application, and using 2
> > separate processes will not be a problem.
> 
> If you simply use 96 for video and 97 for audio it would work with 2 ffmpeg
> processes
> does this have a problem i miss?

I think it's perfectly fine. I do not know if Sergiy (the original patch
poster) has some additional requirement I am not aware of, but in my
opinion this solution is ok.

I'll wait some days, and then I'll commit your proposal. If there will
be additional requirements, we will see how to address them.


			Thanks,
				Luca




More information about the ffmpeg-devel mailing list