Rotating a video in video x pro v.6. What export dimensions to use?

Comments

browj2 wrote on 2/5/2015, 10:50 AM

I think that the answer was the one that I gave in this message.

Just change the project settings to 720x1280, rotate the image, centre it in the window, and export.

It worked ok using wmv when I opened it in Windows Media Player.

I will try an mp4 to see what happens.

Last changed by browj2 on 2/5/2015, 10:50 AM, changed a total of 1 times.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

browj2 wrote on 2/5/2015, 11:04 AM

With the settings at 720x1280, I tried exporting to mp4. Windows Media Player showed nothing on the screen. I brought the mp4 onto the same timeline in VPX6 and here is what it gave me.

This is what was exported:

and the above image fit the window fully.

My conclusion is that you cannot export this format to mp4 and expect it to work. But, wmv seems to work ok. In fact, when I reimport the wmv into VPX6, the image is the same as what I exported.

Last changed by browj2 on 2/5/2015, 11:04 AM, changed a total of 1 times.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

marcusdeman wrote on 2/6/2015, 3:38 AM
 

So for me there is no need to have the movie displayed in landscape mode in the end. I know this is impossible because of the difference in resolution or without adding black borders.

Hi Marcus,

I suspect that the fact that your native language is not English has contributed to the length of this discussion!

"...there is no need to have the movie displayed in landscape mode in the end."
What exactly do you mean by that? You have no choice if you're showing it on a normal PC or TV. These devices have landscape displays! Or what is your intended viewing device?

"or without adding black borders."
Perhaps I'm splitting hairs but I don't regard these as 'black borders' in the usual sense in which that expression is used. They are empty areas of your screen, because that's the only visible part you captured with your smartphone. Just as if you'd taken the clip properly (camera horizonal) from inside a dark room through an open doorway. Or cropped it in your editor later.

Did you follow my detailed export instructions (with no use of Avidemux)? Did that give you the result you want? If not, please try to explain exactly what else is needed.


Hi Terry,

Yes and again my apologies that have triggered such a lenghty discussion. Somehow my comprehension of the english language is not adequately enough for me being able to make my point clear. 

You ask how I will watch these clips I made? In portrait mode but not full screen. I want to watch the movies on my pc and have a notepad next to it so I can make notes. 

For instance. John shows two pictures of the plant I shot. On the second it looks like he is displaying it in full screen with the plant in the middle. I dont know for sure but if he resizes the movie will that reduce the black border or is the ratio fixed and will it shrink the plant image?

I think using the terms portrait and landscape mode also created a lot of confusion.

 

 

 

marcusdeman wrote on 2/6/2015, 4:00 AM

Ok so I've been testing the rotation function of VPX with different settings:

After Magix1.mp4 = import 720*1280; rotating and exporting to mp4 at 720*1280; bad iq
After Magix2.mp4 = import 1280*720; rotating and exporting to mp4 at 720*1280; bad iq
After Magix3.mp4 = import 1280*1280; rotating and exporting to mp4 at 720*1280; bad iq
After Magix4.mp4 = import 1280*1280; rotating and exporting at 1280*720; good iq but when resizing video
the actual video shrinks in size

I mention that After Magix 1-3.mp4 have bad image quality is because when you look at the pictures and especially at the window in the image you see jagged line. I hope that is visible in the pictures. For me watching the movies full screen I see it vividly.

Viewing After Magix1.mp4

 

Viewing After Magix2.mp4

 

Viewing After Magix3.mp4

 

Viewing After Magix4.mp4

 

marcusdeman wrote on 2/6/2015, 10:27 AM

Hi Everyone,

Again playing around with VPX and I think I have found the solution

I import the video in 1280*720
Do my editing, rotation, cutting etc

I export to MP4 with the following settings:
Resolution: 720*1280
Ratio: 9:16
PAR: Auto

Then I get the same results as with Avidemux!
 

marcusdeman wrote on 2/9/2015, 9:33 AM

I forgot to thank John, Terry and emmrecs for taking their time to help out in this matter.

Because of your experimentation, suggestions and questions led me to finding the solution!

Again thank you!

terrypin wrote on 2/11/2016, 9:19 AM

None of those videos, such as http://tempsend.com/2269D2CFB3

now work, so anyone trying to study this thread will have difficulty - although the conclusion is very simple!

Last changed by terrypin on 2/11/2016, 10:03 AM, changed a total of 2 times.

Terry, East Grinstead, UK. PC: i7 6700K, 4.0 GHz, 32GB with Win 10 pro. Used many earlier versions of MEPP, currently mainly MEPP 2016 & 2017 (Using scores of macro scripts to add functionality, tailored to these versions.)

marcusdeman wrote on 2/12/2016, 1:32 PM

@Terrypin

The link you provided does not work. 

Anyway, I have managed to rotate the video in VPX without the added black borders (or the empty area's as you would call it) on the side just like I was able to do in Avidemux.

1. Import the video into VPX (6)
2. Rotate the movie (video effects -> movement effects -> rotation / mirror - > rotating)
3. Export to mp4.

Export settings:
Swapping the resolution. So what is originally x:y would be y:x.
Ratio: same as resolution. What was x:y would now be y:x
Advanced button -> Advanced video settings -> Picture AR = 1:1

 

robertkjr wrote on 2/3/2017, 5:27 PM

Sorry to resurrect this post. 1) This does not work because VPX in Mp4 mode does not allow the apsect ratio to be changed to 9:16. So when moving the edited video back to the phone. It blows up.
2) The original video is shot in Portrait-mode. So it is actually 1920x1080 with a setting buried inside that tells the player to rotate when played. So a player like VLC knows to flip the video. Where is the setting inside of Magix for this? It should recognize the video is a 'rotated' video when importing, and I should be able to export this way as well. I will try this other software mentioned above.

1) I have to start a project in 720x1280 movie settings with 9:16 then
2) Rotate the imported movie
3) then I found I can export as quicktime -- .mov and it keeps the aspect ratio at 9:16, but I cannot in any exported mp4. I can use another software to convert from .mov to mp4.

browj2 wrote on 2/4/2017, 12:20 AM

Hi Robert,

This was a very..... well, I won't say. As per my last post, wmv also works and I checked it on my cell phone and it worked full-screen in portrait mode. My settings were like yours. Nice to know that there is software that will convert to mp4 and keep portrait mode, and hopefully, work on cell phones properly in portrait mode. Someone should do a tutorial on this for those who want to edit portrait mode only videos to be shown on cell phones in portrait mode. But, not me.

John C.B.

VideoPro X(16); Movie Studio 2024 Platinum; MM2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

johnebaker wrote on 2/4/2017, 3:40 PM

Hi

@ Robert.

. . . . This does not work because VPX in Mp4 mode does not allow the apsect ratio to be changed to 9:16.  . . . then i found I can export as quicktime -.mov . . . .

VPX does allow export of odd size/ratio mp4 video - see this short video on rotating a 1920*1080 video clip to 1080*1920 and exporting to 1080*1920 9:16 format using your initial project settings - note due to factors which you cannot control the video actually comes out at 1084*1920 pixels

Just to clear up one issue about black borders in players when playing odd ratio video - eg Windows Media Player - it does not default to the same ratio as the video by default, however you can drag the player size to actually fit the video - other players also do this.

The video also plays in the correct orientation on my mobile phone.

Here is the MediaInfo data for the exported mp4 file

General
Complete name                            : C:\Users\john\Documents\MAGIX\_Forum\VPX\Video\9-16.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/avc1)
File size                                : 3.42 MiB
Duration                                 : 4 s 680 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 6 137 kb/s
Encoded date                             : UTC 2017-02-04 21:00:04
Tagged date                              : UTC 2017-02-04 21:00:04

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=3, N=25
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 4 s 680 ms
Bit rate mode                            : Variable
Bit rate                                 : 6 000 kb/s
Maximum bit rate                         : 8 000 kb/s
Width                                    : 1 084 pixels
Original width                           : 1 080 pixels
Height                                   : 1 920 pixels
Display aspect ratio                     : 0.565
Original display aspect ratio            : 0.563

Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.115
Stream size                              : 3.35 MiB (98%)
Language                                 : English
Encoded date                             : UTC 2017-02-04 21:00:04
Tagged date                              : UTC 2017-02-04 21:00:04

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 4 s 629 ms
Bit rate mode                            : Variable
Bit rate                                 : 132 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 spf)
Compression mode                         : Lossy
Stream size                              : 75.1 KiB (2%)
Language                                 : English
Encoded date                             : UTC 2017-02-04 21:00:04
Tagged date                              : UTC 2017-02-04 21:00:04

 

John EB

Last changed by johnebaker on 2/4/2017, 3:44 PM, changed a total of 1 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.