Shotcut PAL-SD: Source video resized and black borders added

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

Shotcut PAL-SD: Source video resized and black borders added

Post by peter_b »

[PROBLEM]
When opening a video with PAL resolution (720x576) in Shotcut, it is squished and some vertical lines are dropped by that resize.
This not only distorts the picture in an unpretty way, but also adds black borders on the left- and right-side of the image.

[SOLUTION]
Actually this is a workaround.

The reason for the resize seems to be that by default, the PAL SD width is stored Shotcut-internally as 768 pixels.

I've therefore created a custom video mode profile:
Settings > Video Mode > Custom > Add

Entered the following values:

Code: Select all

Name: My_PAL
Resolution: 720 x 576
Aspect ratio: 4:3
FPS: 25
Scan mode: interlaced
Colorspace: ITU-R BT.601
That profile settings are located in a textfile in "~/.local/share/Meltytech/Shotcut/profiles".
Edit it with your favorite text editor. Its contents are like this:
width=720
height=576
sample_aspect_num=768
sample_aspect_den=720
display_aspect_num=4
display_aspect_den=3
progressive=0
colorspace=601
frame_rate_num=25000
frame_rate_den=1000
You see the "sample_aspect_num" being "768"?
Change that to "720", save the file and then re-load the profile in Shotcut.
Now, you 720x576 video should be displayed as-is :)
Post Reply