From: "Simon Baxter" linuxtv@nzbaxters.com Subject: [vdr] PVRINPUT plugin and "black/cinema bars"
Hi Everyone
My machine has (among others) a PVR-500 dual-channel analog card and I'm running vdr-1.6.0 with pvrinput-2008-07-05.
you should upgrade to our new pvrinput version: http://projects.vdr-developer.org/attachments/download/288/vdr- pvrinput-2010-04-14.tgz see http://projects.vdr-developer.org/repositories/entry/plg-pvrinput/HISTORY
Doesn't matter which aspect ratio I choose, every channel under the PVR-500 displays with black (cinema) bars on the top and bottom of the image.
I am pretty sure that your TV station broadcasts analogue TV not anamorphic, which means it "delivers" the black bars to prevent the aspect ratio of a 16:9 content.
Using the full screen for 16:9 content would result in "egg heads". We call this anamorphic. A 16:9 TV would stretch this; a 4:3 TV screen would need to scale it down (generating the needed bars). At least in Germany analogue broadcastings are never anamorphic. I gues you are using the extern inputs to supply video from a digital receiver? Then it could be anamorphic of course. You would need to tell your digibox that you have a 16:9 TV.
The pvrinput setup-entry "aspect ratio" does not really change the aspect ratio. It is only an ID inside the mpeg which notifies the TV if it is anamorphic or not.
Unfortunately there is no way to detect the incoming signal (Tuner or extern). Therefore it is not possible to automatically choose the right setting.
Any ideas how to remove these?
The driver does not support clipping/cropping. We will always encode the whole capture size. If there is already a bar, it will also be in the encoded stream. You could try to use the zoom mode of your TV.
Plugin setup is as follows: pvrinput.BackupHack = 0 pvrinput.BackupInterval = 30 pvrinput.EnableDigibox = 1 pvrinput.FastChannelChange = 1 pvrinput.RedRemoteDevice = /dev/ledxmit
These setup items have never been in any pvrinput version, so I gues you made patches. Could you provide them to me?
Greets, Martin
you should upgrade to our new pvrinput version: http://projects.vdr-developer.org/attachments/download/288/vdr- pvrinput-2010-04-14.tgz see http://projects.vdr-developer.org/repositories/entry/plg-pvrinput/HISTORY
I am pretty sure that your TV station broadcasts analogue TV not anamorphic, which means it "delivers" the black bars to prevent the aspect ratio of a 16:9 content.
You're right - have checked on an analog input to the TV directly and the bars are there, being sent by the service provider. Damn!
Using the full screen for 16:9 content would result in "egg heads". We call this anamorphic. A 16:9 TV would stretch this; a 4:3 TV screen would need to scale it down (generating the needed bars). At least in Germany analogue broadcastings are never anamorphic. I gues you are using the extern inputs to supply video from a digital receiver? Then it could be anamorphic of course. You would need to tell your digibox that you have a 16:9 TV.
Nope, am using the tuner on-board in the PVR-500.
Unfortunately there is no way to detect the incoming signal (Tuner or extern). Therefore it is not possible to automatically choose the right setting.
Any ideas how to remove these?
The driver does not support clipping/cropping. We will always encode the whole capture size. If there is already a bar, it will also be in the encoded stream. You could try to use the zoom mode of your TV.
This doesn't work either, as the "PC input" setting on my Sony Bravia doesn't allow zooming.
I guess I'm stuck with the bars, unless someone can suggest how to crop in VDR or on the ivtv driver?
Plugin setup is as follows: pvrinput.BackupHack = 0 pvrinput.BackupInterval = 30 pvrinput.EnableDigibox = 1 pvrinput.FastChannelChange = 1 pvrinput.RedRemoteDevice = /dev/ledxmit
These setup items have never been in any pvrinput version, so I gues you made patches. Could you provide them to me?
I'm not actually using these settings now, but was when I was using the analog output from my cable STB and needed PVRINPUT to change the channel using an IR transmitter.
Sorry, but I'm going to have to go through some backups to get this hack - will get back to you....
Simon
Found the original hack (attached).
I additionally made some changes, which I can't find, to add delays between channel numbers as my STB needed "1 2 3" rather than "123" if you get what I mean.
Changes were in redremote.c and something along the lines of:
void cRedRemote::Tune(int channel) { char buf[10]; sprintf(buf,"%d",channel); log(1,"Setting digibox to channel %d",channel); char *p = buf;
/* SBB Fudge */ char txt2[strlen(buf) * 2]; int i = 0; int j = 0; while (i < strlen(buf) - 1) { txt2[j] = buf[i]; i++; j++; txt2[j] = ' '; j++; } txt2[j] = buf[i]; j++; txt2[j] = '\0';
log(0,"SBB Channel Produced by Fudge '%s'",txt2);
Send(txt2); <snip>
Cheers Simon ----- Original Message ----- From: "Simon Baxter" linuxtv@nzbaxters.com To: "VDR Mailing List" vdr@linuxtv.org Sent: Monday, April 26, 2010 10:19 PM Subject: Re: [vdr] PVRINPUT plugin and "black/cinema bars"
you should upgrade to our new pvrinput version: http://projects.vdr-developer.org/attachments/download/288/vdr- pvrinput-2010-04-14.tgz see http://projects.vdr-developer.org/repositories/entry/plg-pvrinput/HISTORY
I am pretty sure that your TV station broadcasts analogue TV not anamorphic, which means it "delivers" the black bars to prevent the aspect ratio of a 16:9 content.
You're right - have checked on an analog input to the TV directly and the bars are there, being sent by the service provider. Damn!
Using the full screen for 16:9 content would result in "egg heads". We call this anamorphic. A 16:9 TV would stretch this; a 4:3 TV screen would need to scale it down (generating the needed bars). At least in Germany analogue broadcastings are never anamorphic. I gues you are using the extern inputs to supply video from a digital receiver? Then it could be anamorphic of course. You would need to tell your digibox that you have a 16:9 TV.
Nope, am using the tuner on-board in the PVR-500.
Unfortunately there is no way to detect the incoming signal (Tuner or extern). Therefore it is not possible to automatically choose the right setting.
Any ideas how to remove these?
The driver does not support clipping/cropping. We will always encode the whole capture size. If there is already a bar, it will also be in the encoded stream. You could try to use the zoom mode of your TV.
This doesn't work either, as the "PC input" setting on my Sony Bravia doesn't allow zooming.
I guess I'm stuck with the bars, unless someone can suggest how to crop in VDR or on the ivtv driver?
Plugin setup is as follows: pvrinput.BackupHack = 0 pvrinput.BackupInterval = 30 pvrinput.EnableDigibox = 1 pvrinput.FastChannelChange = 1 pvrinput.RedRemoteDevice = /dev/ledxmit
These setup items have never been in any pvrinput version, so I gues you made patches. Could you provide them to me?
I'm not actually using these settings now, but was when I was using the analog output from my cable STB and needed PVRINPUT to change the channel using an IR transmitter.
Sorry, but I'm going to have to go through some backups to get this hack - will get back to you....
Simon
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On Mon, Apr 26, 2010 at 12:27 AM, Martin Dauskardt md001@gmx.de wrote:
Doesn't matter which aspect ratio I choose, every channel under the PVR-500 displays with black (cinema) bars on the top and bottom of the image.
I am pretty sure that your TV station broadcasts analogue TV not anamorphic, which means it "delivers" the black bars to prevent the aspect ratio of a 16:9 content.
The 'black bars' are called letterboxing. It's used to _preserve_ the aspect ratio of widescreen content on 4:3 displays, not prevent it as you've suggested.
Unfortunately there is no way to detect the incoming signal (Tuner or extern). Therefore it is not possible to automatically choose the right setting.
Sure there is, just look in the mpeg headers. If for some reason that flag isn't set correctly, you can also use the resolution along with some simple math to calculate the aspect ratio.
Any ideas how to remove these?
The driver does not support clipping/cropping. We will always encode the whole capture size. If there is already a bar, it will also be in the encoded stream. You could try to use the zoom mode of your TV.
You _could_ write some functions to detect and remove letterboxing, though I don't know anyone motivated enough to actually do it.
Cheers
On Mon, 26 Apr 2010 10:27:18 -0700 VDR User user.vdr@gmail.com wrote:
On Mon, Apr 26, 2010 at 12:27 AM, Martin Dauskardt md001@gmx.de wrote:
The driver does not support clipping/cropping. We will always encode the whole capture size. If there is already a bar, it will also be in the encoded stream. You could try to use the zoom mode of your TV.
You _could_ write some functions to detect and remove letterboxing, though I don't know anyone motivated enough to actually do it.
If anyone is they could borrow code from mplayer's cropdetect filter.
My local stations here in the US are doing the reverse on all primary atsc channels. They add bars to the side for anything that is not wide screen to make it wide screen. So 4:3 stuff on my 4:3 tv are in a little window because the software then adds bars top and bottom to put it back to 4:3 :(.
On 4/26/2010 10:27 AM, VDR User wrote:
On Mon, Apr 26, 2010 at 12:27 AM, Martin Dauskardtmd001@gmx.de wrote:
Doesn't matter which aspect ratio I choose, every channel under the PVR-500 displays with black (cinema) bars on the top and bottom of the image.
I am pretty sure that your TV station broadcasts analogue TV not anamorphic, which means it "delivers" the black bars to prevent the aspect ratio of a 16:9 content.
The 'black bars' are called letterboxing. It's used to _preserve_ the aspect ratio of widescreen content on 4:3 displays, not prevent it as you've suggested.
Unfortunately there is no way to detect the incoming signal (Tuner or extern). Therefore it is not possible to automatically choose the right setting.
Sure there is, just look in the mpeg headers. If for some reason that flag isn't set correctly, you can also use the resolution along with some simple math to calculate the aspect ratio.
Any ideas how to remove these?
The driver does not support clipping/cropping. We will always encode the whole capture size. If there is already a bar, it will also be in the encoded stream. You could try to use the zoom mode of your TV.
You _could_ write some functions to detect and remove letterboxing, though I don't know anyone motivated enough to actually do it.
Cheers
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
I demand that Timothy D. Lenz may or may not have written...
My local stations here in the US are doing the reverse on all primary atsc channels. They add bars to the side for anything that is not wide screen to make it wide screen. So 4:3 stuff on my 4:3 tv are in a little window because the software then adds bars top and bottom to put it back to 4:3 :(.
http://www.google.co.uk/search?hl=en&q=%22active+format+descriptor%22
[snip]
That might explain the option to "let program pick" on our converter boxes. But it only sometimes works on PBS. Sooo, guess that's another standard they decided not to use.
On 4/29/2010 9:42 AM, Darren Salt wrote:
I demand that Timothy D. Lenz may or may not have written...
My local stations here in the US are doing the reverse on all primary atsc channels. They add bars to the side for anything that is not wide screen to make it wide screen. So 4:3 stuff on my 4:3 tv are in a little window because the software then adds bars top and bottom to put it back to 4:3 :(.
http://www.google.co.uk/search?hl=en&q=%22active+format+descriptor%22
[snip]