Skip to content

Instantly share code, notes, and snippets.

@haggaie
Created May 10, 2012 04:46
Show Gist options
  • Save haggaie/2651077 to your computer and use it in GitHub Desktop.
Save haggaie/2651077 to your computer and use it in GitHub Desktop.
Script I use to show Wii input on mplayer using an easycap device, and connecting audio directly to line-in.
#!/bin/bash
AMIXER="amixer -q"
$AMIXER -c0 set Line unmute
/usr/bin/mplayer tv:// -tv driver=v4l2:norm=PAL_BGHIN:width=853:height=480:outfmt=uyvy:device=/dev/video1:input=0:fps=25:immediatemode=1 -hardframedrop -aspect 16:9
$AMIXER -c0 set Line mute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment