Clip attached. This video is 544 x 576. When I play it on my PC it plays in 4:3 and it looks in proportion. However it also has big top and bottom borders on it which are a part of the video.
Could someone please explain what the heck is going on here. Why would a TV show air like that? The whole series airs like that.
How do I re-encode this correctly to remove the bars but have it still be in proportion? I removed the bars, did a resize to 720 x 576 and tried encoding in 4:3 but it looked squashed. Tried 16:9 but faces looked stretched. I want a Bluray compliant resolution.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 43
Thread
-
Last edited by VideoFanatic; 29th Dec 2014 at 15:11.
-
If you can read this.....
You have to crop 72 lines top and 72 lines bottom and then resize back to 720*576 before encoding to 16:9.
You lose some of the picture but that is inevitable.
Why do they do it ? You can reduce the bitrate = less satellite resources = cheaper to transmit. -
I have learned a lot the last few years, capturing both 4:3 and 16:9 video. Sometimes the station sets their equipment to match the aspect ratio, but sometimes they do not. I guess they might do it to save a few pixels and lower the bandwidth, but I think the more likely explanation is that they forgot to "throw the switch." We're almost ten years since broadcast stations switched to 16:9 HD, and there is a still a huge mix of SD, HD, 4:3, and 16:9 programming. Even when a station shows an old 4:3 TV show, the commercial inserts are almost always 16:9.
So what to do?
Well, the key thing is to get as many non-black pixels onto the video you capture. Don't worry if they get stretched or warped. To do this, you want to go to your cable box/DVR and look for the "stretch" settings. Watch the video on your capture device and play with the stretch until the video fills up the screen in your capture app, but without cropping. Don't worry if it looks stretched. Then, when you are going to create your final video, you can change the PAR before you render.
This workflow may need to be altered if you are trying to capture in one step, without a final render at the end. I never to that because I want to get rid of commercials, adjust color, etc. -
-
Appears to be 14:9 in a 4:3 frame which was very popular with BBC (and others) a few years ago as a transitional "compromise" broadcast format.
-
Is there a way to get it in PAL or NTSC Bluray compliant format without distorting the picture and losing a lot of the image?
-
Your image is already messed up by being converted to square pixels, so you either have to crop to the top and bottom to the image area and add enough padding to the sides to make it 16:9 and then resize to 720x576 and encode for 16:9...
Or simply resize it to 720x576 with no additional cropping or padding and encode for 4:3. -
Neither of those methods gave a picture in proportion when viewing the encoded output. If I'm wrong then please provide a script.
I tried upscaling to 720p which works. Looks in proportion:
Code:QTGMC(Preset="Medium") Crop(4,44,-0,-42) # Gives 540 x 490 nnedi3_rpow2(2, cshift="Lanczos4Resize", fwidth=1160, fheight=720) AddBorders(60,0,60,0, $000000)
-
-
-
Or simply resize it to 720x576 with no additional cropping or padding and encode for 4:3.
Code:QTGMC(Preset="Medium") Lanczos4Resize(720,576) SeparateFields() SelectEvery(4,0,3) Weave()
-
If you are viewing the 720X576 outputs as square pixel 1:1 then it will indeed "look" incorrect -- as will every DVD ever made. PAL square pixel would be 768x576, which is not DVD/BR legal.
For Legal DVD/BR, the first and third lines in your code snippet are unnecessary. -
Obviously I didn't encode to 1:1. I only did that with 720p.
For 720 x 576 I encoded to 16:15 to give a 4:3 picture like I always do with 4:3 standard definition. The output looks wrong. What am I missing? -
If you want the AR to be as intended (14:9), cannot JUST crop but must either crop less or crop+pad, as 14:9 is not BD/DVD legal. IOW, you MUST retain some of the pillarboxing if you want the image to:
1. Not crop out valid active picture, and
2. Exhibit proper image proportions (a square shows as an actual square).
Scott -
-
He already told you - just resize to 720x576 and encode as 4:3. After reading the thread I decided to download the sample, thinking there must be something peculiar about it. But there's not - it's a commonly seen broadcast resolution easily resized for DVD or Blu-Ray.
MPEG2Source("test.d2v")
LanczosResize(720,Height)Last edited by manono; 29th Dec 2014 at 17:15.
-
-
-
It is resized for DVD. The "large borders on the top and bottom" are necessary to maintain proper AR.
-
At this point if you know that 720,576 is 4/3 DVD size, which is a huge help, you can just push a bit further. You know that 768x576 fixes resolution to square pixel from DVD. So you resize to that 768x576 instead of 720,576 and then you just crop it to get rid of borders, like crop(4,40,-4,-40), so your scrit could be:
Code:MPEG2Source("test.d2v") LanczosResize(768,Height) crop(4,40,-4,-40)
But this is NOT Blu-Ray resolution or not Blu-Ray compliant, so not sure what are you trying to get now. -
Well I did say in my OP that I wanted to know how to remove the top and bottom borders but still keep it in proportion. I thought that's what you guys managed to do. So it looks like the only way to completely remove the top and bottom borders and keep it in proportion is to upscale to 720p as I said in post 8.
-
You do realize, don't you, that you either have to have black bars somewhere, or you have to cut into the active video, in order to keep the aspect ratio (for DVD and SD Blu-Ray, anyway)? How about pillarbars? Do you like them any better? Here it is as a 16:9 video with pillarbars.
MPEG2Source("test.d2v")
Yadif(Mode=1)
Crop(4,42,-4,-42)
LanczosResize(608,576)###Would use NNEDI3_RPOW2 if I was serious about this
AddBorders(56,0,56,0)
SeparateFields()
SelectEvery(4,0,3)
Weave()Last edited by manono; 29th Dec 2014 at 19:37.
-
Thanks very much. That works perfectly. I'd never have figured that out myself!
Just one thing though. It doesn't look too good with the interlacing artifacts. Tried QTGMC(Preset="Slower") instead of Yadif and tried NNedi3_RPOW2 and picture is improved but you still get the interlacing. Is there any way to fix it apart from upscaling to 720p?
Also is there a way to fix the pixellated junk in the background? -
It's interlaced. Whether or not there are 'interlacing artifacts' and what kind is entirely dependent on the deinterlacer used. TV deinterlacers are pretty good these days. I don't think I'd trust the ones used by whatever software player you're using to test with.
Is there any way to fix it apart from upscaling to 720p? -
I was using MPC-HC. I've never seen interlacing in it before. Played it back on my PS3 and no interlacing so you were right. Thanks
Do you know if there's a way to fix the pixellated junk?
For future reference did I get the dimensions correct for converting to 720p?
Code:Crop(4,44,-0,-42) # Gives 540 x 490 nnedi3_rpow2(2, cshift="Lanczos4Resize", fwidth=1160, fheight=720) AddBorders(60,0,60,0, $000000)
Code:Crop(4,42,-4,-42) nnedi3_rpow2(2, cshift="Spline36Resize", fwidth=608, fheight=576) AddBorders(56,0,56,0)
-
I use MPC-HC also, and keep the deinterlacing turned off so I can study my sources more easily. You mentioned not seeing interlacing before so I wondered if I forgot to encode the sample as interlaced. After checking, it's as it should be. I don't know why you've not seen interlacing before but you did with my reencoded sample.
Do you know if there's a way to fix the pixellated junk?
For future reference did I get the dimensions correct for converting to 720p?
Just wondering how you figured out the 576i dimensions of the following -
I can tell you what's correct (it's scaled by exactly 4/3, meaning 528=704, and 544 has lots of padding) but I don't think that's what this broadcaster is doing. I would just assume that, after cropping the black, you have the real 4x3 (or in this case 14x9) area.
If it was me, I would try burning the (544x576 flagged as 4x3) source to disc and see what happens. It's not DVD or BluRay compliant, but lots of players will play it as-is just fine. Most authoring software will reject it, so you need one that lets you ignore its warnings.
Cheers,
David. -
The image inside the frame, after all 4 borders are removed, doesn't look like 16:9. Resize the original frame to the intended display DAR of 4:3, crop off all 4 borders,and you get a 632x408 image -- Closer to the European movie aspect ratio 1.6:1, not 16x9. There ain't no "16x9" image in this clip.
You can't have a 16:9 DAR in 704x576. DVD and BD spec say 16:9 in standard def is valid only at 720x480 (or 720x576 PAL). A 1.6:1 image won't fill a 16x9 frame, whether NTSC or PAL -- it will need side pillars to complete the NTSC or PAL 720-wide frame. After some convoluted math (I hate math!!!) for a PAL frame and a 1.6:1 image in a 16:9 DAR frame:
Code:QTGMC(preset="medium") Crop(4, 40, -4, -40) Spline36Resize(624,576).AddBorders(48,0,48,0) AssumeTFF().SeparateFields().SelectEvery(4,0,3).Weave()
Last edited by LMotlow; 5th Jan 2015 at 10:37.
- My sister Ann's brother -
I agree there 100%. In ~8 years of capturing DVB-S with lots of 544x576 I can confirm this. Sometimes I had the chance to capture something both from a 544x576 channel and at some point later at 720x576 from another channel so I could compare how those 544 were scaled, and it's always the same: 540 out of the encoded 544 pixels are supposed to be 75% of 720; likewise 528 are 75% of 704 at the same time. The 4 pixel padding (540 -> 544) is necessary because the frame size needs to be mod 16, that's the sole reason. So assuming 544 = 4:3 is in any case not correct, it should be 528 = 4:3 (ITU) or 540 = 4:3 (non-ITU)...
Here's an example.
You would have to crop 1 pixel off the left and 3 off the right side (so 4 in total) and then resize the remaining 540x576 to 720x576 to reconstruct the original size.