It seems like example in [dash-low-latency-live-encoding](https://github.com/gpac/gpac/wiki/dash_low_latency#dash-low-latency-live-encoding) cannot work correctly when simply change input to RTMP. The command I use is:
```
gpac \
        -i rtmp://127.0.0.1:1935/live/test:gpac:rtmp_listen=1:FID=1 \
        ffsws:osize=1920x1080:SID=1 @ enc:c=avc:fintra=1:FID=EV1:b=6m \
        ffsws:osize=1280x720:SID=1 @ enc:c=avc:fintra=1:FID=EV2:b=3m \
        enc:ffc=aac:SID=1:FID=EA:b=128k \
        -o http://127.0.0.1:8080/live.mpd:gpac:SID\=EV1,EV2,EA \
         --hmode=push --profile=live --segdur=1 --cdur=0.1 --asto=0.9
```
`gpac` printed following outputs:
```
[Eval] Undefined constant or missing '(' in 'live'
[aac] Unable to parse option value "live"
[aac] Error setting option profile to value live.
[FFDec] PID audio1 failed to open codec context: Invalid argument
Failed to connect filter ffdmx PID audio1 to filter ffdec: BitStream Not Compliant
Blacklisting ffdec as output from ffdmx and retrying connections
[Eval] Undefined constant or missing '(' in 'live'
[h264] Unable to parse option value "live"
[h264] Error setting option profile to value live.
[FFDec] PID video1 failed to open codec context: Invalid argument
Failed to connect filter ffdmx PID video1 to filter ffdec: BitStream Not Compliant
Blacklisting ffdec as output from ffdmx and retrying connections
[FFEnc] No codecid specified
Failed to connect filter dec_faad:FAAD2 PID audio1 to filter ffenc: Bad Parameter
x264 [error]: invalid profile: live
[libx264] Error setting profile live.
[FFEnc] PID video1 failed to open codec context: Invalid argument
Failed to connect filter ffsws PID video1 to filter ffenc:libx264: Bad Parameter
x264 [error]: invalid profile: live
[libx264] Error setting profile live.
[FFEnc] PID video1 failed to open codec context: Invalid argument
Failed to connect filter ffsws PID video1 to filter ffenc:libx264: Bad Parameter
session last connect error Bad Parameter
Unknown argument "--profile" set but not used by any filter - no matching argument found
Argument "--segdur" was set but not used by any filter
Argument "--cdur" was set but not used by any filter
Argument "--asto" was set but not used by any filter
Filters not connected:
httpout (dst=http://127.0.0.1:8080/live.mpd:gpac:SID=EV1,EV2,EA) (idx=7)
```
I found that this error is wrong parameters was given to `gpac`. I want to know how can I do the same thing by correct command? I have tried many commands. Thank you very much

RTMP input cannot encode in multi-qualitis by using given example
This is a GitHub Issue
repo:gpac
owner:gpac
Title : RTMP input cannot encode in multi-qualitis by using given example
Issue date:

--- start body ---
It seems like example in [dash-low-latency-live-encoding](https://github.com/gpac/gpac/wiki/dash_low_latency#dash-low-latency-live-encoding) cannot work correctly when simply change input to RTMP. The command I use is:
```
gpac \
        -i rtmp://127.0.0.1:1935/live/test:gpac:rtmp_listen=1:FID=1 \
        ffsws:osize=1920x1080:SID=1 @ enc:c=avc:fintra=1:FID=EV1:b=6m \
        ffsws:osize=1280x720:SID=1 @ enc:c=avc:fintra=1:FID=EV2:b=3m \
        enc:ffc=aac:SID=1:FID=EA:b=128k \
        -o http://127.0.0.1:8080/live.mpd:gpac:SID\=EV1,EV2,EA \
         --hmode=push --profile=live --segdur=1 --cdur=0.1 --asto=0.9
```
`gpac` printed following outputs:
```
[Eval] Undefined constant or missing '(' in 'live'
[aac] Unable to parse option value "live"
[aac] Error setting option profile to value live.
[FFDec] PID audio1 failed to open codec context: Invalid argument
Failed to connect filter ffdmx PID audio1 to filter ffdec: BitStream Not Compliant
Blacklisting ffdec as output from ffdmx and retrying connections
[Eval] Undefined constant or missing '(' in 'live'
[h264] Unable to parse option value "live"
[h264] Error setting option profile to value live.
[FFDec] PID video1 failed to open codec context: Invalid argument
Failed to connect filter ffdmx PID video1 to filter ffdec: BitStream Not Compliant
Blacklisting ffdec as output from ffdmx and retrying connections
[FFEnc] No codecid specified
Failed to connect filter dec_faad:FAAD2 PID audio1 to filter ffenc: Bad Parameter
x264 [error]: invalid profile: live
[libx264] Error setting profile live.
[FFEnc] PID video1 failed to open codec context: Invalid argument
Failed to connect filter ffsws PID video1 to filter ffenc:libx264: Bad Parameter
x264 [error]: invalid profile: live
[libx264] Error setting profile live.
[FFEnc] PID video1 failed to open codec context: Invalid argument
Failed to connect filter ffsws PID video1 to filter ffenc:libx264: Bad Parameter
session last connect error Bad Parameter
Unknown argument "--profile" set but not used by any filter - no matching argument found
Argument "--segdur" was set but not used by any filter
Argument "--cdur" was set but not used by any filter
Argument "--asto" was set but not used by any filter
Filters not connected:
httpout (dst=http://127.0.0.1:8080/live.mpd:gpac:SID=EV1,EV2,EA) (idx=7)
```
I found that this error is wrong parameters was given to `gpac`. I want to know how can I do the same thing by correct command? I have tried many commands. Thank you very much

--- end body ---
