Skip to content

Commit 02fef51

Browse files
authored
3.2.3
1 parent e2d4a50 commit 02fef51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

presets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ the use of variables like %1 or %fn). Due to table formatting, if a preset fails
1616
| Create duplicated stereoscopic video output | |-c:v libx264 -crf 23 -vf stereo3d=al:sbsl -c:a copy |mp4|
1717
| Create a 4 videos mosaic into one video. (You need first to add video1 to file list and match video names in parameters) | | -i C:\Videos\v2.mp4 -i C:\Videos\v3.mp4 -i C:\Videos\v4.mp4 -c:v libx264 -preset fast -crf 23 -filter_complex "[0:v][1:v][2:v][3:v]xstack=inputs=4:layout=0_0\|w0_0\|0_h0\|w0_h0[v]" -map "[v]" |mp4|
1818
| Add top left overlay logo, display filename on top right corner, and video duration countdown at bottom right corner | | -i "C:\Datos\Test.png" -filter_complex "[1:v][0:v]scale2ref=(113/113)\*ih/13/sar:ih/13[wm][base];[base][wm]overlay=x=main_w\*0.01:y=main_h\*0.03,drawtext=fontsize=(h/40):fontcolor=white:fontfile=arial:text=%fn:x=w-(h/37)-300:y=(h/50),drawtext=fontfile=arial:text='\ %{eif\\:(mod((%fdur-t)/3600, 60))\\:d\\:2}\\:%{eif\\:(mod((%fdur-t)/60, 60))\\:d\\:2}\\:%{eif\\:(mod(%fdur-t, 60))\\:d\\:2}':fontcolor=white:fontsize=(h/40):x=w-tw-(h/37):y=h-th-(h/54):box=1:boxcolor=black@0.0:boxborderw=10" -c:v libx264 -crf 23 -c:a copy| mkv |
19-
| Burn subtitles from source file (first subtitle stream) encoded as h264 and audio stream copy to MKV | |-c:v libx264 -crf 23 -vf subtitles=%ff:stream_index=0 -c:a copy -sn | mkv |
19+
| Burn subtitles from source file (first subtitle stream) encoded as h264 and audio stream copy to MKV | | -c:v libx264 -crf 23 -vf "subtitles=%f1:stream_index=0" -c:a copy -sn | mkv |
2020
| To use with trim button: Trim using streamcopy avoiding initial negative pts issue to MP4 | |-c copy -avoid_negative_ts make_zero | mp4 |
2121
| Batch create videos from a single image and audio file to MP4 | -loop 1 -r 1/1 -i "C:\yourfolder\YourImage.jpg" |-c:v libx264 -preset veryfast -vf fps=1 -crf 23 -tune stillimage -pix_fmt yuv420p -vf scale=1280:720 -c:a aac -shortest | mp4 |
2222
| Add a watermark at bottom right corner (replace Test.png, tweak -20 parameters) | | -i "C:\\Users\\Test\\Videos\\Test.png" -c:v libx264 -crf 23 -preset fast -filter_complex "overlay=x=(main_w-overlay_w)-20:y=(main_h-overlay_h)-20" -c:a copy | mp4 |

0 commit comments

Comments
 (0)