Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] ANNOUNCE: bitstreamout 0.48 (Audio loop through sound card)



Hi,

     just released the new version 0.48 of the bitstreamout plugin.
See http://bitstreamout.sourceforge.net/ for download.
New features are:

   *   MP2 support (many thanks to Sven Goethel!!)
       This requires an installed libmad with headers!
   *   Usage of STC (also many thanks to Sven)
   *   DTS support even in Live Mode (No tested, but
       some swedish radio stations on hotbird may use DTS)
   *   New scanner for PES frames (replay and live)
   *   Better synchronization (at least Sat1, ZDF and Pro7
       are in synch with a CMI8738 based soundcard and
       a Pioneer VSA-E07) ... nevertheless if Audio data stream
       is late in comparision with Video data stream there is no
       way to jump back.

The docs seems to be uptodate (INSTALL, PROBLEMS, and vdr-bitstreamout.5).

     Werner

ChangeLog:
---------------------------------------------------------------
Tue Nov 24 21:34:35 CET 2003 - werner

- Get docs uptodate.
- Use compile time switches for newer ALSA versions.
- Add some workarounds against initial hw soundbuffer underrun.
- Add protection against mad driving realtime thread.
- Fix remaining bugs

---------------------------------------------------------------
Tue Nov 18 15:31:30 CET 2003 - werner

- First try to integrate Svens MP2 part.

---------------------------------------------------------------
Tue Nov 11 10:00:00 CEST 2003 - sven

- shm_malloc as non_root (Olaf Titz)
- Make.arch cleanup (Werner) 
- added shm usage hint in INSTALL
- added werners patches (2003-11-11)
- needs vdr >= 1.2.6pre6 - no more extra STC patch !

---------------------------------------------------------------
Tue Nov 02 10:00:00 CEST 2003 - sven

- finished analysing the a/v sync problema:
	- we have no chance in live mode to sync,
	  'cause our receiver _might_ receive audio packets
	  too late - all the time (about 5-70ms).
	  	- there is no kinda "prefetch" thing ..
	- only in playback/transfer mode, we are in sync !
	- so we skip all actions to stay in sync
		
- patch dvbplayer.c,transfer.h and transfer.c with:
	vdr-1.2.6-mp2PlayAudio-v4.diff
  - this one is a bug fixed one
  - now you can select 2 + 1 audio streams (2 audio + 1 dolby)
  - dolby is now again the very first default audio, if available !
  - transfer mode uses the same logic as dvbplayer now !

---------------------------------------------------------------
Tue Oct 30 12:25:00 CEST 2003 - sven

- modified cDevice::getSTC
	- added argument ePidType
	- added protected method cDevice::GetPidHandle
	- just apply the patch
	     vdr-1.2.6-device-getSTC-v2.diff
- temp. removed "sleeping" or "skip" action
- live-view (channels.c): moved mp2->pcm decoding to play site..
- learned, that a "delay" of < -300 is really in sync, see replay!
- achive about -5 .. -30 delay .. nearly in sync
- removed obsolete mp2.h, mp2.c
- to see PTS delays just edit pts.h and activate debug_pts

---------------------------------------------------------------
Tue Oct 27 02:06:00 CEST 2003 - sven

- introducing getSTC in device:
	vdr-1.2.6-device-getSTC.diff
  to achieve the stream time counter (stc) timestamp,
  to support a/v sync
- pts is now using stc .. currently only in channels.
- switch delay to _zero_, to make pts able to sync ..

---------------------------------------------------------------
Tue Oct 27 02:06:00 CEST 2003 - sven

- pts process action is off (commented out), 'cause we have to
  wait for a solution, where the dvb driver will tell us,
  the correct just played timestamp ..
- introducing MP2 switch enable/disable
	- meaningfull if you have a S/P Dif loop through

---------------------------------------------------------------
Tue Oct 22 02:06:00 CEST 2003 - sven

- update dvd plugin to vdr-dvd-0.3.4-rc6
- take better care of case than more then one audio streams
  appears .. the 1st one wins ..
- recording playback (dvbplayer), to use MP2/AC3 properly,
  patch dvbplayer.c with:
	dvbplayer.1.2.6pre2-mp2PlayAudiov2.diff
  - this one is a bug fixed one
  - now you can select 2 + 1 audio streams (2 audio + 1 dolby)
- added cPlayer audio track selection within main menu as well
- moved PTS processing into pts.h, where it belongs
- added abstraction of decoder -> AnyDecoder
- replay uses cPTS::process as well ..

---------------------------------------------------------------
Tue Oct 20 20:06:00 CEST 2003 - sven

- added audio pid selection in main menu
	- if used and selected != vdr_selection,
	  further vdr_selections (apid) is blocked
- shm_malloc
	- new malloc offering flags argument
- using shm_malloc with SHM_SHARED flag -> mmap works.
- removed a deadlock spdif::Clear(exit==true) if mmap is used
- bugfixed PTS usage
	- respecting the ptsflag 
	- trying a new pts_diff, time_diff calc .. (??)
- mp2 hardsync fixed

---------------------------------------------------------------
Tue Oct 20 05:06:00 CEST 2003 - sven

- Added mp2 -> pcm decoding
	- Using libmad 
		- mp2_decoder.[ch]
	- LiveView (channels.c) with an "observer" thread 
	  to know if AudioSwitch has happen.
	- player's, dvd, ..., first audio stream's tracknumber win's
	- recordings (dvbplayer), to use MP2 patch dvbplayer.c:
		dvbplayer.1.2.6pre-mp2PlayAudio.diff
	- using PTS information (using pts.h now), 
	  currently only audio_pts < now (audio is too late)
	  looks like to work .. -> skip mp2 packages 
	  earlier PTS infos are ignored ..

- cPTS::done() fix 
	- adding "gettimeofday(&ts, 0);" at the end ..

- added a whole lot of debug statements to debug ;-)
  and as a little documentation ..

- changed threading lockings
	- cInStream will be detached by super destructor
	- added more test_flag checks
	- all while(test_flag(RUNNING)) deactivators,
          check if the thread is really running at last 
	- ...

- Added little MainMenu ..
	- on/off
	- Mp2Dither ..
	- delay
	- audio track info in title, of channel

---------------------------------------------------------------
Tue Oct 14 17:03:23 CEST 2003 - werner

- Better overrun handling in S/P-DIF interface
- Fix soft float handling

---------------------------------------------------------------
Tue Oct 14 13:06:00 CEST 2003 - werner

- Fix new skip feature for overflow handling
- Remove initial RUNNING check for stopping Action threads
- Use unsigned long for flags to help new compilers

---------------------------------------------------------------
Mon Oct 13 17:30:50 CEST 2003 - werner

- Reorder some scripts, code and create a new tool xlist
  and audio.sh for debugging various mpeg2 streams.
- Use skip indicator instead of usleep to ensure that
  Receive and Play return as fast as possible to main VDR.

---------------------------------------------------------------
Tue Okt 12 04:39:01 CEST 2003 - sven goethel

the following changes enables me to use this nice plugin 
stable and flawless with the dvd plugin and under heavy load:

- Introduced locked shared memory for the ringbuffer.
  The advantage should be to force the memory within RAM,
  and to increase the buffer to: KILOBYTE(16*64)
  Since then .. i can listen to LiveTV + 3 transfer mode:
       - 2 x recording
       - 1 transfer to view
- Added ACTIVEDEBUG macro to enable DEBUG_ACTIVE, 
  for debugging purposes
- Activate(false) will continue, if (!test_flag(RUNNING)),
  the former goto out; result in a deadlock (dvd ..)
  on heavy buffer overflow ..
- cBounce::store(...) returns boolean, true if successfull,
  false if buffer overflow.
  if store fails, the usage within cReplayOutAC3::Play 
  and cInStream::Receive does a 5ms sleep 
  to protect against overloading ..

---------------------------------------------------------------


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index