I'm trying to use FFMpeg to adapt 4:3 (SD) to 16:9 (HD) and reverse function.
- When SD is converted to HD, I need to add pillarboxes around the content.
- When HD is converted to SD, I need to add textboxes.
- Reverse of 1, I need to remove the pillarbox to convert to SD.
- Reverse of 2, I need to remove the textbox to convert to HD.
For 1, I already found a solution:
ffmpeg -i input43.mp4 -vf "scale=640x480,setsar=1,pad=854:480:107:0" out43HD.mp4
But what are the commands to do 2, 3, and 4?