Hello, everyone!
When creating a new project, the aspect ratio was 16:9 (like the original file), but when rendering, the final file has a 5:4 aspect ratio. How can I fix it?
I would be grateful for any help.
I can not reproduce the problem you are seeing. Which render format are you using? Perhaps it is changed due to that format requirements. Here are the steps I took and they worked perfectly.
1) File-> new project
2) changed format to 16:9
3) loaded to Resources only a video of 16:9 aspect ratio
4) rendered using format ffmpeg/mp4 (h264.mp4)
Resulting file was also 16:9. I also tried the same file BUT this time used the Settings->Format option to change the format to 4:3; did the render; and the resulting aspect ratio was as designated 4:3.
Or perhaps you had another video loaded on another track that changed the format?
Try this: right before you start the Render, check Settings->Format to make sure it read 16:9.
the above 2 may have more insight.
I also have no aspect ratio problem with rendering.
Could you provide more data? What filters did you use? What rendering profile did you use? Did you use the Camera/Projector tools? Do you use a proxy? ...
Thank you for your help. Yes, when using mp4, the aspect ratio is preserved. But I used container MKV (flac.mkv, ffv1.mkv), and that's where the problems arose, the aspect ratio is not saved.
Using MKV with the same parameters preserves the 16:9 aspect ratio when I test that too. I used the program "mediainfo" to verify that and the results are shown below. I started out with the default $HOME/.bcast5/Cinelerra_rc file just to make sure that I had not introduced any specific settings.
Complete name : rendered.mkv
Format : Matroska
Format version : Version 4
File size : 5.54 GiB
Duration : 1 min 19 s
Overall bit rate mode : Variable
Overall bit rate : 599 Mb/s
Writing application : Lavf59.27.100
Writing library : Lavf59.27.100
ErrorDetectionType : Per level 1
Video
ID : 1
Format : FFV1
Format version : Version 3.4
Codec ID : V_MS/VFW/FOURCC / FFV1
Duration : 1 min 19 s
Bit rate mode : Variable
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
...
Audio
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 1 min 19 s
Bit rate mode : Variable
Channel(s) : 2 channels
@rminavesi, Could you check that your source video is not recorded with anamorphic format, please?
Anamorphic format doesn't use square pixels. What I know, FFV1 on mkv container don't care DAR (Display Aspect Ratio).
You can chech that using Mediainfo program.
@igorbeg Mediainfo
Video
Format : DV
Commercial name : DVCAM
Duration : 4 min 51 s
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Time code of first frame : 00:00:00:11
Time code source : Subcode time code
Stream size : 849 MiB (85%)
Thanks @Rminavesi for the Mediainfo info!
Yes, this is an anamorphic format. Because 720/576=1.25 and DAR is 16/9=1.777.
SAR (Storage Aspect Ratio) is different from DAR and you have to use a workaround.
You can see an excellent workaround in "Cinelerra for Grandma" site by Raffaella Traniello:
http://www.g-raffa.eu/Cinelerra/HOWTO/anamorphic.html
I hope it help.
Thanks Igor for explaining this. I have added this usage hint to the manual. (Andrea please review the checked in change and correct any mistakes).