diff --git a/ChangeLog b/ChangeLog index 70eee1c..d62e543 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ 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 Release Version 0.1.4 diff --git a/README.txt b/README.txt index 3a9b3b7..2807189 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ @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): @@ -20,14 +20,20 @@ $Id$ 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 VDPAU/Opengl o planned: Video CPU/Xv o planned: Video CPU/Opengl o planned: Software Deinterlacer + o planned: Video XvBA/XvBA o Audio FFMpeg/Analog o Audio FFMpeg/Digital o planned: HDMI/SPDIF Passthrough + o planned: OSS support To compile you must have the 'requires' installed. @@ -58,23 +64,31 @@ Install: make VDRDIR= LIBDIR=. Setup: environment +------ Following is supported: DISPLAY=:0.0 x11 display name + only if alsa is configured ALSA_DEVICE=default alsa PCM device name ALSA_MIXER=default alsa control device name ALSA_MIXER_CHANNEL=PCM 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 +------ Following is supported: softhddevice.Deinterlace = 0 0 = bob, 1 = weave, 2 = temporal, 3 = temporal_spatial, 4 = software - (only 0, 1 supported) + (only 0, 1 supported with vaapi) softhddevice.MakePrimary = 1 0 = no change, 1 make softhddevice primary at start @@ -85,9 +99,13 @@ Setup: /etc/vdr/setup.conf softhddevice.AudioDelay = 0 +n or -n ms +Warning: +-------- + libav is not supported, expect many bugs with it. + Requires: --------- - media-video/ffmpeg + media-video/ffmpeg (version >=0.7) Complete solution to record, convert and stream audio and video. Includes libavcodec. http://ffmpeg.org @@ -104,7 +122,7 @@ Requires: x11-libs/vdpau-video VDPAU Backend for Video Acceleration (VA) API http://www.freedesktop.org/wiki/Software/vaapi - or untested + or x11-libs/xvba-video XVBA Backend for Video Acceleration (VA) API http://www.freedesktop.org/wiki/Software/vaapi @@ -116,7 +134,7 @@ Requires: x11-libs/xcb-util-keysyms X C-language Bindings library http://xcb.freedesktop.org - Only versions >= 0.3.8 are supported + Only versions >= 0.3.8 are good supported x11-libs/libX11 X.Org X11 library diff --git a/Todo b/Todo index eaa73fc..c477a6d 100644 --- a/Todo +++ b/Todo @@ -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: video out with xv video out with opengl @@ -13,7 +33,8 @@ missing: disable window cursor 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 libva-intel-driver: @@ -28,7 +49,6 @@ libva-vdpau-driver: -> vaDestroyContext -> pthread_rwlock_wrlock) libva-xvba-driver: - mpeg1/2 needs software decoder fixed x11: support resize of x11 window @@ -38,14 +58,19 @@ x11: disable cursor audio/alsa: - video/audio asyncron - FIXED? random crash in av_parser_parse2, when switching channels + done? video/audio asyncron + random crashes in av_parser_parse2, when switching channels + sometimes alsa hangs - playback of >2 channels on 2 channel hardware - done? + better downmix of >2 channels on 2 channel hardware + 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. - this channels has packet start not at the beginning of the start packet +audio/oss: + add and write oss support playback of recording play back is too fast