doc:appunti:linux:video:fix_smartphone_portrait_videos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
doc:appunti:linux:video:fix_smartphone_portrait_videos [2018/04/07 15:38] – [The Python Script] niccolo | doc:appunti:linux:video:fix_smartphone_portrait_videos [2018/04/07 15:41] – [The Gradient Overlay Mask] niccolo | ||
---|---|---|---|
Line 36: | Line 36: | ||
===== The Gradient Overlay Mask ===== | ===== The Gradient Overlay Mask ===== | ||
- | When the cropped image is placed above the background, it is quite annoying to see the **sharp edge** of the image. A better approach is to gradually fade the image at the right and at left edges. This requires to blend the image and the background using a **gradient mask**. We prepared the mask as a PNG image, using **convert** | + | When the cropped image is placed above the background, it is quite annoying to see the **sharp edge** of the image. A better approach is to gradually fade the image at the right and at left edges. This requires to blend the image and the background using a **gradient mask**. We prepared the mask as a **{{gradient_overlay_mask.png? |
< | < | ||
Line 46: | Line 46: | ||
-composite -channel a -negate -rotate 90 tmp_mask.png | -composite -channel a -negate -rotate 90 tmp_mask.png | ||
</ | </ | ||
- | |||
- | {{gradient_overlay_mask.png? | ||
===== The ffmpeg Recipe ===== | ===== The ffmpeg Recipe ===== |
doc/appunti/linux/video/fix_smartphone_portrait_videos.txt · Last modified: 2018/04/07 15:47 by niccolo