- Notifications
You must be signed in to change notification settings - Fork5
jcs-elpa/ffmpeg-player
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Play video using ffmpeg.
This package will output video into images (in frame). This might causesmany I/O times and disk space (Even though these frames will eventually getcleaned up). I would like to mention you all the information and consequencesbefore you use this package.
Seemelpa/6560 for more information.
This package uses these following programs, make sure these program are addedto your path.
Base onffplay
's website.
ffplay is a very simple and portable media player using the FFmpeg librariesand 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 thetimeline by pressing<left>
or<right>
key multiple times could resolvesuch an issue.
You can play the video by calling functionffmpeg-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 eitherclone and make pull requests to this repository. Or you canclone the project and establish your own branch of this tool.Any methods are welcome!
To run the test locally, you will need the following tools:
Install all dependencies and development dependencies:
eask install-deps --dev
To test the package's installation:
eask packageeask install
To test compilation:
eask compile
🪧 The following steps are optional, but we recommend you follow these lint results!
The built-incheckdoc
linter:
eask lint checkdoc
The standardpackage
linter:
eask lint package
📝 P.S. For more information, find the Eask manual athttps://emacs-eask.github.io/.
This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.
You should have received a copy of the GNU General Public Licensealong with this program. If not, seehttps://www.gnu.org/licenses/.
SeeLICENSE
for details.
About
Play video using ffmpeg.