Testpattern

简介: Testpattern

ffmpeg -h demuxer=decklink


//udp->deck

ffmpeg -i udp://127.0.0.1:6017 -max_delay 0 -preset ultrafast -tune zerolatency -threads 8 -fflags nobuffer -pix_fmt uyvy422 -ar 48000 -f decklink 88:25a7cda0:00000000

//video0->udp

ffmpeg -framerate 25 -video_size 640x480 -max_delay 0 -threads 16 -fflags nobuffer -i /dev/video0 -max_delay 0 -s 1920x1080 -preset ultrafast -tune zerolatency -threads 16 -fflags nobuffer -acodec libfdk_aac -vcodec h264 -r 25 -f mpegts udp://192.168.100.77:6017


ffplay -max_delay 1000 -fflags nobuffer -preset ultrafast -tune zerolatency -threads 16 -i udp://127.0.0.1:6016


//mp4->udp

ffmpeg -stream_loop -1 -re -i westLife_25.mp4 -s 1920x1080 -vcodec h264 -acodec libfdk_aac -preset ultrafast -threads 8 -f mpegts udp://127.0.0.1:6017


方案一:

摄像机1080i50

./Capture -d 1 -m -1 -v video.raw -a audio.raw

./TestPattern -d 0 -m 17

ffmpeg -i udp://127.0.0.1:6017 -max_delay 0 -preset ultrafast -tune zerolatency -threads 8 -fflags nobuffer -pix_fmt uyvy422 -ar 48000 -f decklink 88:25a7cda0:00000000

udp->udp 127

1.3s:TestPattern

6.12s:命令


方案二:

摄像机1080 level A

./Capture -d 1 -m -1 -v video.raw -a audio.raw

./TestPattern -d 0 -m 17

ffmpeg -i udp://127.0.0.1:6017 -max_delay 0 -preset ultrafast -tune zerolatency -threads 8 -fflags nobuffer -pix_fmt uyvy422 -ar 48000 -f decklink 88:25a7cda0:00000000

10s:TestPattern

18s命令


方案三:

摄像机1080 level B

14s:TestPattern

18s:命令


方案四:端午跑三天待测结果 音频用的frame_48000->pts 视频用的num*40ms

摄像机->过汇聚->TestPattern 1080i50 6M

2.68s:TestPattern 一天两夜不崩,延时不累积,17帧。

2.48s:ffplay但抖动很大,也比较频繁


查看所有已支持的滤镜

ffmpeg -filters

查看doubleweave这个滤镜的参数选项

ffmpeg -h filter=doubleweave

ffplay -vf “weave=first_field=top” -i ‘/home/yqw/Demo/westLife.mp4’


一路3840x2168 p50

i9 8核16线程 id 88

ffplay -fflags nobuffer udp://127.0.0.1:6017


相关文章
|
Java Apache 容器
Invalid <url-pattern> /admin/*.jsp in filter mapping
完成错误信息 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.
1178 0
|
7月前
|
Java 数据库连接 mybatis
mybatis参数报错Parameter ‘docId‘ not found. Available parameters are [arg1, arg0, param1, param2]
mybatis参数报错Parameter ‘docId‘ not found. Available parameters are [arg1, arg0, param1, param2]
Invalid mapping pattern detected: /download/{{fileName}} ^Not allowed to nest variable c
Invalid mapping pattern detected: /download/{{fileName}} ^Not allowed to nest variable c
|
Java 数据库连接 mybatis
mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’
mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’
2136 0
mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’
|
设计模式 uml
雇工模式(Employee Pattern)
雇工模式(Employee Pattern)也叫作仆人模式(Servant Pattern),属于行为型设计模式,它为一组类提供通用的功能,而不需要类实现这些功能,也是命令模式的一种扩展。
61 0
|
编解码 缓存 负载均衡
TestPattern error
TestPattern error
438 0
find_package
find_package
110 1
|
SQL Java 数据库
PreparedStatement 模糊匹配 结果却:Parameter index out of range (1 > number of parameters, which is 0)
PreparedStatement 模糊匹配 结果却:Parameter index out of range (1 > number of parameters, which is 0)
483 0
|
JavaScript HTML5 移动开发