<input id="0qass"><u id="0qass"></u></input>
  • <input id="0qass"><u id="0qass"></u></input>
  • <menu id="0qass"><u id="0qass"></u></menu>

    ffmpeg vsync參數分析


    -vsync parameter
    Video sync method. For compatibility reasons old values can be specified as numbers. Newly added values will have to be specified as strings always.
    0, passthrough
    Each frame is passed with its timestamp from the demuxer to the muxer.
    1, cfr
    Frames will be duplicated and dropped to achieve exactly the requested constant frame rate.
    2, vfr
    Frames are passed through with their timestamp or dropped so as to prevent 2 frames from having the same timestamp.
    As passthrough but destroys all timestamps, making the muxer generate fresh timestamps based on frame-rate.
    -1, auto
    Chooses between 1 and 2 depending on muxer capabilities. This is the default method.
    Note that the timestamps may be further modified by the muxer, after this. For example, in the case that the format option avoid_negative_ts is enabled.
    With -map you can select from which stream the timestamps should be taken. You can leave either video or audio unchanged and sync the remaining stream(s) to the unchanged one.


    • passthrough 每一幀從解碼器到編碼器,時間戳保持不變
    • cfr 如果指定了輸出幀率,輸入幀會按照需要進行復制(如果輸出幀率大于輸入幀率)或丟棄(如果輸出幀率小于輸入幀率)
    • vfr 輸入幀從解碼器到編碼器,時間戳保持不變;如果出現相同時間戳的幀,則丟棄之
    • drop 同 passthrough,但將所有幀的時間戳清空



    ??2020 CSDN 皮膚主題: Age of Ai 設計師:meimeiellie 返回首頁