[linux-dvb] problems capturing analog and digital at the same
time with lifeview trio
hartmut.hackmann at t-online.de
Thu Sep 7 00:33:06 CEST 2006
Nico Sabbi wrote:
> Hartmut Hackmann wrote:
>> So MythTV doesn't allow to choose the video format?
>> A solution might be to suppress the planar formats on hybrid and duo
>> The mechanism normally is that the application asks the driver which
>> it supports (VIDIOC_G_FMT). We could reduce the list either
>> - with an insmod option
>> - or simply by the fact that the card supports MPEG (DVB) streaming.
>> But this would reduce the capabilities of the card and i don't know
>> there are cases where only planar formats work, either due to the
>> or due to the overlay mechanism.
>> Can anybody comment on this?
>> Best regards
> I think that removing some sample formats tout-court is a bad idea, because
> resampling from yuy2 to yv12 for compressing to mpeg* is very likely to
> quality and introduce slowdowns; if it were possible to remove planar
> only when a dvb capture is running the situation would be more reasonable;
> anyway, training the user about what he can and should do is is best
> option IMO.
Yv12 is a planar format. Thats another argument why i originally didn't do
Its not so easy but possible to "block" the planar formats dynamically in
the driver but i am afraid this won't work in practice:
If i had to write a tv application, i would query the device capabilities
in the beginning of the session and assume these to be fixed afterwards.
A compromise might be a combination of the options: block the planar formats
by default but restore the current behaviour with an insmod option.
Anyway, thanks a lot for your comments.
More information about the linux-dvb