Mailing List archive

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

[vdr] Re: bitstreamout 0.48pre7, no compile with gcc 2.95



On Mon, Nov 10, 2003 at 09:29:14PM +0100, Frederick Page wrote:
> Hi Werner,
> 
> Dr. Werner Fink wrote on Mon, Nov 10 2003:
> 
> >>Is there already a working/stable version for vdr 1.2.5? I tried
> >>several 0.48pre and got none of them working :-/
> 
> >0.46h works for AC3 but without MP2 support. This is how I
> >use it.
> 
> Thank you very much. I might try that later. Since I wanted mp2/AC3
> without the need of switching analog/digital all the time,

;^)  ... if you switch in software between `mp2->PCM' and `AC3'
or between the PCM loop through mode of your sound card and
`AC3' is simply the same.  But the HW solution is much better
in sync and does not require any CPU time because the ARM and
the HW MP2 decoder on the DVB card do the work.  The bitstreamout
plugin switches the sound card automatically into `AC3' mode if
AC3 data arrive.  And switches back the sound card into loop through
mode for the data received from the S/P-DIF pin of the DVB card
(`Mp2Enable off' and S/P-DIF out of DVB card connected to
 S/P-DIF in of sound card).

>                                                            I got
> vdr-1.2.6pre6 today and tried to build the latest bitstreamout
> 0.48pre7, seems to be impossible on my system:
> 
> bitstreamout Version 0.48pre7
> g++ -O2 -pipe -mpreferred-stack-boundary=2 -march=i686 -funroll-loops -Wall -Woverloaded-virtual -pthread -fPIC -DPIC -c -DPLUGIN_NAME_I18N='"bitstreamout"' -D_GNU_SOURCE  -I/usr/local/src/vdr-1.2.6pre6/include -I/usr/local/src/DVB/include
> -I/usr/include/alsa channel.c
> channel.c: In method `void cInStream::ScanTSforPS1(const unsigned char *, int)':/usr/local/src/vdr-1.2.6pre6/include/vdr/device.h:201: `enum cDevice::ePidType cDevice::ptVideo' is protected
> channel.c:391: within this context
> channel.c: In method `int cInStream::DigestMP2(const uint_8 *, int)':
> /usr/local/src/vdr-1.2.6pre6/include/vdr/device.h:201: `enum cDevice::ePidType cDevice::ptVideo' is protected
> channel.c:525: within this context
> channel.c: In method `void cInStream::ScanTSforPS1(const unsigned char *, int)':channel.c:390: warning: `uint64_t devSTC' might be used uninitialized in this function
> channel.c: In method `int cInStream::DigestMP2(const uint_8 *, int)':
> channel.c:458: warning: `uint64_t devSTC' might be used uninitialized in this function
> make: *** [channel.o] Error 1
> 
> It's Debian stable with gcc/g++ 2.95, I also tried gcc/g++ 3.0, no
> luck either :-/ I even tried to compile gcc 3.3.2, I had 1.2 GB
> free space on my HD, but gcc complained during install "no space left
> on device" :-(

Sorry, I do not use Debian.  Maybe there is a gcc 3.3.2 available
in the unstable tree of Debian.  Also this part of bitstreamout
and VDR is in progress nad the work flow AFAIK isn't finished ;^)


      Werner


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



Home | Main Index | Thread Index