- --- omxplayer.cpp.orig
- +++ omxplayer.cpp
- @@ -153,3 +153,33 @@
- - printf(
- -#include "help.h"
- + printf("Usage: omxplayer [OPTIONS] [FILE]\n");
- + printf("Options :\n");
- + printf(" -h / --help print this help\n");
- + printf(" -k / --keys print key bindings\n");
- + printf(" -n / --aidx index audio stream index : e.g. 1\n");
- + printf(" -o / --adev device audio out device : e.g. hdmi/local\n");
- + printf(" -i / --info dump stream format and exit\n");
- + printf(" -s / --stats pts and buffer stats\n");
- + printf(" -p / --passthrough audio passthrough\n");
- + printf(" -d / --deinterlace deinterlacing\n");
- + printf(" -w / --hw hw audio decoding\n");
- + printf(" -3 / --3d mode switch tv into 3d mode (e.g. SBS/TB)\n");
- + printf(" -y / --hdmiclocksync adjust display refresh rate to match video (default)\n");
- + printf(" -z / --nohdmiclocksync do not adjust display refresh rate to match video\n");
- + printf(" -t / --sid index show subtitle with index\n");
- + printf(" -r / --refresh adjust framerate/resolution to video\n");
- + printf(" -g / --genlog generate log file\n");
- + printf(" -l / --pos n start position (in seconds)\n");
- + printf(" --boost-on-downmix boost volume when downmixing\n");
- + printf(" --vol n Set initial volume in millibels (default 0)\n");
- + printf(" --subtitles path external subtitles in UTF-8 srt format\n");
- + printf(" --font path subtitle font\n");
- + printf(" (default: /usr/share/fonts/truetype/freefont/FreeSans.ttf)\n");
- + printf(" --font-size size font size as thousandths of screen height\n");
- + printf(" (default: 55)\n");
- + printf(" --align left/center subtitle alignment (default: left)\n");
- + printf(" --lines n number of lines to accommodate in the subtitle buffer\n");
- + printf(" (default: 3)\n");
- + printf(" --win \"x1 y1 x2 y2\" Set position of video window\n");
- + printf(" --audio_fifo n Size of audio output fifo in seconds\n");
- + printf(" --video_fifo n Size of video output fifo in MB\n");
- + printf(" --audio_queue n Size of audio input queue in MB\n");
- + printf(" --video_queue n Size of video input queue in MB\n");
- - );
- --- omxplayer.cpp.orig
- +++ omxplayer.cpp
- @@ -160,3 +160,21 @@
- - printf(
- -#include "keys.h"
- + printf("Key bindings :\n");
- + printf(" 1 decrease speed\n");
- + printf(" 2 increase speed\n");
- + printf(" z show info\n");
- + printf(" j previous audio stream\n");
- + printf(" k next audio stream\n");
- + printf(" i previous chapter\n");
- + printf(" o next chapter\n");
- + printf(" n previous subtitle stream\n");
- + printf(" m next subtitle stream\n");
- + printf(" s toggle subtitles\n");
- + printf(" d decrease subtitle delay (- 250 ms)\n");
- + printf(" f increase subtitle delay (+ 250 ms)\n");
- + printf(" q exit omxplayer\n");
- + printf(" p / space pause/resume\n");
- + printf(" - decrease volume\n");
- + printf(" + / = increase volume\n");
- + printf(" left arrow seek -30 seconds\n");
- + printf(" right arrow seek +30 seconds\n");
- + printf(" down arrow seek -600 seconds\n");
- + printf(" up arrow seek +600 seconds\n");
- - );