Benjamin Zores wrote:
A quick look on the mplayer svn, you have already implemented pvr://, is
it finished? Cool if it works.
There is a small bug in stream_pvr.c, line 805
/* get current audio input */
if (ioctl (pvr->dev_fd, VIDIOC_G_AUDIO, &vaudio) == 0)
{
vaudio.index = input; //#805
if (ioctl (pvr->dev_fd, VIDIOC_ENUMAUDIO, &vaudio) < 0)
{
mp_msg (MSGT_OPEN, MSGL_ERR,
"%s can't get ENUMAUDIO input %d (%s).\n", LOG_LEVEL_V4L2,
input, strerror (errno));
the vaudio structure has already been initialized and setting the index
to input is not correct as is using the vin.index value.
If my understanding of this message thread is correct the only way to
get audio out of a PVR is to encode the audio as a mpeg stream and send
it to /dev/video16.
What I haven't tried but it would be interesting to know is can the
Hauppauge Windows radio application send audio out of the card to the
9-pin din connector. It if can then there must be another way of sending
audio streams through the card other than as a mpeg stream. Just a thought.
Duncan
> On Sun, 23 Jul 2006 23:28:53 +0200
> Hans Verkuil <[EMAIL PROTECTED]> wrote:
>> n Sunday 23 July 2006 12:42, Benjamin Zores wrote:
>>
>>> On Wed, 12 Jul 2006 23:28:43 +0200
>>>
>>> Benjamin Zores <[EMAIL PROTECTED]> wrote:
>>>
>>>> On Wed, 12 Jul 2006 22:00:17 +0200
>>>>
>>>> Hans Verkuil <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> The sound on the audio out of the PVR350 is output by the MPEG
>>>>> decoder of the card. There is no way of feeding it a separate
>>>>> audio uncompressed (or compressed for that matter) stream. You
>>>>> give it a MPEG program stream (I'm not even sure if it can handle
>>>>> a transport stream) and it will demultiplex and uncompress it and
>>>>> put the audio on the audio out connector.
>>>>>
>>>> Ok, btw, which formats are supported by the decoder ?
>>>> MPEG PES only ?
>>>>
>>>> What about AC3, MPEG1 audio, MPEG2 audio or LPCM ?
>>>>
>>> Sorry to insist but same question again.
>>> My ao/vo driver for MPlayer are almost working (fine for vo, ao needs
>>> a bit more tweaking). Does the card supports h/w decoding of AC3/LPCM
>>> ?
>>>
>> I've never tested it but I'm 99% certain that it isn't supported. Only
>> MPEG1/2 audio is supported.
>>
>
> That's also what i've feared.
> I've tried sending nearly any combination of AC3/LPCM packets but none seemed
> to be readable.
> I now need to write an MPEG audio transcoder then.
>
>
>>> Can someone point me to decoder's specifications or properties ?
>>>
>> The cx23415/6 driver is reversed engineered, no official datasheets are
>> available. The reversed engineered documentation is available in the
>> doc directory of the driver (you probably want the fw-decoder-api.txt
>> file).
>>
>
> Well i wasn't looking for datasheet, just information on what the chip is
> supposed to handle.
> Anyhow, thanks a lot.
>
> Ben
>
>
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel