如何在我的命令ffmpeg中添加水印

时间:2019-03-04 23:47:45

标签: ffmpeg

我需要有关ffmpeg命令的帮助

此命令将2个视频加入字幕粘贴到第二个视频,然后以2种质量(720、360)拍摄视频

我需要在第二个条目中添加水印。

D:\electron\brenda\node_modules\ffmpeg-static\bin\win32\x64\ffmpeg.exe -i C:\Users\Andy\Desktop\entrada\intros/intro_720.mp4 -i C:\Users\Andy\Desktop\entrada\videoplayback.mp4 -filter_complex [1:v]subtitles=tmp/Heartstrings_1.ass[v1]; [0:v] [0:a] [v1] [1:a] concat=n=2:v=1:a=1 [v] [a]; [v]scale=1280:720[v2] -map [v2] -map [a] -y C:\Users\Andy\Desktop\salida/720_videoplayback.mp4 -filter_complex [1:v]subtitles=tmp/Heartstrings_1.ass[v1]; [0:v] [0:a] [v1] [1:a] concat=n=2:v=1:a=1 [v] [a]; [v]scale=640:360[v2] -map [v2] -map [a] -y C:\Users\Andy\Desktop\salida/360_videoplayback.mp4

我需要帮助,我已经待了几个小时了

1 个答案:

答案 0 :(得分:0)

“第二个输入”是指第二个输入。如果是这样,

library(tidyverse) diamonds <- diamonds %>% mutate(cut = factor(cut), color = factor(color)) reduce_for_plot <- function(data, column, how_many_levels) { column2 <- enquo(column) of_interest <- unique(data[[deparse(substitute(column))]])[1:how_many_levels] data %>% filter(!! column2 %in% of_interest) # here is where I then do some kind of mutate... to fct_drop the selected column # this line seems to work # value_to_put_in <- fct_drop(data[[deparse(substitute(column))]]) # but this line doesn't # data <- data %>% # mutate(!! column = value_to_put_in) } diamonds %>% reduce_for_plot(color, 1)