- Scamp AV Player -
AVAILABLE NOW FREE AT THE PI STORE
Author: Matt Kimball
Release Date: April 1st, 2014
Dependencies: Python (2.7), omxplayer, ffmpeg, figlet, wmctrl
Also uses python module pexpect
(packaged with a precompiled known-good version to avoid the need to install pip and python 2.6 on top of 2.7)
Scamp, or Simple Console Amp, is a text-based UI for omxplayer, allowing mouse input by using creative asciiart for buttons and sliders. This approach works through SSH as well, so you can remote control your PI's media playback the same as you would in front of it.
Why text mode? Aside from general awesomeness, it's also very fast and easy on the processor, it has a certain nostalgic charm, and it works through console output so it's available from X or just from the default prompt. Scamp typically loads in less than a second and has an CPU overhead of just 0.3%
- Playlist -
Tested up to 11k entries, no problem.
- Shuffle -
Shuffles-in-place so you can see whats up next
- Fullscreen toggle -
Works during playback by switching to a smaller window that draws over X desktop, or showing the ui behind the current video outside of X. You specify this output window in ~/.scamp/scamp.config (first line)
- Progress Bar with Clickable Seek-
A must for picking up where you left off
- Volume Bar with overdrive protection
( + ) button will raise audio up to maximum non-adjusted level, (++) will overdrive it beyond that level
- Language Selection for videos with multiple audio streams
um, no not really...*click*
- Directory Crawling
Just type 'play' or 'scamp' from any folder with media and it will add it all into a playlist. Searches sub directories too
Open Pi Store.
Search for 'Scamp' or find it in the apps section and click "Download". It will be installed, watch the status window for prompts to install / update dependencies.
Right click one or more selected files in X's file manager. Select 'Open with', 'Sound/Video', 'Scamp'. If you select 'always use' option you can double click media to open it. Be careful opening multiple file extensions at once like this, you must use 'open with' in this case so PCManFM doesn't try to open multiple Scamp windows.
Go to a folder with media in a terminal window. Type 'play' (or 'scamp') and it hit enter. Additionally you may place a filename after play to specify which specific file you want to play.
----------------------------------------- ----------------------------------------- -----------------------------------------
Some known issues:
When using Scamp outside X, the display is slightly different since there is no 'underline' available. Its still pretty easy to get around but it looks a little different. Also the windowed mode output window covers up some of the controls in some resolutions, and the mouse doesnt work so you have to use shortcuts. For mouse support, use Scamp from X (for now). Or through Putty/SSH. Putty will transmit mouse events just fine, its on by default.
The playlist is really lacking in functionality right now. There's no editing it, or searching/filtering, and these are glaring omissions being dealt with asap. Soon you will be able to reorder, add/remove, sort and filter the playlist.
One user has experienced an issue with an extremely old raspberry pi setups. That issue went away when they updated to a more recent NOOBS/Raspbian. If you experience an issue where upon exit the display seems frozen and what you type does not show up on screen, please say something on the forum and describe your setup as well as possible. It relates to how stdout is restored to the terminal when Curses shuts down, for some reason older Raspbians have some kind of issue the author was not able to reproduce. If this happens please note your system isn't frozen. typing 'sudo reboot' (enter) will reboot as expected.
Editing a config file feels like a less-than-optimal way to adjust the windowed output location. Working on other options now including a helper window and a two click system of specifying location.
Running multiple Scamps at once is not recommended (for now). If you encounter a runaway Scamp (keeps progressing through media playback even though it appears closed), you may find the following useful:
Code: Select all
killall python killall omxplayer killall omxplayer.bin