-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
视频加水印后没有声音了。 #27
Comments
const { FFCreatorCenter, FFScene, FFImage, FFVideo, FFText, FFCreator } = require(__dirname + '/node_modules/ffcreatorlite'); async function init() {
} |
场景加不上背景音乐 scene1.addAudio('C:/Users/71216/OneDrive/Desktop/files/1.mp3'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FFCreator start
single: ffmpeg -loop 1 -i c:\NIJI\project\cms\EmailCMS\node_modules\ffcreatorlite\lib\assets\blank.png -i C:/Users/71216/OneDrive/Desktop/files/外访云谷.mp4 -loop 1 -i C:/Users/71216/OneDrive/Desktop/files/filesLOGO视频.png -y -filter_complex color=c=#ffffff:d=10:size=1920*1080[background2-0];[background2-0][0:v]overlay=x=-10:y=0[image1-1];[image1-1][1:v]overlay=x=0:y=0[video1-1];[video1-1][2:v]overlay=x=0:y=0[image4-1] -map [image4-1] -r 24 -threads 2 -t 10 -hide_banner -map_metadata -1 -map_chapters -1 -c:v libx264 -profile:v main -preset medium -crf 20 -movflags faststart -pix_fmt yuv420p -map 0 c:\NIJI\project\cms\EmailCMS/temp/ou5fu8jqpxmndnq6/scene1.mp4
single: ffmpeg -loop 1 -i c:\NIJI\project\cms\EmailCMS\node_modules\ffcreatorlite\lib\assets\blank.png -loop 1 -i C:/Users/71216/OneDrive/Desktop/files/业务表.png -y -filter_complex color=c=#000000:d=3:size=1920*1080[background4-0];[background4-0][0:v]overlay=x=-10:y=0[image2-1];[image2-1][1:v]overlay=x=0:y=0[image5-1] -map [image5-1] -r 24 -threads 2 -t 3 -hide_banner -map_metadata -1 -map_chapters -1 -c:v libx264 -profile:v main -preset medium -crf 20 -movflags faststart -pix_fmt yuv420p -map 0 c:\NIJI\project\cms\EmailCMS/temp/2uenhoyn2tlhs8hr/scene2.mp4
single: ffmpeg -loop 1 -i c:\NIJI\project\cms\EmailCMS\node_modules\ffcreatorlite\lib\assets\blank.png -loop 1 -i C:/Users/71216/OneDrive/Desktop/files/尾图.png -y -filter_complex color=c=#000000:d=2:size=1920*1080[background6-0];[background6-0][0:v]overlay=x=-10:y=0[image3-1];[image3-1][1:v]overlay=x=0:y=0[image6-1] -map [image6-1] -r 24 -threads 2 -t 2 -hide_banner -map_metadata -1 -map_chapters -1 -c:v libx264 -profile:v main -preset medium -crf 20 -movflags faststart -pix_fmt yuv420p -map 0 c:\NIJI\project\cms\EmailCMS/temp/tv33r1wgixu3unj8/scene3.mp4
ffmpeg -i c:\NIJI\project\cms\EmailCMS/temp/ou5fu8jqpxmndnq6/scene1.mp4 -i c:\NIJI\project\cms\EmailCMS/temp/2uenhoyn2tlhs8hr/scene2.mp4 -i c:\NIJI\project\cms\EmailCMS/temp/tv33r1wgixu3unj8/scene3.mp4 -y -filter_complex [0:v][1:v]xfade=transition=rectcrop:duration=1.5:offset=8.5[scene-0];[scene-0][2:v]xfade=transition=wipedown:duration=1.5:offset=10[scene-1] -map [scene-1] -hide_banner -map_metadata -1 -map_chapters -1 -c copy -c:v libx264 -profile:v main -preset medium -crf 20 -movflags faststart -pix_fmt yuv420p -r 24 wj.mp4
The text was updated successfully, but these errors were encountered: