Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd January 2012, 18:19 | #1 | Link |
Registered User
Join Date: Apr 2008
Location: US
Posts: 105
|
Widescreen signaling data in MPEG-2
Hi,
I just read about an introduction about wide screen signalling. [http://en.wikipedia.org/wiki/Widescreen_signaling] . Even read this I had some doubts about about this. -Is it possible to encode the WSS data along with MPEG-2 ? -Where I can detect the WSS information in an mpeg-2 file.? -Will I can expect this in user data of the compressed stream.? -Which standard will give decoding of an NTSC video encoded using MPEG-2 encoder. Thanks Dave |
23rd January 2012, 18:38 | #2 | Link |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
You got the answer to this question once. http://forum.doom9.org/showthread.ph...97#post1522797
And a simple search for WSS -> http://forum.doom9.org/showthread.ph...&highlight=wss
__________________
Born in the USB (not USA) |
24th January 2012, 17:10 | #3 | Link | ||
Registered User
Join Date: Dec 2007
Location: Germany
Posts: 632
|
Quote:
Here's how it looks: The white dashes at the very top left is the WSS signaling. However... Since the actual (analog) picture in 50Hz systems consists of 574 whole and 2 half lines the WSS signal happens to be in the top "half scanline" which does not carry picture – and that means that many if not most devices that play back such MPEG2 video will blank this area or insert their own WSS there, so the chances of getting such a hard coded WSS to the TV is rather low. I've seen it getting passed only once with a super cheap DVB-S receiver. Quote:
Not sure what you mean but afaik there is no WSS in 60Hz systems, and if there is it is most likely not within the 480 lines held in digital storage. Last edited by TheSkiller; 24th February 2012 at 15:57. |
||
24th January 2012, 17:30 | #4 | Link |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
That's the teletext (videotext).
The WSS signal is missing, as the image you posted is a pure 4:3 one (technically 43LB). The WSS is embedded in line 23 AFAIK and this is not recorded in normal MPEG-2 systems, as they drop the first 24-25 lines (halflines). That's why the MPEG system developed the DAR flag.
__________________
Born in the USB (not USA) |
24th January 2012, 18:02 | #5 | Link | ||
Registered User
Join Date: Dec 2007
Location: Germany
Posts: 632
|
No it is definitely a valid WSS signaling. WSS can be present in 4:3 as well because it holds much more flags that just the DAR.
If you don't believe me you can check out what the WSS in that picture says using "ProjectX", it reads the bits of the WSS line. It will tell you: Quote:
Furthermore, if you watch a channel that broadcasts WSS like that you can see that one of the dashes (bits actually) changes from a short one into a long one exactly whenever there is a transition from 4:3 to anamorphic 16:9 and vice versa. Quote:
Because of that the other 2 half lines needed to make up 576 whole lines are present in MPEG2 as well although they are not supposed to hold picture and don't need to carry any signaling but there is nothing that stops an MPEG2 stream from carrying WSS anyway even if it's not needed due to digital flags. Last edited by TheSkiller; 25th January 2012 at 10:42. |
||
24th January 2012, 18:53 | #6 | Link | |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
Quote:
It's strange however that the signal contains this info digitally stored, when it can be easily reconstructed from a "clean" TS stream. This includes not only the WSS, but also macrovision and teletext.
__________________
Born in the USB (not USA) |
|
24th January 2012, 23:03 | #7 | Link |
Registered User
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
|
It is not that uncommon to see WSS data encoded in a compressed stream. It just means that the encoder didn't do any line blanking at the top.
The MPEG DAR is not a replacement for WSS because it can only be changed per GOP. WSS in DVB-VBI or conversion to AFD is an appropriate, frame-accurate alternative. |
27th January 2012, 18:36 | #8 | Link |
Registered User
Join Date: Mar 2006
Posts: 1,049
|
True, for example MTV in Europe is retransmitted by many broadcasters (cable or terrestrial) with original (analog) WSS present in first half of line 23 - when decoder is setup-ed for display 4:3 in letterbox mode and currently received video is 16:9, WSS signal can be visible over video - decoder produce correct WSS on line 23 but line 23 from MPEG video is now visible around real video lines 108 - 113.
|
2nd February 2012, 18:55 | #9 | Link |
Registered User
Join Date: Apr 2008
Location: US
Posts: 105
|
Hi,
still I had some doubts, as wiki page says there is 14 bits of information is present @ line 23/283 , a) what is the offset from the start position to first informative bit position. ? b) how many pixels be part of a bit ? Dave |
2nd February 2012, 19:26 | #10 | Link |
Registered User
Join Date: Dec 2002
Location: UK
Posts: 1,673
|
Download EN 300 294 from http://pda.etsi.org/pda/queryform.asp - it has everything you could want to know. It's free. It's not a simple pixel:bit relationship.
Cheers, David. |
3rd February 2012, 16:16 | #11 | Link |
Registered User
Join Date: Mar 2006
Posts: 1,049
|
|
22nd February 2012, 18:47 | #13 | Link |
Registered User
Join Date: Apr 2008
Location: US
Posts: 105
|
Thanks for the docs info.
How can I test the WSS data presence in a stream ? Is it possible to encode WSS using MPEG-2 encoder ? which are they ? I really need some test vectors which had WSS on top of the frame ? Thanks Dave |
23rd February 2012, 11:36 | #14 | Link | ||
Registered User
Join Date: Mar 2006
Posts: 1,049
|
Quote:
Quote:
? are You asking or what? |
||
24th February 2012, 15:55 | #15 | Link | |
Registered User
Join Date: Dec 2007
Location: Germany
Posts: 632
|
Just look at the raw encoded MPEG2 video using something that doesn't filter it in any way. For example VirtualDub (with MPEG2 plugin or the old MPEG2 version of VirtualDub). Look at the first line and see if there are dashes looking like the ones that you can see in my picture in post #3 of this thread.
You can also just load the video in ProjectX and it'll tell you if there is any WSS present and it will even decode the WSS line telling you what it actually signals. Quote:
Edit: And then again, even if you manage to put a valid WSS line into an MPEG2 video (like for a DVD) it is questionable of what use it is since, as I described in post #3, this area where the WSS is encoded gets most likely blanked, shifted or overridden by the devices own WSS during playback. The WSS line is only read out by the TV (if it is capable of that), the DVD-Player does not care or know whether there already is a WSS present or not. Last edited by TheSkiller; 24th February 2012 at 16:07. |
|
|
|