Skip to content

Instantly share code, notes, and snippets.

@zoutepopcorn
Last active February 6, 2018 07:39
Show Gist options
  • Save zoutepopcorn/2406d1ff9353bbd5bae2af5ea4646b74 to your computer and use it in GitHub Desktop.
Save zoutepopcorn/2406d1ff9353bbd5bae2af5ea4646b74 to your computer and use it in GitHub Desktop.
FFMPEG
docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Nexus 5" --name android-container butomo1989/docker-android-x86-7.0
netdodo/android-emulator:latest
adb connect 172.17.0.2
adb devices
avd.ini.encoding=UTF-8
abi.type=x86_64
hw.accelerometer=yes
hw.audioInput=yes
hw.battery=yes
hw.cpu.arch=x86_64
hw.dPad=no
hw.device.hash2=MD5:2fa0e16c8cceb7d385183284107c0c88
hw.device.manufacturer=Google
hw.device.name=Nexus 5
hw.gps=yes
hw.keyboard=no
hw.lcd.density=480
hw.mainKeys=no
hw.sdCard=no
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images/android-24/google_apis/x86_64/
tag.display=Google APIs
tag.id=google_apis
skin.path=/root/devices/skins/nexus_5
sudo modprobe v4l2loopback devices=1
gst-launch-1.0 -v multifilesrc location=2.png loop=1 caps="image/png,framerate=30/1" ! pngdec ! videoconvert ! "video/x-raw,format=YUY2" ! v4l2sink device=/dev/video1
rmmod v4l2loopback
modprobe v4l2loopback exclusive_caps=0
v4l2-ctl --all -d /dev/video1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment