It seems to have worked with the following avisynth script
a = FFAudioSource("video.mkv")
v = FFVideoSource("video.mkv",fpsnum=30000, fpsden=1001)
AudioDub(v,a)
Trim(32478,40605)
But the manual for FFMS2 is surely lacking, figuring out what fpsnum and fpsden actually does i had to google around as the manual entry was too complex:
"fpsnum & fpsden: For VFR -> CFR conversion. Setting fpsnum <= 0 means a 1:1 relation with the encoded frames."
Though I'm not sure how much i like one of the known problems listed on FFMS2:
- There will appear decoding artifacts on h264 in transport streams.
But I'm pleased not having to demux the video and audio from the mkv file anymore
