Documents updates.

This commit is contained in:
Johns 2012-01-02 15:27:03 +01:00
parent 3b7688b78b
commit 4301718329
3 changed files with 63 additions and 14 deletions

View File

@ -1,4 +1,10 @@
User johns User johns
Date:
Fix bug: needed down sampling of 3/5/6 to 2 channels not reported.
Search audio sync inside PES packets, for insane dvb streams.
Use only the needed number of surfaces.
Date: Thu Dec 29 19:44:43 CET 2011 Date: Thu Dec 29 19:44:43 CET 2011
Release Version 0.1.4 Release Version 0.1.4

View File

@ -1,6 +1,6 @@
@file README.txt @brief A software HD output device for VDR @file README.txt @brief A software HD output device for VDR
Copyright (c) 2011 by Johns. All Rights Reserved. Copyright (c) 2011, 2012 by Johns. All Rights Reserved.
Contributor(s): Contributor(s):
@ -20,14 +20,20 @@ $Id$
A software and GPU emulated HD output device plugin for VDR. A software and GPU emulated HD output device plugin for VDR.
o Video VA-API/VA-API o Video VA-API/VA-API (with intel, nvidia and amd backend supported)
o Video CPU/VA-API
o Video VDPAU/VDPAU
o Video CPU/VDPAU
o planned: Video VA-API/Opengl o planned: Video VA-API/Opengl
o planned: Video VDPAU/Opengl
o planned: Video CPU/Xv o planned: Video CPU/Xv
o planned: Video CPU/Opengl o planned: Video CPU/Opengl
o planned: Software Deinterlacer o planned: Software Deinterlacer
o planned: Video XvBA/XvBA
o Audio FFMpeg/Analog o Audio FFMpeg/Analog
o Audio FFMpeg/Digital o Audio FFMpeg/Digital
o planned: HDMI/SPDIF Passthrough o planned: HDMI/SPDIF Passthrough
o planned: OSS support
To compile you must have the 'requires' installed. To compile you must have the 'requires' installed.
@ -58,23 +64,31 @@ Install:
make VDRDIR=<path-to-your-vdr-files> LIBDIR=. make VDRDIR=<path-to-your-vdr-files> LIBDIR=.
Setup: environment Setup: environment
------
Following is supported: Following is supported:
DISPLAY=:0.0 DISPLAY=:0.0
x11 display name x11 display name
only if alsa is configured
ALSA_DEVICE=default ALSA_DEVICE=default
alsa PCM device name alsa PCM device name
ALSA_MIXER=default ALSA_MIXER=default
alsa control device name alsa control device name
ALSA_MIXER_CHANNEL=PCM ALSA_MIXER_CHANNEL=PCM
alsa control channel name alsa control channel name
only if oss is configured
OSS_AUDIODEV=/dev/dsp
oss dsp device name
OSS_MIXERDEV=/dev/mixer
oss mixer device name
Setup: /etc/vdr/setup.conf Setup: /etc/vdr/setup.conf
------
Following is supported: Following is supported:
softhddevice.Deinterlace = 0 softhddevice.Deinterlace = 0
0 = bob, 1 = weave, 2 = temporal, 3 = temporal_spatial, 4 = software 0 = bob, 1 = weave, 2 = temporal, 3 = temporal_spatial, 4 = software
(only 0, 1 supported) (only 0, 1 supported with vaapi)
softhddevice.MakePrimary = 1 softhddevice.MakePrimary = 1
0 = no change, 1 make softhddevice primary at start 0 = no change, 1 make softhddevice primary at start
@ -85,9 +99,13 @@ Setup: /etc/vdr/setup.conf
softhddevice.AudioDelay = 0 softhddevice.AudioDelay = 0
+n or -n ms +n or -n ms
Warning:
--------
libav is not supported, expect many bugs with it.
Requires: Requires:
--------- ---------
media-video/ffmpeg media-video/ffmpeg (version >=0.7)
Complete solution to record, convert and stream audio and Complete solution to record, convert and stream audio and
video. Includes libavcodec. video. Includes libavcodec.
http://ffmpeg.org http://ffmpeg.org
@ -104,7 +122,7 @@ Requires:
x11-libs/vdpau-video x11-libs/vdpau-video
VDPAU Backend for Video Acceleration (VA) API VDPAU Backend for Video Acceleration (VA) API
http://www.freedesktop.org/wiki/Software/vaapi http://www.freedesktop.org/wiki/Software/vaapi
or untested or
x11-libs/xvba-video x11-libs/xvba-video
XVBA Backend for Video Acceleration (VA) API XVBA Backend for Video Acceleration (VA) API
http://www.freedesktop.org/wiki/Software/vaapi http://www.freedesktop.org/wiki/Software/vaapi
@ -116,7 +134,7 @@ Requires:
x11-libs/xcb-util-keysyms x11-libs/xcb-util-keysyms
X C-language Bindings library X C-language Bindings library
http://xcb.freedesktop.org http://xcb.freedesktop.org
Only versions >= 0.3.8 are supported Only versions >= 0.3.8 are good supported
x11-libs/libX11 x11-libs/libX11
X.Org X11 library X.Org X11 library

41
Todo
View File

@ -1,3 +1,23 @@
@file Todo @brief A software HD output device for VDR
Copyright (c) 2011, 2012 by Johns. All Rights Reserved.
Contributor(s):
License: AGPLv3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
$Id: $
missing: missing:
video out with xv video out with xv
video out with opengl video out with opengl
@ -13,7 +33,8 @@ missing:
disable window cursor disable window cursor
vdpau: vdpau:
1080i with temporal spatial too slow GT 520 1080i with temporal spatial and level 1 scaling too slow with GT 520
1080i with temporal spatial too slow with GT 520 on some channels
VdpPreemptionCallback handling VdpPreemptionCallback handling
libva-intel-driver: libva-intel-driver:
@ -28,7 +49,6 @@ libva-vdpau-driver:
-> vaDestroyContext -> pthread_rwlock_wrlock) -> vaDestroyContext -> pthread_rwlock_wrlock)
libva-xvba-driver: libva-xvba-driver:
mpeg1/2 needs software decoder fixed
x11: x11:
support resize of x11 window support resize of x11 window
@ -38,14 +58,19 @@ x11:
disable cursor disable cursor
audio/alsa: audio/alsa:
video/audio asyncron done? video/audio asyncron
FIXED? random crash in av_parser_parse2, when switching channels random crashes in av_parser_parse2, when switching channels
sometimes alsa hangs
playback of >2 channels on 2 channel hardware better downmix of >2 channels on 2 channel hardware
done? remix support of unsupported sample rates
libav supports only resample of mono to 2 channels
ffmpeg didn't support resample of 5 to 2 channels
CodecAudioOpen can fail "can't open audio codec" and does Fatal exit.
insufficient thread locking around avcodec_open/close()
on some channels it takes long time until sound can be heared. audio/oss:
this channels has packet start not at the beginning of the start packet add and write oss support
playback of recording playback of recording
play back is too fast play back is too fast