Skip to content

Commit d541476

Browse files
committed
upd video player
1 parent 35865a9 commit d541476

File tree

7 files changed

+232
-110
lines changed

7 files changed

+232
-110
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Video player
2+
A Flipper Zero application to play video files (with sound). Uses custom video file format. Is proven to work at 30 FPS and 44100 Hz audio sample rate with full 128 by 64 pixels resolution. Maximum video length is limited only by your SD card capacity (at least it works with 6 hours long video). Supports fast forward, rewind and pause. Obeys device's stealth mode.
3+
4+
See github repo to find the guide for how to convert video files.

non_catalog_apps/video_player/application.fam

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ App(
66
cdefines=["APP_VIDEO_PLAYER"],
77
stack_size=2 * 1024,
88
order=90,
9-
fap_version=(0, 1),
10-
fap_description="An app that plays video along with sound on Flipper Zero.",
11-
fap_author="LTVA",
9+
fap_version=(0, 2),
10+
fap_description="An app that plays video along with sound on Flipper Zero.",
11+
fap_author="LTVA",
1212
fap_weburl="https://github.com/LTVA1/flipper_video_player",
13-
fap_icon="video_player.png",
14-
fap_icon_assets="images",
13+
fap_icon="video_player.png",
14+
fap_icon_assets="images",
1515
fap_category="Media",
1616
)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Video Player v0.2 #
2+
3+
## Added ##
4+
- Rewind and fast forward with right and left arrow keys respectively
5+
- Obey device's stealth mode
6+
- If horizontal resolution is less that 128 pixels video is centered on the screen
7+
8+
# Video Player v0.1 #
9+
10+
- Initial release

non_catalog_apps/video_player/init_deinit.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ void deinit_player(VideoPlayerApp* player) {
6161
free(player->buffer);
6262
}
6363

64+
if(player->fake_audio_buffer) {
65+
free(player->fake_audio_buffer);
66+
}
67+
6468
furi_pubsub_unsubscribe(player->input, player->input_subscription);
6569

6670
player->canvas = NULL;
Loading

0 commit comments

Comments
 (0)