Hello everyone,
I am currently having trouble in getting ffplay running with Ubuntu Core and my Raspberry Pi.
I get my snap compiled and ffplay is running but it does not output the video to hdmi (just shows the video in the console).
I’ve attached by snapcraft.yaml and it would be fantastic if you could advice me in what I need to configure in order to get ffplay to output to hdmi.
Thanks a lot
Versions:
snap 2.32.8
snapd 2.32.8
series 16
kernel 4.4.0-1090-raspi2
snapcraft.yaml
name: ffmpeg
version: 0.1.6
summary: ffmpeg test
description: ffmpeg test
grade: devel
confinement: devmode
apps:
ffmpeg:
command: bin/ffmpeg
plugs: [home]
ffplay:
command: bin/ffplay
plugs: [pulseaudio, process-control, alsa, network]
parts:
ffmpeg:
source: git://source.ffmpeg.org/ffmpeg.git
source-tag: n2.8.14
plugin: autotools
configflags:
- --disable-ffprobe
- --enable-gpl
- --enable-libass
- --enable-libfreetype
- --enable-libmp3lame
- --enable-libopus
- --enable-libtheora
- --enable-libvorbis
- --enable-libvpx
- --enable-libx264
- --enable-libx265
- --enable-nonfree
build-packages:
- autoconf
- automake
- build-essential
- cmake
- g++
- git
- libass-dev
- libfreetype6-dev
- libmp3lame-dev
- libopus-dev
- libsdl1.2-dev
- libtheora-dev
- libtool
- libva-dev
- libvdpau-dev
- libvorbis-dev
- libvpx-dev
- libx264-dev
- libx265-dev
- libxcb-shm0-dev
- libxcb-xfixes0-dev
- libxcb1-dev
- make
- pkg-config
- texinfo
- yasm
- zlib1g-dev
- libsdl2-dev
ffmpeg-launcher:
plugin: dump
source: ffmpeg/scripts
organize:
'ffplay': bin/
'ffmpeg': bin/
after: [ffmpeg]