I am trying to create a oneliner to create the following DASH content:
- 3 periods of 9.6s each
- exact period bondaries by using 1.92s segments with video@25fps and audio@48000hz

```
gpac -graph \
 -i avgen:dur=30:sr=48000:ch=2:#ClampDur=9.6:#PStart=0.000:FID=P0S0 \
    reframer:xs=0.000:SID=P0S0#audio @ ffenc:c=aac:FID=P0A0 \
    reframer:xs=0.000:SID=P0S0#video @ ffenc:c=avc:fintra=1.920:FID=P0V0 \
 -i avgen:dur=30:sr=48000:ch=2:#ClampDur=9.6:#PStart=9.6:FID=P1S0 \
    reframer:xs=9.6:SID=P1S0#audio @ ffenc:c=aac:FID=P1A0 \
    reframer:xs=9.6:SID=P1S0#video @ ffenc:c=avc:fintra=1.920:FID=P1V0 \
 -i avgen:dur=30:sr=48000:ch=2:#ClampDur=9.6:#PStart=19.2:FID=P2S0 \
    reframer:xs=19.2:SID=P2S0#audio @ ffenc:c=aac:FID=P2A0 \
    reframer:xs=19.2:SID=P2S0#video @ ffenc:c=avc:fintra=1.920:FID=P2V0 \
 -o tmp/3periods.mpd:segdur=1.920:cmaf=cmfc:stl:SID=P0A0,P0V0,P1A0,P1V0,P2A0,P2V0
```

The result is not as expected, I get:
```
[avgen] Error removing pid
[avgen] TypeError: not a function

Failed to connect filter reframer PID audio to filter avgen: Bad Parameter
```
Of course the MPD should look appropriately (e.g. when using a file input, I currently get a tailing entry e.g.):
```
    <SegmentTimeline>
     <S t="0" d="83968" r="1"/>
     <S d="1024"/>
    </SegmentTimeline>
```
trying to create a oneliner for DASH multiple-period (avgen source)
This is a GitHub Issue
repo:gpac
owner:gpac
Title : trying to create a oneliner for DASH multiple-period (avgen source)
Issue date:

--- start body ---
I am trying to create a oneliner to create the following DASH content:
- 3 periods of 9.6s each
- exact period bondaries by using 1.92s segments with video@25fps and audio@48000hz

```
gpac -graph \
 -i avgen:dur=30:sr=48000:ch=2:#ClampDur=9.6:#PStart=0.000:FID=P0S0 \
    reframer:xs=0.000:SID=P0S0#audio @ ffenc:c=aac:FID=P0A0 \
    reframer:xs=0.000:SID=P0S0#video @ ffenc:c=avc:fintra=1.920:FID=P0V0 \
 -i avgen:dur=30:sr=48000:ch=2:#ClampDur=9.6:#PStart=9.6:FID=P1S0 \
    reframer:xs=9.6:SID=P1S0#audio @ ffenc:c=aac:FID=P1A0 \
    reframer:xs=9.6:SID=P1S0#video @ ffenc:c=avc:fintra=1.920:FID=P1V0 \
 -i avgen:dur=30:sr=48000:ch=2:#ClampDur=9.6:#PStart=19.2:FID=P2S0 \
    reframer:xs=19.2:SID=P2S0#audio @ ffenc:c=aac:FID=P2A0 \
    reframer:xs=19.2:SID=P2S0#video @ ffenc:c=avc:fintra=1.920:FID=P2V0 \
 -o tmp/3periods.mpd:segdur=1.920:cmaf=cmfc:stl:SID=P0A0,P0V0,P1A0,P1V0,P2A0,P2V0
```

The result is not as expected, I get:
```
[avgen] Error removing pid
[avgen] TypeError: not a function

Failed to connect filter reframer PID audio to filter avgen: Bad Parameter
```
Of course the MPD should look appropriately (e.g. when using a file input, I currently get a tailing entry e.g.):
```
    <SegmentTimeline>
     <S t="0" d="83968" r="1"/>
     <S d="1024"/>
    </SegmentTimeline>
```
--- end body ---
