[英]How to capture only video from audio-video file using gstreamer
我只想从音频视频文件中捕获视频,该文件格式为.webm,我将其转换为.mp4格式,该格式将仅包含视频文件。
gst启动文件rc location = / home / project / teri_meri_kahaani_theatrical_trailer_2.webm! encodebin2! ffenc_mpeg2video! mpegvideoparse! 排队! filesink位置= / home / project / h.mp4
我使用了这个管道,但是没有用。 请告诉我该怎么做...
谢谢你苛刻
您忘记添加多路复用器。 尝试
gst-launch filesrc location=/home/project/teri_meri_kahaani_theatrical_trailer_2.webm ! decodebin2 ! ffenc_mpeg2video ! mpegvideoparse ! mp4mux ! filesink location=/home/project/h.mp4
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.