unosquare / ffmediaelement

FFME: The Advanced WPF MediaElement (based on FFmpeg)
https://unosquare.github.io/ffmediaelement/
Other
1.17k stars 240 forks source link

how to set the video PlaybackStartTime and PlaybackEndTime #454

Closed qinjianzhanqing closed 4 years ago

qinjianzhanqing commented 4 years ago

1、how to set the video PlaybackStartTime and PlaybackEndTime;NOW,This property is read-only。 2、The other two videos can fade in and out when switching.

mariodivece commented 4 years ago

Sorry, these values are derived from what FFmpeg reads about the media that was loaded. I can't make those writable as there is logic that depends on those being correct. I would suggest you clone the code and experiment with writing to those values. I certainly don't recommend it. Why not use the playback position property to execute your custom code?