As a workaround 0 is returned as duration for such videos. See also https://github.com/TeamNewPipe/NewPipe/issues/8034