OtherCrashOverride / c2play

Command line video player for Odroid C2
GNU General Public License v2.0
42 stars 72 forks source link

Gapless looping #23

Open LibanHassan opened 7 years ago

LibanHassan commented 7 years ago

Is it possible to achieve looping without the flash of a black screen when replaying a video?

OtherCrashOverride commented 7 years ago

I did look into "seamless looping" but it turned out to be non-trivial; therefore, at this time I have no plans to implement the feature. In addition to software considerations, the video stream also needs to be "perfect" so that it starts with a keyframe appropriate for the codec and ends "cleanly" with regard to the bitstream.

OtherCrashOverride commented 7 years ago

I should also note that there is a kernel configuration that may help with this: CONFIG_GE2D_KEEP_FRAME

Rebuilding the kernel with that configuration enabled should cause the video display to persist the last frame displayed. I have not used it so can not say for certain if its of any benefit or compiles properly.