Linux/macOS 命令摘录

  • MacOS 安装映像制作:

    sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/UNTITLED
    
  • 从MP4提取H264流:

    ffmpeg -i file.mp4 -an -vcodec copy -bsf:v h264_mp4toannexb output.h264