Stas Oskin wrote:
Hi.
I'm trying to produce Real-Player compatible stream, and noticed that it
only working when I manually editing the SDP and adding the config
parameter.
For example - this file works with Real-Player:
[...]
The only difference seems to be the used profile-level, and the config line,
which AFAIK related to in-bound/out-bound (global_flag in FFMPEG) data.
Can anyone say, how to force FFMPEG to produce the first version of SDP -
with config (out-band?) data?
Just set CODEC_FLAG_GLOBAL_HEADER in the "flags" field of the
AVCodecContext structure for your video encoder.
If you use the "ffmpeg" program, add "-vglobal" to your command line.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user