Skip to content

视频转场导出视频的长度的疑问 #37

Description

@alawnchen

sudo xvfb-run -a --server-args="-screen 0 1280x720x24 -ac -nolisten tcp -dpi 96 +extension RANDR" /home/abc/FFmpeg-PlusPlus/ffmpeg -v debug -ss 0 -t 6 -i 0.mp4 -filter_complex "[0:v]scale=2560:1600[scale0];[scale0]fadeglshader=offset=3:fade_duration=1:ext_source=./1.mp4:vxsource=gl_fade/fade_vertex.gl:sdsource=gl_fade/fade_shader.gl[effects];[effects]scale=1000:1000" -vcodec libx264 -an -pix_fmt yuv420p -y f1.mp4
我使用了以上命令想给0.mp4和1.mp4之间加个转场,我发现正常导出了,视频也确实可以播放。但是两个都是3秒长的视频出来为什么不是6秒长的视频,而只有4秒呢呢?麻烦解惑一下,谢谢!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions