Failure to honor anamorphic display #64579

Closed
opened 2019-05-14 02:57:40 +02:00 by Greg · 39 comments

System Information
Operating system: Ubuntu 16.04
Graphics card: Intel integrated

Blender Version
2.76 and 2.79

Short description of error
.mp4 videos that play correct anamorphic in all tried video players (e.g., VLC, Totem, etc) do not display correct anamorphic when previewed/rendered in Blender.

Exact steps for others to reproduce the error
Use HandBrake to create an .mp4 file: Put in a DVD, select a section, and use HandBrake to rip it with strict/automatic anamorphic setting. Play the created .mp4 file in various video players (e.g., VLC) and notice how anamorphic works perfectly. Now open Blender and Add the .mp4 movie. Notice how the movie previews/renders stretched out, not keeping the proper anamorphic.

**System Information** Operating system: Ubuntu 16.04 Graphics card: Intel integrated **Blender Version** 2.76 and 2.79 **Short description of error** .mp4 videos that play correct anamorphic in all tried video players (e.g., VLC, Totem, etc) do not display correct anamorphic when previewed/rendered in Blender. **Exact steps for others to reproduce the error** Use HandBrake to create an .mp4 file: Put in a DVD, select a section, and use HandBrake to rip it with strict/automatic anamorphic setting. Play the created .mp4 file in various video players (e.g., VLC) and notice how anamorphic works perfectly. Now open Blender and Add the .mp4 movie. Notice how the movie previews/renders stretched out, not keeping the proper anamorphic.
Author

Added subscriber: @bvip7

Added subscriber: @bvip7

Added subscriber: @Gvgeo-1

Added subscriber: @Gvgeo-1

Unless it was changed lately, it is the same case with 2.80.

Unless it was changed lately, it is the same case with 2.80.

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section:

Screenshot 2019-05-14 at 14.39.50.png

Don't think this is really a bug.

Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section: ![Screenshot 2019-05-14 at 14.39.50.png](https://archive.blender.org/developer/F7036328/Screenshot_2019-05-14_at_14.39.50.png) Don't think this is really a bug.
Author

In #64579#678750, @WilliamReynish wrote:
Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section:

Screenshot 2019-05-14 at 14.39.50.png

Don't think this is really a bug.

Can you explain how these settings will stop the stretching? Raising those numbers only increases the stretch more. And those aspect numbers will not go below 1 which would seem to be needed to "reverse" the stretching.

I cannot use Blender to edit video because it will not give me proper looking image (the image is always stretched and not anamorphic). But if I watch the video I am trying to edit using a video player like VLC or Totem etc then the video plays with proper dimensions and is anamorphic.

I would like to use Blender to edit video. But I want the video to look "normal" when I watch it. That video will never look normal if edited/viewed in Blender.

> In #64579#678750, @WilliamReynish wrote: > Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section: > > ![Screenshot 2019-05-14 at 14.39.50.png](https://archive.blender.org/developer/F7036328/Screenshot_2019-05-14_at_14.39.50.png) > > Don't think this is really a bug. Can you explain how these settings will stop the stretching? Raising those numbers only increases the stretch more. And those aspect numbers will not go below 1 which would seem to be needed to "reverse" the stretching. I cannot use Blender to edit video because it will not give me proper looking image (the image is always stretched and not anamorphic). But if I watch the video I am trying to edit using a video player like VLC or Totem etc then the video plays with proper dimensions and is anamorphic. I would like to use Blender to edit video. But I want the video to look "normal" when I watch it. That video will never look normal if edited/viewed in Blender.

Not sure if more of a bug or a feature request.
To be able to get correct size of each separate video strip.

These settings do not correct the view in Preview. They effect only the output (This is correct, this is what they need to do).
And do not help if you want to mix multiple videos.

There are workarounds, but not very intuitive (or correct).

Not sure if more of a bug or a feature request. To be able to get correct size of each separate video strip. These settings do not correct the view in Preview. They effect only the output (This is correct, this is what they need to do). And do not help if you want to mix multiple videos. There are workarounds, but not very intuitive (or correct).

Yes, that is true, they are not per clip, but per project/file. A way for the clip to be stretched based on the pixel aspect meta-data could be added, but that is in feature-request territory I think.

Yes, that is true, they are not per clip, but per project/file. A way for the clip to be stretched based on the pixel aspect meta-data could be added, but that is in feature-request territory I think.
Author

I just don't understand why anyone would want distorted video.

If I have two .mp4 anamorphic videos that I load into Blender and "paste" together and then create one .mp4 video, the videos are going in anamorphic (playing non-distorted video) and coming out of Blender (rendered) distorted with stretched (unrealistic) looking people and surroundings. The video is completely ruined for viewing purposes. How could this be intended? If video goes in anamorphic, it should come out anamorphic, unless the user purposely distorts the video. In the current situation, the user can't even "distort" the distortion to make it so there is no distortion.

I just don't understand why anyone would want distorted video. If I have two .mp4 anamorphic videos that I load into Blender and "paste" together and then create one .mp4 video, the videos are going in anamorphic (playing non-distorted video) and coming out of Blender (rendered) distorted with stretched (unrealistic) looking people and surroundings. The video is completely ruined for viewing purposes. How could this be intended? If video goes in anamorphic, it should come out anamorphic, unless the user purposely distorts the video. In the current situation, the user can't even "distort" the distortion to make it so there is no distortion.
Richard Antalik was assigned by Brecht Van Lommel 2019-05-14 16:39:26 +02:00

Added subscriber: @brecht

Added subscriber: @brecht

I don't think any of this is intended, but that Blender just does not support anamorphic video currently. While it would be nice to add, that would put it outside of the scope of the bug tracker and into feature requests.

I'll let @iss decide.

I don't think any of this is intended, but that Blender just does not support anamorphic video currently. While it would be nice to add, that would put it outside of the scope of the bug tracker and into feature requests. I'll let @iss decide.
Author

It's just that anamorphic video is ubiquitous. If Blender doesn't support it, it seems to me that it would have near zero usefulness for editing videos. Every single video I would edit is anamorphic. I don't understand how anamorphic is not a requirement for a modern day video editor. And blender is the most talked about choice for video editing. So I'm surprised by this.

Blender should be able to preview anamorphic video and "keep" anamorphic. So if I input two anamorphic videos to combine them into one video, they should be able to come out anamorphic.

It's just that anamorphic video is ubiquitous. If Blender doesn't support it, it seems to me that it would have near zero usefulness for editing videos. Every single video I would edit is anamorphic. I don't understand how anamorphic is not a requirement for a modern day video editor. And blender is the most talked about choice for video editing. So I'm surprised by this. Blender should be able to preview anamorphic video and "keep" anamorphic. So if I input two anamorphic videos to combine them into one video, they should be able to come out anamorphic.

Blender is the most talked about choice for video editing? Really? Not in any editing suite or production company or film school I have ever seen. But ok.

Anyway, even in many commercial pro apps you have to manually stretch anamorphic video last time I checked.

Blender is the most talked about choice for video editing? Really? Not in any editing suite or production company or film school I have ever seen. But ok. Anyway, even in many commercial pro apps you have to manually stretch anamorphic video last time I checked.

Term anamorphic video is new to me, so I am not entirely sure how other players do deal with it. I would have to check, as it may be better to implement in FFMPEG preprocessing stage.

@bvip7
Are you requesting only ability to preview that file correctly, or also to do anamorphic render?

In #64579#678750, @WilliamReynish wrote:
Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section:

Screenshot 2019-05-14 at 14.39.50.png

Don't think this is really a bug.

@WilliamReynish those aspect ratio parameters did not affect render (at least from VSE) last time I checked that.
Or it did produce anamorphic video that other players rendered correctly? Hm not sure.

Term anamorphic video is new to me, so I am not entirely sure how other players do deal with it. I would have to check, as it may be better to implement in FFMPEG preprocessing stage. @bvip7 Are you requesting only ability to preview that file correctly, or also to do anamorphic render? > In #64579#678750, @WilliamReynish wrote: > Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section: > > ![Screenshot 2019-05-14 at 14.39.50.png](https://archive.blender.org/developer/F7036328/Screenshot_2019-05-14_at_14.39.50.png) > > Don't think this is really a bug. @WilliamReynish those aspect ratio parameters did not affect render (at least from VSE) last time I checked that. Or it did produce anamorphic video that other players rendered correctly? Hm not sure.
Author

In #64579#678921, @WilliamReynish wrote:
Blender is the most talked about choice for video editing? Really? Not in any editing suite or production company or film school I have ever seen. But ok.

Anyway, even in many commercial pro apps you have to manually stretch anamorphic video last time I checked.

Yes, I didn't go into detail about what I meant. I was looking for something a home Linux user could use. And Blender kept coming up as a top choice.

In #64579#678940, @iss wrote:
Term anamorphic video is new to me, so I am not entirely sure how other players do deal with it. I would have to check, as it may be better to implement in FFMPEG preprocessing stage.

@bvip7
Are you requesting only ability to preview that file correctly, or also to do anamorphic render?

In #64579#678750, @WilliamReynish wrote:
Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section:

Screenshot 2019-05-14 at 14.39.50.png

Don't think this is really a bug.

@WilliamReynish those aspect ratio parameters did not affect render (at least from VSE) last time I checked that.
Or it did produce anamorphic video that other players rendered correctly? Hm not sure.

Ideally, I would like to be able to preview how the video is going to look once it is rendered. But the most important thing is that it renders anamorphic. Let me be clear, I'm not asking that Blender ADD anamorphic to an "imported" video that doesn't have it, just that it preserve an "imported" video's pre-existing anamorphic status.

> In #64579#678921, @WilliamReynish wrote: > Blender is the most talked about choice for video editing? Really? Not in any editing suite or production company or film school I have ever seen. But ok. > > Anyway, even in many commercial pro apps you have to manually stretch anamorphic video last time I checked. Yes, I didn't go into detail about what I meant. I was looking for something a home Linux user could use. And Blender kept coming up as a top choice. > In #64579#678940, @iss wrote: > Term anamorphic video is new to me, so I am not entirely sure how other players do deal with it. I would have to check, as it may be better to implement in FFMPEG preprocessing stage. > > @bvip7 > Are you requesting only ability to preview that file correctly, or also to do anamorphic render? > >> In #64579#678750, @WilliamReynish wrote: >> Are you referring to non-square pixels? If so, these are set here, in the Aspect X/Y section: >> >> ![Screenshot 2019-05-14 at 14.39.50.png](https://archive.blender.org/developer/F7036328/Screenshot_2019-05-14_at_14.39.50.png) >> >> Don't think this is really a bug. > > @WilliamReynish those aspect ratio parameters did not affect render (at least from VSE) last time I checked that. > Or it did produce anamorphic video that other players rendered correctly? Hm not sure. Ideally, I would like to be able to preview how the video is going to look once it is rendered. But the most important thing is that it renders anamorphic. Let me be clear, I'm not asking that Blender ADD anamorphic to an "imported" video that doesn't have it, just that it preserve an "imported" video's pre-existing anamorphic status.

I'm starting to be confused about what you mean when you refer to 'anamorphic video'.

Usually, anamorphic means that you have shot something with an anamorphic lens, which distorts and stretches the image so that you can get more vertical resolution onto the film negative. This image is then distorted in the opposite direction when projected:

{F7037134, size=full}

'Anamorphic video' refers to video frames shot the same way, using an anamorphic lens, and will look like the first image on the left. You then need to distort the video frame to get the correct aspect ratio.

In Blender, this happens completely automatically. You just set the aspect ratio of the output correctly, and Blender will automatically stretch any footage to fit. So there's nothing missing and nothing for the user to do.

I'm starting to be confused about what you mean when you refer to 'anamorphic video'. Usually, anamorphic means that you have shot something with an anamorphic lens, which distorts and stretches the image so that you can get more vertical resolution onto the film negative. This image is then distorted in the opposite direction when projected: {[F7037134](https://archive.blender.org/developer/F7037134/image.png), size=full} 'Anamorphic video' refers to video frames shot the same way, using an anamorphic lens, and will look like the first image on the left. You then need to distort the video frame to get the correct aspect ratio. In Blender, this happens completely automatically. You just set the aspect ratio of the output correctly, and Blender will automatically stretch any footage to fit. So there's nothing missing and nothing for the user to do.
Author

I may not be describing things with the accurate terminology.

Let's name the two images you posted as Image-1 (squished) and Image-2 (normal looking).

If I have a .mp4 and play it in VLC it plays like Image-2 (normal looking). If I take that .mp4 and put it in Blender it previews as Image-1 (squished) and renders as Image-1 (squished). So I took an .mp4 that played normal looking but after putting it through Blender it now plays squished.

Does this help?

I may not be describing things with the accurate terminology. Let's name the two images you posted as Image-1 (squished) and Image-2 (normal looking). If I have a .mp4 and play it in VLC it plays like Image-2 (normal looking). If I take that .mp4 and put it in Blender it previews as Image-1 (squished) and renders as Image-1 (squished). So I took an .mp4 that played normal looking but after putting it through Blender it now plays squished. Does this help?

No, I actually still don't follow your problem. Because if you insert anamorphic (stretched) video into Blender, by default it will stretch back to normal, as long as you set the output resolution correctly.

If I take this image:

anamorphicbokeh2.jpg

and insert it into Blender, I get this:

Screenshot 2019-05-14 at 21.59.34.png

Which is correct.

No, I actually still don't follow your problem. Because if you insert anamorphic (stretched) video into Blender, by default it will stretch back to normal, as long as you set the output resolution correctly. If I take this image: ![anamorphicbokeh2.jpg](https://archive.blender.org/developer/F7037268/anamorphicbokeh2.jpg) and insert it into Blender, I get this: ![Screenshot 2019-05-14 at 21.59.34.png](https://archive.blender.org/developer/F7037280/Screenshot_2019-05-14_at_21.59.34.png) Which is correct.
Author

I am setting the output res to what the numbers say. That is, VLC codec reports 720x480, Blender says 720x480, it was converted at strict 720x480.

Might someone try to replicate this. Take a chapter or section of DVD (720x480). Using HandBrake, create an .mp4 file. then put that .mp4 file into Blender and see if it displays properly. I have tried multiple DVDs and different settings. The image is always stretched (it looks like the stretched images). But it plays fine in VLC etc.

I am setting the output res to what the numbers say. That is, VLC codec reports 720x480, Blender says 720x480, it was converted at strict 720x480. Might someone try to replicate this. Take a chapter or section of DVD (720x480). Using HandBrake, create an .mp4 file. then put that .mp4 file into Blender and see if it displays properly. I have tried multiple DVDs and different settings. The image is always stretched (it looks like the stretched images). But it plays fine in VLC etc.

I still don't understand the problem. If your footage is stretched, Blender will un-stretch it if you either set the resolution correctly so it un-stretches the image. In Blender you must set the resolution manually. By default it is set to 16:9 (1920x1080) but you can set it to a different aspect ratio if you wish. There's nothing more to it.

Blender could have a feature to view non-square-pixel video in the viewer, but currently it does not have this feature. It also could be easier to transform video without needing to add effects strips for basic stuff. But those things are not needed to view anamorphic video, and are most definitely feature requests.

But why don't you just set the correct aspect ratio so that the footage becomes un-stretched?

I still don't understand the problem. If your footage is stretched, Blender will un-stretch it if you either set the resolution correctly so it un-stretches the image. In Blender you must set the resolution manually. By default it is set to 16:9 (1920x1080) but you can set it to a different aspect ratio if you wish. There's nothing more to it. Blender *could* have a feature to view non-square-pixel video in the viewer, but currently it does not have this feature. It also could be easier to transform video without needing to add effects strips for basic stuff. But those things are not needed to view anamorphic video, and are most definitely feature requests. But why don't you just set the correct aspect ratio so that the footage becomes un-stretched?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Marking as archived until anyone can recreate an actual bug.

Marking as archived until anyone can recreate an actual bug.
Author

In #64579#679192, @WilliamReynish wrote:

But why don't you just set the correct aspect ratio so that the footage becomes un-stretched?

Can you kindly tell me how to do this? I of course will do this if it solves the problem.

> In #64579#679192, @WilliamReynish wrote: > > But why don't you just set the correct aspect ratio so that the footage becomes un-stretched? Can you kindly tell me how to do this? I of course will do this if it solves the problem.
Author

Here's the "actual bug" recreated with a different DVD than I originally tried.

The following screenshots show: HandBrake settings when creating the .mp4 video (720x480), both VLC and Totem playing said video unstretched and normal looking, and Blender stretching the video (no bars at top and bottom of image) in its preview window. When I render the video using Blender it comes out looking stretched too. Based on your images posted, I see no sign of it stretching your videos. So Blender has a bug that only affects some videos? Or is there something I can do to fix this?

1-HandBrake_Creation_Settings.png

2-Totem_Screenshot.png

2-VLC_Screenshot.png

3-Blender_Screenshot.png

Here's the "actual bug" recreated with a different DVD than I originally tried. The following screenshots show: HandBrake settings when creating the .mp4 video (720x480), both VLC and Totem playing said video unstretched and normal looking, and Blender stretching the video (no bars at top and bottom of image) in its preview window. When I render the video using Blender it comes out looking stretched too. Based on your images posted, I see no sign of it stretching your videos. So Blender has a bug that only affects some videos? Or is there something I can do to fix this? ![1-HandBrake_Creation_Settings.png](https://archive.blender.org/developer/F7037777/1-HandBrake_Creation_Settings.png) ![2-Totem_Screenshot.png](https://archive.blender.org/developer/F7037780/2-Totem_Screenshot.png) ![2-VLC_Screenshot.png](https://archive.blender.org/developer/F7037781/2-VLC_Screenshot.png) ![3-Blender_Screenshot.png](https://archive.blender.org/developer/F7037782/3-Blender_Screenshot.png)

Although I have no experience will try to explain a bit.
It is not an argument to reopen this report.

In #64579#678940, @iss wrote:

@WilliamReynish those aspect ratio parameters did not affect render (at least from VSE) last time I checked that.
Or it did produce anamorphic video that other players rendered correctly? Hm not sure.

Don't believe they affect render, must be only for metadata.

In #64579#679121, @WilliamReynish wrote:
No, I actually still don't follow your problem. Because if you insert anamorphic (stretched) video into Blender, by default it will stretch back to normal, as long as you set the output resolution correctly.

If I take this image:

anamorphicbokeh2.jpg

and insert it into Blender, I get this:

Screenshot 2019-05-14 at 21.59.34.png

Which is correct.

By rendering this way will lose detail, by mixing pixels. Not ideal if only 1 video format with simple edits.
Can use while editing, but best is to set the original video format settings. But will look distorted in 'Preview'.
(Left image is from video player)
000113.png
This video was created with these settings and will output the same Anamorphic format for video players.
.blend file with video.
wakeup.zip

@bvip7 Blender does not set automatically these numbers, will have to calculate yourself. Aspect X 1.185 in your example (853/720= 1.185).
Or can use the 'Display Geometry' resolution with some minor detail loss.

Although I have no experience will try to explain a bit. It is not an argument to reopen this report. > In #64579#678940, @iss wrote: > > @WilliamReynish those aspect ratio parameters did not affect render (at least from VSE) last time I checked that. > Or it did produce anamorphic video that other players rendered correctly? Hm not sure. Don't believe they affect render, must be only for metadata. > In #64579#679121, @WilliamReynish wrote: > No, I actually still don't follow your problem. Because if you insert anamorphic (stretched) video into Blender, by default it will stretch back to normal, as long as you set the output resolution correctly. > > If I take this image: > > ![anamorphicbokeh2.jpg](https://archive.blender.org/developer/F7037268/anamorphicbokeh2.jpg) > > and insert it into Blender, I get this: > > ![Screenshot 2019-05-14 at 21.59.34.png](https://archive.blender.org/developer/F7037280/Screenshot_2019-05-14_at_21.59.34.png) > > Which is correct. By rendering this way will lose detail, by mixing pixels. Not ideal if only 1 video format with simple edits. Can use while editing, but best is to set the original video format settings. But will look distorted in 'Preview'. (Left image is from video player) ![000113.png](https://archive.blender.org/developer/F7038200/000113.png) This video was created with these settings and will output the same Anamorphic format for video players. .blend file with video. [wakeup.zip](https://archive.blender.org/developer/F7038205/wakeup.zip) @bvip7 Blender does not set automatically these numbers, will have to calculate yourself. Aspect X 1.185 in your example (853/720= 1.185). Or can use the 'Display Geometry' resolution with some minor detail loss.

@Gvgeo-1 thanks for samples, I couldn't find anything to experiment with.

This video was created with these settings and will output the same Anamorphic format for video players.

Ok so there seems to be support for output

I would believe that I removed preview support by this patch D4315: Refactor drawing preview as first 7 lines would tell, but strangely this is report for older Blender versions.

So, an actual bug here is, that VSE doesn't apply aspect ratio correction set by user to the preview. I believe it should.
Should be easy to fix.

@Gvgeo-1 thanks for samples, I couldn't find anything to experiment with. >This video was created with these settings and will output the same Anamorphic format for video players. Ok so there seems to be support for output I would believe that I removed preview support by this patch [D4315: Refactor drawing preview](https://archive.blender.org/developer/D4315) as first 7 lines would tell, but strangely this is report for older Blender versions. So, an actual bug here is, that VSE doesn't apply aspect ratio correction set by user to the preview. I believe it should. Should be easy to fix.

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

I guess "relying on the playback process to recognize and stretch it" is kind of expected, like as Blender (mostly) sets the the correct framerate on the first video that gets added.

In #64579#678920, @bvip7 wrote:
So if I input two anamorphic videos to combine them into one video, they should be able to come out anamorphic.

They will, as long as you set the correct Aspect Ratio (or preset) Blender will honour the anamorphic.

#64579.PNG

As you can see the left is the render (U/V Image editor defaults to a 1:1 viewing Aspect Ratio)
And the right is the preview, which uses the render settings.

Notice how the movie previews/renders stretched out, not keeping the proper anamorphic.

This definitely sounds like the settings are incorrect...

Could you give us a metadata paste for your video files?

I guess ["relying on the playback process to recognize and stretch it" ](https://www.youtube.com/watch?v=g5ZgUIobSj0&t=2m2s) is kind of expected, like as Blender (mostly) sets the the correct framerate on the first video that gets added. > In #64579#678920, @bvip7 wrote: > So if I input two anamorphic videos to combine them into one video, they should be able to come out anamorphic. They will, as long as you set the correct Aspect Ratio (or preset) Blender will honour the anamorphic. ![#64579.PNG](https://archive.blender.org/developer/F7038713/T64579.PNG) As you can see the left is the render (U/V Image editor defaults to a 1:1 viewing Aspect Ratio) And the right is the preview, which uses the render settings. > Notice how the movie previews/renders stretched out, not keeping the proper anamorphic. This definitely sounds like the settings are incorrect... Could you give us a metadata paste for your video files?
Author

In #64579#679391, @Gvgeo-1 wrote:

@bvip7 Blender does not set automatically these numbers, will have to calculate yourself. Aspect X 1.185 in your example (853/720= 1.185).
Or can use the 'Display Geometry' resolution with some minor detail loss.

Thank you so much for your comments! To make sure I understand, you advise doing the math for each video and setting Aspect X as you say? And when I render, this will correct the stretching problem? Setting Aspect X like you say does not fix the problem in the preview window.

In #64579#679513, @ChristopherAnderssarian wrote:
I guess "relying on the playback process to recognize and stretch it" is kind of expected, like as Blender (mostly) sets the the correct framerate on the first video that gets added.

In #64579#678920, @bvip7 wrote:
So if I input two anamorphic videos to combine them into one video, they should be able to come out anamorphic.

They will, as long as you set the correct Aspect Ratio (or preset) Blender will honour the anamorphic.

#64579.PNG

As you can see the left is the render (U/V Image editor defaults to a 1:1 viewing Aspect Ratio)
And the right is the preview, which uses the render settings.

Notice how the movie previews/renders stretched out, not keeping the proper anamorphic.

This definitely sounds like the settings are incorrect...

Could you give us a metadata paste for your video files?

How do I set the correct Aspect Ratio? You saw what parameters the video was created with (in my screen shots). And you see what resolution I have set in Blender when viewing the preview. Can you advise what settings I have wrong in Blender that is causing this stretching? I thought I had the correct aspect ratio settings set in Blender (720x480).

You are asking me to paste metadata? Can you advise how exactly I can gather this metadata so it can be posted here?

> In #64579#679391, @Gvgeo-1 wrote: > > @bvip7 Blender does not set automatically these numbers, will have to calculate yourself. Aspect X 1.185 in your example (853/720= 1.185). > Or can use the 'Display Geometry' resolution with some minor detail loss. Thank you so much for your comments! To make sure I understand, you advise doing the math for each video and setting Aspect X as you say? And when I render, this will correct the stretching problem? Setting Aspect X like you say does not fix the problem in the preview window. > In #64579#679513, @ChristopherAnderssarian wrote: > I guess ["relying on the playback process to recognize and stretch it" ](https://www.youtube.com/watch?v=g5ZgUIobSj0&t=2m2s) is kind of expected, like as Blender (mostly) sets the the correct framerate on the first video that gets added. > >> In #64579#678920, @bvip7 wrote: >> So if I input two anamorphic videos to combine them into one video, they should be able to come out anamorphic. > > They will, as long as you set the correct Aspect Ratio (or preset) Blender will honour the anamorphic. > > ![#64579.PNG](https://archive.blender.org/developer/F7038713/T64579.PNG) > > As you can see the left is the render (U/V Image editor defaults to a 1:1 viewing Aspect Ratio) > And the right is the preview, which uses the render settings. > >> Notice how the movie previews/renders stretched out, not keeping the proper anamorphic. > > This definitely sounds like the settings are incorrect... > > Could you give us a metadata paste for your video files? How do I set the correct Aspect Ratio? You saw what parameters the video was created with (in my screen shots). And you see what resolution I have set in Blender when viewing the preview. Can you advise what settings I have wrong in Blender that is causing this stretching? I thought I had the correct aspect ratio settings set in Blender (720x480). You are asking me to paste metadata? Can you advise how exactly I can gather this metadata so it can be posted here?

In #64579#679689, @bvip7 wrote:
How do I set the correct Aspect Ratio?

For what I think you're trying to do, you shouldn't need to know how to work out aspect ratios.
If this is the screenshot you are talking about
3-Blender_Screenshot.png

I thought I had the correct aspect ratio settings set in Blender (720x480).

Resolution ≠ Aspect Ratio (Related viewing ) It's probably best to use the presets. TV NTSC 16:9 in your case.

On line 34 there's a Display aspect ratio : 16:9 tag and that tells the player to override display's resolution aspect with a predefined aspect ratio.
{P975 lines=6}

MakeMKV (what I used) tags the video file with the Display aspect ratio telling players how to display the stream.
Use something like Media Info to view the metadata.

> In #64579#679689, @bvip7 wrote: > How do I set the correct Aspect Ratio? For what I think you're trying to do, you shouldn't need to know how to work out aspect ratios. If this is the screenshot you are talking about ![3-Blender_Screenshot.png](https://archive.blender.org/developer/F7037782/3-Blender_Screenshot.png) >I thought I had the correct aspect ratio settings set in Blender (720x480). Resolution ≠ Aspect Ratio ([Related viewing ](https://www.youtube.com/playlist?list=PLQlvLOFtrgKY3enLaI6KzxJYOntg5SAh0)) It's probably best to use the presets. `TV NTSC 16:9` in your case. On line 34 there's a `Display aspect ratio : 16:9` tag and that tells the player to override display's resolution aspect with a predefined aspect ratio. {[P975](https://archive.blender.org/developer/P975.txt) lines=6} MakeMKV (what I used) tags the video file with the `Display aspect ratio` telling players how to display the stream. Use something like [Media Info ](https://mediaarea.net/en/MediaInfo) to view the metadata.
Author

In #64579#679778, @ChristopherAnderssarian wrote:

In #64579#679689, @bvip7 wrote:
How do I set the correct Aspect Ratio?

For what I think you're trying to do, you shouldn't need to know how to work out aspect ratios.
If this is the screenshot you are talking about
3-Blender_Screenshot.png

I thought I had the correct aspect ratio settings set in Blender (720x480).

Resolution ≠ Aspect Ratio (Related viewing ) It's probably best to use the presets. TV NTSC 16:9 in your case.

I understand now that the "preset" is what controls the aspect ratio possibilities. This was not clear to me before and I see now that changing the preset allows one to choose different aspect ratios.

Although the NTSC 16:9 preview does not show the "black bars" giving the impression that the aspect ratio is not correct, the aspect ratio is preserved after render. So I think that maybe you guys could consider making the preview pane display how it would look after render (i.e., show the black bars if they will be present) so people will know exactly what they are getting.

Thank you so much for your help! I really appreciate it.

> In #64579#679778, @ChristopherAnderssarian wrote: >> In #64579#679689, @bvip7 wrote: >> How do I set the correct Aspect Ratio? > > For what I think you're trying to do, you shouldn't need to know how to work out aspect ratios. > If this is the screenshot you are talking about > ![3-Blender_Screenshot.png](https://archive.blender.org/developer/F7037782/3-Blender_Screenshot.png) > >>I thought I had the correct aspect ratio settings set in Blender (720x480). > > Resolution ≠ Aspect Ratio ([Related viewing ](https://www.youtube.com/playlist?list=PLQlvLOFtrgKY3enLaI6KzxJYOntg5SAh0)) It's probably best to use the presets. `TV NTSC 16:9` in your case. > I understand now that the "preset" is what controls the aspect ratio possibilities. This was not clear to me before and I see now that changing the preset allows one to choose different aspect ratios. Although the NTSC 16:9 preview does not show the "black bars" giving the impression that the aspect ratio is not correct, the aspect ratio is preserved after render. So I think that maybe you guys could consider making the preview pane display how it would look after render (i.e., show the black bars if they will be present) so people will know exactly what they are getting. Thank you so much for your help! I really appreciate it.

Added subscriber: @tintwotin

Added subscriber: @tintwotin

Trouble is that DVD material both needs a PAR and a DAR correction to look correct on a computer:
https://en.m.wikipedia.org/wiki/Pixel_aspect_ratio
https://en.m.wikipedia.org/wiki/Display_aspect_ratio

Trouble is that DVD material both needs a PAR and a DAR correction to look correct on a computer: https://en.m.wikipedia.org/wiki/Pixel_aspect_ratio https://en.m.wikipedia.org/wiki/Display_aspect_ratio

Trouble is that DVD material both needs a PAR and a DAR correction to look correct on a computer:

This doesn't make sense. They are practically the same. If you have DAR, you know how to display the video. PAR is used to find DAR.
https://en.wikipedia.org/wiki/Pixel_aspect_ratio Here says exactly that the video's DAR = SAR × PAR.
SAR is from video's resolution. DAR is in the metadata.

Maybe confusing monitor's DAR.
This talks about monitor's DAR, not video's. https://en.wikipedia.org/wiki/Display_aspect_ratio
Nothing to do with blender.

From the article:

Poorly crafted user-interfaces or poorly written documentations can easily cause such confusion.

Did they had a specific software in mind? Aspect X and Aspect Y is confusing. It was a bit clearer in 2.79.

>Trouble is that DVD material both needs a PAR and a DAR correction to look correct on a computer: This doesn't make sense. They are practically the same. If you have DAR, you know how to display the video. PAR is used to find DAR. https://en.wikipedia.org/wiki/Pixel_aspect_ratio Here says exactly that the video's DAR = SAR × PAR. SAR is from video's resolution. DAR is in the metadata. Maybe confusing monitor's DAR. This talks about monitor's DAR, not video's. https://en.wikipedia.org/wiki/Display_aspect_ratio Nothing to do with blender. From the article: >Poorly crafted user-interfaces or poorly written documentations can easily cause such confusion. Did they had a specific software in mind? Aspect X and Aspect Y is confusing. It was a bit clearer in 2.79.

DAR is the final displayed aspect ratio, FAR is the frame aspect ratio, and PAR is the pixel aspect ratio.

DAR = FAR * PAR

Ex.

DAR = 720:576 * 16:15
DAR = 720 / 576 * 16 / 15
DAR = 1.33...
DAR is the final displayed aspect ratio, FAR is the frame aspect ratio, and PAR is the pixel aspect ratio. ``` DAR = FAR * PAR ``` Ex. ``` DAR = 720:576 * 16:15 DAR = 720 / 576 * 16 / 15 DAR = 1.33... ```
Author

There is a function where selecting: "Strip > Set Render Size" automatically populates the correct resolution. It would sure be great to have "Set Render Size" also automatically select the "correct" preset too so that the aspect ratio is made accurate to the source.

I don't know if this is technically possible but it would be great for people who are just trying to match the source material. Then one could select "Strip > Set Render Size" and know for sure that their settings are recreating the source material accurately.

There is a function where selecting: "Strip > Set Render Size" automatically populates the correct resolution. It would sure be great to have "Set Render Size" also automatically select the "correct" preset too so that the aspect ratio is made accurate to the source. I don't know if this is technically possible but it would be great for people who are just trying to match the source material. Then one could select "Strip > Set Render Size" and know for sure that their settings are recreating the source material accurately.

This issue was referenced by eee704a83f

This issue was referenced by eee704a83f6922810589f4a79012bd21075a7339

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#64579
No description provided.