[Libav-user] LIBAV rtmp params

Georg Stein georg_stein at t-online.de
Mon Jun 22 19:06:48 CEST 2015


Hello,
i'm a little bit confused how to set for an rtmp stream params like or
swfveryfication. When its compiled with rtmpdump lib suport this works
with by example
ffmpeg -i "rtmp://aloha.cdnvideo.ru:443/aloha/ziktv
swfUrl=http://www.aloha.cdnvideo.ru/aloha/slon/SlonPlayer_stable.swf
live=1" -c copy "../zik.flv"

but libav is giving me here only this:
Detected librtmp style URL parameters, these aren't supported by the
libavformat internal RTMP handler currently enabled. See the
documentation for the correct way to pass parameters.

i could not find in the docu how i have to hand over this.

could only find this in the protcoll sources:

{"live", "live stream", 0, AV_OPT_TYPE_CONST, {-1}, 0, 0, DEC, "rtmp_live"},
      {"recorded", "recorded stream", 0, AV_OPT_TYPE_CONST, {0}, 0, 0,
DEC, "rtmp_live"},
      {"rtmp_pageurl", "URL of the web page in which the media was
embedded. By default no value will be sent.", OFFSET(pageurl),
AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC},
     {"rtmp_swfurl", "URL of the SWF player. By default no value will be
sent", OFFSET(swfurl), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC|ENC},
     {"rtmp_swfverify", "URL to player swf file, compute hash/size
automatically.", OFFSET(swfverify), AV_OPT_TYPE_STRING, {.str = NULL },
0, 0, DEC},
     {"rtmp_tcurl", "URL of the target stream. Defaults to
proto://host[:port]/app.", OFFSET(tcurl), AV_OPT_TYPE_STRING, {.str =
NULL }, 0, 0, DEC|ENC},
      {"rtmp_playpath", "Stream identifier to play or to publish",
OFFSET(playpath), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC|ENC},

so perhaps somebody can help me here

Georg


More information about the Libav-user mailing list