簡體   English   中英

FFmpeg 帶有時間碼/幀號的Idet?

[英]FFmpeg Idet with Timecode/Frame Number?

是否可以讓 ffmpeg 告訴您在運行 idet 過濾器時它認為哪些幀是隔行掃描/逐行掃描的?

我的用例是,當在文件中檢測到隔行掃描幀時,我需要能夠知道 ffmpeg 認為哪些幀是隔行掃描的,因此我可以輕松地將它們拉起並檢查 ffmpeg 在評估中是否正確。 有時 animation 中的鋸齒和細線會使其消失。

idet 過濾器將每幀確定存儲為元數據,可以使用元數據過濾器將其轉儲到文件中,例如

ffmpeg -i input -vf idet,metadata=print:file=idet.log -f null -

每個幀日志的形式為,

frame:2    pts:1024    pts_time:0.0666667
lavfi.idet.repeated.current_frame=neither
lavfi.idet.repeated.neither=3.00
lavfi.idet.repeated.top=0.00
lavfi.idet.repeated.bottom=0.00
lavfi.idet.single.current_frame=progressive
lavfi.idet.single.tff=0.00
lavfi.idet.single.bff=0.00
lavfi.idet.single.progressive=2.00
lavfi.idet.single.undetermined=1.00
lavfi.idet.multiple.current_frame=progressive
lavfi.idet.multiple.tff=0.00
lavfi.idet.multiple.bff=0.00
lavfi.idet.multiple.progressive=2.00
lavfi.idet.multiple.undetermined=1.00

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM