@lex
post at 2016-1-7 06:40:25
Fritz,
The reason i get artifacts on pink (not purple) screen is because i'm running on OPI Plus 2 ( 2 GB RAM)!
It runs fine on OPI-PC and also runs fine with VDPAU 0.7 (H265 removed) on previous mplayer version.
If anyone could help finding the right ion memory config, please, be my guest!
@lex
@lex
post at 2016-1-9 05:49:58
Can you tell if you get sound output to hdmi while using mpv?
I have sndhdmi working but cannot get sound output (hdmi and pcm) with mpv or mplayer, alsa is working when tested, any suggestion?
tokka
post at 2016-1-9 18:06:01
@ @alex: have you looked at /etc/mplayer/mplayer.conf ?
may be the default audio ouput is set to oss.
jemk
post at 2016-1-9 18:45:49
@lex (and others too), please report such libvdpau-sunxi issues at github. They usually can be fixed easily and everyone will be happy, but I don't want to dig through all the different *pi forums to find them.
https://github.com/linux-sunxi/libvdpau-sunxi/
@lex
post at 2016-1-9 21:30:47
jemk replied at 2016-1-9 07:45
@lex (and others too), please report such libvdpau-sunxi issues at github. They usually can be fixed ...
Thank you jemk, i just opened the issue there.
@lex
post at 2016-1-9 21:37:53
tokka replied at 2016-1-9 07:06
@ @alex: have you looked at /etc/mplayer/mplayer.conf ?
may be the default audio ouput is set to oss ...
Hi Tokka,
The sndhdmi is working as expected:
aplay -D hw:1 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
humm, maybe is user permission issue? I don't have /etc/mplayer. Anything else i should check? By the way, you have sound output to hdmi?
mplayer -fs -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, bbb_sunflower_1080p_30fps_normal.mp4
MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team
Cannot open file '/home/ubuntu/.mplayer/input.conf': No such file or directory
Failed to open /home/ubuntu/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing bbb_sunflower_1080p_30fps_normal.mp4.
Detected file format: QuickTime / MOV (libavformat)
stream 0: video (h264), -vid 0
stream 1: audio (mp3), -aid 0, -alang und
stream 2: audio (ac3), -aid 1, -alang und
Clip info:
major_brand: isom
minor_version: 1
compatible_brands: isomavc1
creation_time: 2013-12-16 17:44:39
title: Big Buck Bunny, Sunflower version
artist: Blender Foundation 2008, Janus Bager Kristensen 2013
comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
genre: Animation
composer: Sacha Goedegebure
Load subtitles in .
VE version 0x1680 opened.
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
Selected audio codec: MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
AO: 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VIDEO:1920x108030.000 fps2998.7 kbps (374.8 kB/s)
VO: 1920x1080 => 1920x1080 H.264 VDPAU acceleration
Failed to get display FPS
VIDEO:1920x108030.000 fps2998.7 kbps (374.8 kB/s)
VO: 1920x1080 => 1920x1080 H.264 VDPAU acceleration
Failed to get display FPS
Presentation time not supported
A: 2.4 V: 2.4 A-V: -0.000 ct: -0.000 0/0 73% 12%3.6% 12 0
Exiting... (Quit)
tokka
post at 2016-1-11 09:11:08
Edited by tokka at 2016-1-11 09:12
Yes, ihave hdmi sound...but i have only op A20 :$
Are you using a self compiled mplayer, or the default one?
BTW, try to make an "input.conf" file in .mplayer folder (/home/ubuntu/.mplayer/input.confor /etc/mplayer/input.conf)and try to paste in it
ao=pulse,alsa,sdl:aalib and check if it works.
here is my mplayer.conf if you wanna give a look
#
# MPlayer configuration file
#
# Configuration files are read system-wide from /etc/mplayer/mplayer.conf
# and per user from ~/.mplayer/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
#
# The configuration file settings are the same as the command line
# options without the preceding '-'.
#
# See the CONFIGURATION FILES section in the man page
# for a detailed description of the syntax.
##################
# video settings #
##################
# Specify default video driver (see -vo help for a list).
# vo=xv,x11
# FBdev driver:
#
# mode to use (read from fb.modes)
#fbmode = 640x480-120
#
# location of the fb.modes file
#fbmodeconfig = /etc/fb.modes
# Specify your monitor timings for the vesa and fbdev video output drivers.
# See /etc/X11/XF86Config for timings. Be careful; if you specify settings
# that exceed the capabilities of your monitor, you may damage it.
#
# horizontal frequency range (k stands for 1000)
#monitor-hfreq = 31.5k-50k,70k
#
# vertical frequency range
#monitor-vfreq = 50-90
#
# dotclock (or pixelclock) range (m stands for 1000000)
#monitor-dotclock = 30M-300M
# Start in fullscreen mode by default.
fs=yes
# Change to a different videomode when going fullscreen.
#vm=yes
# Override the autodetected color depth, may need 'vm=yes' as well.
#bpp=0
# Enable software scaling (powerful CPU needed) for video output
# drivers that do not support hardware scaling.
#zoom=yes
# standard monitor size, with square pixels
#monitoraspect=4:3
# Use this for a widescreen monitor, non-square pixels.
#monitoraspect=16:9
# Keep the player window on top of all other windows.
#ontop=yes
##################
# audio settings #
##################
# Use pulse, then alsa, then SDL video with the aalib subdriver by default.
ao=pulse,alsa,sdl:aalib
# Use SDL audio driver with the esd subdriver by default.
#ao = sdl:esd
# Specify the mixer device.
#mixer = /dev/mixer
# Resample the sound to 44100Hz with the lavcresample audio filter.
#af=lavcresample=44100
##################
# other settings #
##################
stop-xscreensaver=yes
# Joystick input is disabled because of issues on some laptops(thinkpad).
joystick=no
# Pretend to be Window Media Player.
# Fixes playback when playlist and media file use the same URL.
#user-agent=NSPlayer/4.1.0.3856
# Drop frames to preserve audio/video sync.
#framedrop = yes
# Specify your preferred skin here (skins are searched for in
# /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>).
#skin = Abyss
# Resample the font alphamap.
# 0 plain white fonts
# 0.75very narrow black outline (default)
# 1 narrow black outline
# 10 bold black outline
#ffactor = 0.75
# cache settings
#
# Use 8MB input cache by default.
cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50
# DVD: Display English subtitles if available.
#slang = en
# DVD: Play English audio tracks if available.
#alang = en
###################
# DVDNAV Settings #
###################
#vc=ffmpeg12,
# You can also include other configuration files.
#include = /path/to/the/file/you/want/to/include
@lex
post at 2016-1-15 07:33:20
tokka replied at 2016-1-10 22:11
Yes, ihave hdmi sound...but i have only op A20
Are you using a self compiled mplayer, or the de ...
@Tokka,
I tried your conf without success, no hdmi sound output.
Since this has nothing to do with video decoding i will stop here, but i would like to hear somenone that has hdmi sound output fully working on H3.
@lex
tokka
post at 2016-1-15 16:12:03
@ @lex,
have you tried as user and as root too? both give you the same result?
Tk
atlury
post at 2016-5-14 11:58:31
does the VDPAU implementation support encoding of h.264?