【问题标题】:Gstreamer: Turn YUV(4:2:2) raw video into mp4 (w/ h264 encoding)Gstreamer:将 YUV(4:2:2) 原始视频转换为 mp4(带 h264 编码)
【发布时间】:2018-08-23 18:27:25
【问题描述】:

这是我正在运行的,但是,它不起作用。这个命令有什么问题?

gst-launch-1.0 filesrc location=file.yuv ! video/x-raw, format=YUY2 ! decodebin ! \
               videoconvert ! omxh264enc ! queue ! filesink location=output.mp4

错误:管道不想暂停 错误:无法初始化支持库

【问题讨论】:

    标签: gstreamer mp4 h.264 yuv


    【解决方案1】:

    这里有很多问题。这个至少应该让你更接近..

    gst-launch-1.0 filesrc location=file.yuv ! rawvideoparse format=yuy2, width=xxx, height=xxx ! \
    videoconvert ! omxh264enc ! queue ! mp4mux ! filesink location=output.mp4
    

    【讨论】:

      猜你喜欢
      • 2014-01-03
      • 2021-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-14
      • 2022-11-02
      • 2015-06-14
      • 1970-01-01
      相关资源
      最近更新 更多