Play video using ffmpeg.
This package uses these following programs, make sure these program are added to your path.
Base on ffplay
's website.
ffplay is a very simple and portable media player using the FFmpeg libraries and the SDL library. It is mostly used as a testbed for the various FFmpeg APIs.
Hence, I have encounter some issues synchronize video and audio. Try move the
timeline by pressing <left>
or <right>
key multiple times could resolve
such a issue.
You can play the video by calling function ffmpeg-player-video
.
(ffmpeg-player-video (expand-file-name "./test/1.avi"))
And here is the control of the media.
- space - Pause/Unpause.
- up - Increase volume by 5.
- down - Decrease volume by 5.
- left - Backward timeline 10 seconds.
- right - Forward timeline 10 seconds.
- m - Mute/Unmute.
- r - Replay.
- Play youtube video through url.
If you would like to contribute to this project, you may either clone and make pull requests to this repository. Or you can clone the project and establish your own branch of this tool. Any methods are welcome!