door_player 0.2.7

Door Player, Cross by ffmpeg and egui
Documentation
door_player-0.2.7 has been yanked.

player

Door player is cross-platform and simple, it is a good project for learning rust egui ffmpeg  

Features:

  1. Play mp4/mkv video file
  2. Embedded subtitle
  3. Fast forward by the Packet(not support rewind)
  4. Fast forward by the Frame(not support rewind)
  5. Next/Pre file
  6. Keyboard
    • Space/Click-left -> toggle play or pause
    • Esc -> Close
    • Double Click/F1 -> toggle Full Screen
    • → Arrow Left -> Fast forward packets/frames/milliseconds
    • ← Arrow Right -> Fast rewind milliseconds
    • ↑ Arrow Up -> Volume up (planning)
    • ↓ Arrow Down -> Volume down (planning)
  7. Other

build

ffmpeg
sdl2

Ubuntu

sudo apt install libass-dev libsdl2-dev libavdevice-dev

see ffmpeg

clone the ffmpeg cd ffmpeg // --enable-libass --enable-avfilter : add filter subtitles ./configure --enable-gpl --enable-static --enable-libass --enable-avfilter --enable-libx264 --enable-pic --enable-ffplay --enable-decoder=pcm* make -j16 && sudo make install && sudo make uninstall

see

egui-video(player) First version of door player is base on this project
small-player
ffmpeg-cpal-play-audio
stainless-ffmpeg
ffplay源码分析
ffplay源码分析4-音视频同步
ffplay
ffmpeg
ffmpeg播放器
学习如何使用 FFmpeg 打造自己的播放器
将音视频时钟同步封装成通用模块
FFmpeg 入门(5):视频同步