嵌入式开发者社区

标题: AM5728 采集的视频抖动问题 [打印本页]

作者: linuxfans    时间: 2018-8-14 17:49
标题: AM5728 采集的视频抖动问题
       板子是TL5728-EasyEVM-A2 的板子,之前测试一直没有注意,最近注意到,使用TL5158 模块进行视频采集的时候,静止拍一个地方的时候,播放出来的视频会抖动,有轻微的抖动情况。
       已经排除了是摄像头的问题,因为我们这边的两个摄像头通过视频采集卡读取显示的视频都是正常的,无抖动情况。
       我使用的Gstreamer 测试管道如下:
          gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288' ! vpe num-input-buffers=8 ! queue ! waylandsink


      获得720*576的h.264 视频文件
      gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288' ! vpe num-input-buffers=8 ! 'video/x-raw, format=(string)NV12, width=(int)720, height=(int)576' ! queue  !ducatih264enc bitrate=4000 profile=66 level=30 ! queue ! h264parse ! filesink location=test_enc.h264


      百度云百度云附件:视频抖动    附件中为我们测试保存的视频,可以明显感觉到视频画面在跳动,麻烦创龙技术人员验证一下,给出一些建议。





作者: linuxfans    时间: 2018-8-15 13:26
请问创龙技术工程师遇到过该问题吗?
作者: czs----Tronlong    时间: 2018-8-15 14:44
您好,是的。使用gst-launch-1.0确实会出现抖动的现象,使用我司提供的 dmabuftest 工具不会有抖动。我们主要提供的是驱动底层的实现,具体的优化可能需要您根据实际的应用去实现,可以参照如下案例开发:
[attach]3538[/attach]
[attach]3539[/attach]





欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4