Fixing clip rotation black background

Moderator: Ken Berry

User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Fixing clip rotation black background

Post by Davidk »

I recorded a clip of the Redeemer monument in Rio last year, and needed to rotate the camera 90deg to get the image properly on screen. Inserting this clip into a project now presents a quandary:
1) in its original orientation, it fills the preview window, but lying on it's side
redeemer 2.jpg
2) rotating the clip CW to present the correct orientation and sizing to fit the screen means it has to be an overlay. I inserted a blue background colour in the main timeline, and the result is this
redeemer 1.jpg
Is there a way to remove those black side bars from the rotated overlay image?

Davidk
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: Fixing clip rotation black background

Post by RobertOZ »

Are you using a video or an image, if an image, rotate the clip in an outside editor before importing into VS, then you should not see those side bars, that works for me
asik1
Posts: 3446
Joined: Thu Apr 17, 2014 6:07 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: H170M-E D3
processor: i5-6600
ram: 8gb
Video Card: GTX1050-2GB
Hard_Drive_Capacity: No hoarder
Monitor/Display Make & Model: 2K HP-27MQ
Corel programs: VS-X9.2, 2020, 2023
Location: Israel

Re: Fixing clip rotation black background

Post by asik1 »

I never had bars and never rotate outside VS (unless tagged)
Why the screenshot is in clip mode?
is it normal HD footage? you have it in default size also?
Panasonic X900m, VXF1
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Fixing clip rotation black background

Post by Davidk »

The image seen is a video clip (filename in overlay track icon), standard mpg (.mod) from a JVC camcorder. No HD involved.
In the timeline track, rotated, a lot of it's over the edges of the view window, and there are black bars at the side.

And unlike pictures, where you can use explorer to rotate the image before it's imported to VS, with a video clip that option just isn't available.

So, the clip is in the overlay track so I can size it to fit the screen. To avoid the black side bars I used a background colour in the timeline - that has always worked before. But when rotated in the overlay track, those side bars are back as part of the clip, clearly from the rotation action on the overlay track before it's overlaid on the colour in the timeline.

Davidk
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: Fixing clip rotation black background

Post by RobertOZ »

Hi Davidk,

As a test I placed in the overlay track an HD MP4 video, then rotated it, placed a colour board in the main timeline and as you can see, there are no black lines on any sides, agreed that this is a normal clip which I rotated, whereas yours was taken sideways, but I would not have thought that should make a difference
Attachments
Snap1.jpg
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Fixing clip rotation black background

Post by Davidk »

I really didn't expect it to make a difference either. But numerous attempts at sizing and rotation in either track did not change the effect I got.

Maybe the solution is to not take or use that sort of video. But it does seem odd that the image looks fine in the taken (ie lying down) orientation, yet gives that barred effect when rotated.
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: Fixing clip rotation black background

Post by RobertOZ »

OK, went outside and recorded a sideways video, imported into the overlay track, then rotated it, video plays without any black sidebars, so what is different with your sideways clip
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Fixing clip rotation black background

Post by Davidk »

It looked normal to me. properties data is:
redeemer 1 properties.jpg
asik1
Posts: 3446
Joined: Thu Apr 17, 2014 6:07 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: H170M-E D3
processor: i5-6600
ram: 8gb
Video Card: GTX1050-2GB
Hard_Drive_Capacity: No hoarder
Monitor/Display Make & Model: 2K HP-27MQ
Corel programs: VS-X9.2, 2020, 2023
Location: Israel

Re: Fixing clip rotation black background

Post by asik1 »

Well david, as we say to all
upload 5sec of such mod file to test.
Panasonic X900m, VXF1
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Fixing clip rotation black background

Post by lata »

Hi David / Robert

The video is 720 x 576 x 16:9 and as such anamorphic, that is stretched to create the widescreen view.

The black borders will be part of the rotated video file

You should be able to use the cropping filter to remove the bars.
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: Fixing clip rotation black background

Post by RobertOZ »

Hi Trevor,

You are correct, just tried an old mini DV clip 720x576 x 16:9 and the black sidebars display, using the Cropping Filter it's easy to remove them
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Fixing clip rotation black background

Post by lata »

Hi

another option would be to render the original 720 x 576 to a 1920 x 1080.
Then using the new 1920 to rotate.

Whatever you do the video will display as a smaller vertical panel, (portrait view)
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Terfyn
Posts: 795
Joined: Tue Oct 23, 2012 9:37 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P8H61-MX
processor: Intel Corei5-2320
ram: 8Gb
Video Card: NVIDIA GeForce 210
sound_card: NVIDIA High Def Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: Acer & LG
Corel programs: VS X10 and PSP X8
Location: North Wales

Re: Fixing clip rotation black background

Post by Terfyn »

There is a Tutorial in the Corel Discovery Centre "Working with Portrait Videos in VideoStudio Ultimate" which may address some items in this post.
I used to be indecisive. Now I'm not so sure.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Fixing clip rotation black background

Post by lata »

Hi

Thanks Terfyn
Interesting tutorial although does not address the black borders, I have never tried the background generator, looks useful.

http://learn.corel.com/tutorials/workin ... -ultimate/
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Fixing clip rotation black background

Post by Davidk »

The clip is a whole 8sec and 11Mb long, and I was about to upload to OneDrive when I read the latest posts.

And the cropping filter indeed it does remove the black borders from the rotated clip image. But it took a bit of experimenting to establish how this filter works - other filters use sizing handles, with this one, you need to play with the percentages (height and width) until the crop border matches the outline you want. And once found, right click and copy to all key frames markers to make sure that the black zone does not come back as the clip plays.

Thanks all.

Davidk
Post Reply