Allow selecting tv standard for v4l from the web frontend
I'm using tvheadend in Argentina, where our tv standard is pal/n - pal/nc.
Right now to get it working, I change line ~170 in v4l.c from
v4l2_std_id std = 0xff;
v4l2_std_id std = V4L2_STD_PAL_Nc;
It would be great to be able to set this from the web. Would you please add this as an option?
I'd love to be able to offer a patch but would have to learn quite a bit to do it, and I guess this shouldn't be hard at all for someone who knows the framework used.
#1 Updated by Hein Rigolo over 1 year ago
Could you not set the required video standard as a module option when the kernel module is loaded?
maybe you can use modinfo -p to see if that is possible for your kernel module.
Or run a v4l2-ctl command during boot to set this, before tvheadend is started?
Also keep in mind that tvheadend has some support for analog video, but it is not as robust as the digital parts.