Thread: Loop Delay
View Single Post
  #2 (permalink)  
Old 28th September 2007
J7N's Avatar
J7N J7N is offline
Senior Member
BS.Player Power User
Join Date: Feb 2006
Location: Cyberspace
Posts: 762
Rep Power: 0
J7N is an unknown quantity at this point
Default Re: Loop Delay

I don't think it's possible with DirectShow. Only the best audio players can do this with sound. I've yet to see a good alternative video player.

However, I've managed to loop a clip using AviSynth. It is a good video editing language. You will need a lot of memory though and a CPU considerably faster than required for normal playback. So Pentium 2 will not do.

vid = DirectShowSource("Richard_Dean_Anderson_Trailer_1.mkv")
Here I looped a vid three times around starting on frame 75 and ending on 1525. I've cut the clip to check for the pause. You can use -1 to loop almost infinite times and omit the starting and ending frame numbers.
Reply With Quote

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20