Open meetyan opened 2 years ago
我的电脑是MacBook pro max 合成examples/image.js没有背景图也没有报错
Same issue :(
Please upload your project
When I generate the video.js from the examples project it doesn't display the video but the sound from the video is there.
When I launch the example ( Number 8 ). This is the log:
[FF] FFVideo Audio preProcessing completed!
[FF] FFVideo Video preProcessing start: ffmpeg -i /Projects/FFCreator/examples/assets/video/video1.mp4 -y -loglevel info -pix_fmt rgba -start_number 0 -vf fps=30 -qscale:v 2 -ss 00:00:03 -to 00:00:11 /Projects/FFCreator/examples/cache/g8ctl1qp1jlejnas/video_1_%d.jpg
[FF] FFVideo Video preProcessing completed: images:240-/Projects/FFCreator/examples/cache/g8ctl1qp1jlejnas/video_1_%d.jpg
[FF] Synthesis synthesis start: ffmpeg -f rawvideo -framerate 30 -s 800x600 -vcodec rawvideo -pixel_format bgra -video_size 800x600 -i pipe:0 -i /Projects/FFCreator/examples/cache/g8ctl1qp1jlejnas/video_1_audio.mp3 -y -filter_complex [1]adelay=0|0[audio0];[audio0]amix=1 -hide_banner -map_metadata -1 -map_chapters -1 -c:v libx264 -profile:v main -preset medium -crf 20 -movflags faststart -pix_fmt yuv420p -r 30 -c:a aac -t 11.5 /Projects/FFCreator/examples/output/0ir70yx5vysctsag.mp4
... (I remove the progress log)
[FF] renderFrame current frame - 342
[FF] renderFrame current frame - 343
[FF] renderFrame current frame - 344
FFCreator progress: 100%
[FF] Synthesis synthesis progress: 100% done.
------------------------------------------------------
Perf 0 2901 31106512 70729728 331726848 43.9% 41.7%
------------------------------------------------------
FFCreator completed:
USEAGE: time 2901 memory 31120840 70729728 331759616 43.9% cpu 41.7%
PATH: /ProjectsFFCreator/examples/output/0ir70yx5vysctsag.mp4
arch -arm64 brew install pkg-config cairo pango jpeg giflib librsvg
你好,在 M1 Pro 的 Mac 电脑下,按以下代码,能生成视频没报错。但里面通过
FFVideo
引入的视频是空白的,有什么办法可以解决呢?同样的代码,在 windows 和 intel mac 都正常。
依赖版本: