[MPlayer-dev-eng] [PATCH] blue back tv feature (automute with no signal)

Vladimir Voroshilov voroshil at gmail.com
Wed May 23 05:04:49 CEST 2007


Hi, All.

Attached patch implements nice feature, already existed in many
software and standalone tvs: auto muting video and audio when no (or
too poor quality)
signal presents. Currently implemented only for v4l and v4l2.
The idea was offered by Karthik Kumar.

Disadvantages:
1. ioctl call overhead (ioctl for getting signal strength is called
from copy_frame, i.e.at least every 1/25 sec for PAL). Is this bad or
not ?
2. pink screen instead on blue one.
3. no apropriate osd  message

(1) i don't know how to solve this.

(2) can be solved building one proper frame (according to selected
pixel format) at init stage and using memcpy instead of memset. I
shall also need a point to different pixel formats specs (to fill
frame with proper color).

(3) i need a hint how to show "no signal" osd  msg all time until
signal will appear.

Opinions? Suggestions about (1)-(3) ?

Please treat this patch as first draft version only ;)

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: automute.diff
Type: application/octet-stream
Size: 3809 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070523/d5a3c7d1/attachment.obj>


More information about the MPlayer-dev-eng mailing list