Re: zvbi-atsc-cc device node conflict

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

 



2010/4/17 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>:
> On Fri, Apr 16, 2010 at 7:19 PM, David Liontooth <lionteeth@xxxxxxxxxx> wrote:
>> I'm using a HVR-1850 in digital mode and get good picture and sound using
>>
>>  mplayer -autosync 30 -cache 2048 dvb://KCAL-DT
>>
>> Closed captioning works flawlessly with this command:
>>
>> zvbi-atsc-cc -C test-cc.txt KCAL-DT
>>
>> However, if I try to run both at the same time, I get a device node
>> conflict:
>>
>>  zvbi-atsc-cc: Cannot open '/dev/dvb/adapter0/frontend0': Device or resource
>> busy.
>>
>> How do I get video and closed captioning at the same time?
>
> To my knowledge, you cannot run two userland apps streaming from the
> frontend at the same time.  Generally, when people need to do this
> sort of thing they write a userland daemon that multiplexes.
> Alternatively, you can cat the frontend to disk and then have both
> mplayer and your cc parser reading the resulting file.
>

Usually there is some way, for ex. command line option,
how to say to "second" app that frondend is already locked.
Then second app simply skips tuning at all.

Rest processing is made using demux and dvr devices,
so there is not reason why 2 apps should tune in same
time.

/Honza
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux