vdr-plugin-xvdr icon indicating copy to clipboard operation
vdr-plugin-xvdr copied to clipboard

Issue: wrong aspect ratio on some channels after commercial break

Open hoppel118 opened this issue 13 years ago • 4 comments

Hey Alex,

sometimes I recognize a wrong aspect ratio when it changes while watching a channel for a longer time.

Example: When I watch the simpsons in 4:3 on Pro7 the aspect ratio is as it should and everything looks nice. But when the commercial break in 16:9 arrives the aspect ratio from the simpons (4:3) is holded.

In earlier versions of xvdr the effect was not as I described in the example. In the past it was like this: Watching the simpsons in 4:3 was fine. But after a correct shown commercial break in 16:9 the simpsons were stretched to the aspect ratio of the commercial break.

I hope you understand what I mean. In the last versions you changed something, but it didn't solve the problem described in the first example.

This seems not to be a problem on all channels, but on some I recognized this error. Until now Pro7 and Kabel1.

Do you need some other kind of informations or log-files?

Greetings

Micha

hoppel118 avatar Nov 07 '11 17:11 hoppel118

I know what you mean. This case should be handled (but isn't tested). Whenever an aspect ratio change is detected a "StreamChange" signal is sent to XBMC.

In the VDR log there should be something like:

Nov  8 20:19:36 darth vdr: [28655] XVDR: --------------------------------------
Nov  8 20:19:36 darth vdr: [28655] XVDR: NEW PICTURE INFORMATION:
Nov  8 20:19:36 darth vdr: [28655] XVDR: Picture Width: 720
Nov  8 20:19:36 darth vdr: [28655] XVDR: Picture Height: 576
Nov  8 20:19:36 darth vdr: [28655] XVDR: Display Aspect Ratio: 1.78
Nov  8 20:19:36 darth vdr: [28655] XVDR: --------------------------------------

when the aspect ratio changes.

Of course you need the latest vdr-plugin-xvdr version from git (as ever).

It's possible that XBMC ignores the stream change. But first of all the server should detect the change. Maybe it's possible to scan your server logs for these aspect ratio changes.

Regards, Alex

pipelka avatar Nov 09 '11 09:11 pipelka

Ok.

I always use your newest version from git. When recognizing issues my first doing is to check if there is a newer version. And if so I will always proof if the issue is still there.

I will check the logs from my vdr-server at the weekend and will post them here.

Greetings Micha

hoppel118 avatar Nov 09 '11 17:11 hoppel118

Hi!

I also experienced this behaviour. Also with Simpsons on Pro7 ;-)

I already tried to trace it down a little bit, but no luck until now.

I can confirm that the XVDR_STREAM_CHANGE msg goes to the xbmc-addon-xvdr (i added a log line in the code XVDRDemux.cpp to see if it is coming through) when the aspect ratio changes. I also recognized that a XVDR_STREAM_CONTENTINFO msg is sent by xvdr (and received on the other side) when aspect ratio changes.

Both messages are also sent when I switch to another channel ... but in the switching case the aspect ratio is ok ... when staying on a channel when aspect ratio changes, it is not working ... so I guess there is something else necessary which is done in the switching case but not in the other case.

Unfortunately I am completely new to the xbmc code, so I do not have the overview (yet ;)) to get all the correlations...

But If I can help somehow, please tell me ;-)

greetz, Mike

MikeDK avatar Nov 09 '11 21:11 MikeDK

Hi,

I forgot to mention one (maybe important) thing: when I was using VNSI with an opdenkamp xbmc version from about one year ago, this was working like a charm ... my guess is that something in the xbmc code changed so that the StreamChange msg isn't working anymore...

greetz, Mike

MikeDK avatar Nov 09 '11 21:11 MikeDK