Skip to content

Instantly share code, notes, and snippets.

@DustinAlandzes
Created April 21, 2017 02:02
Show Gist options
  • Save DustinAlandzes/d0cbbff04cbac3e0d9903904caac37b3 to your computer and use it in GitHub Desktop.
Save DustinAlandzes/d0cbbff04cbac3e0d9903904caac37b3 to your computer and use it in GitHub Desktop.
omxplayer -p -o hdmi --win 'x1 y1 x2 y2' FILENAME.wmv
#-o --adev device Audio out device : e.g. hdmi/local/both/alsa[:device]
#-p --passthrough Audio passthrough
# --win 'x1 y1 x2 y2' Set position of video window
# --aspect-mode type Letterbox, fill, stretch. Default: stretch if win is specified, letterbox otherwise
# --dbus_name name default: org.mpris.MediaPlayer2.omxplayer
@DustinAlandzes
Copy link
Author

mplayer -geometry 640x480+0+0 FILENAME.wmv

-geometry width x height + x-position + y-position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment