convert mp4 video to avi video with GStreamer

I have tried with GStreamer pipeline to convert mp4 video to avi video but it is convert without sound

gst-launch -t -v filesrc location=source.mp4 ! qtdemux ! ffdec_h264 ! video/x-raw-yuv ! avimux ! filesink location=result-yuv.avi


如果你想在你的avi文件中使用音频,试试这个管道:

gst-launch-0.10 -t -v filesrc location=source.mp4 ! qtdemux name=demux ! queue ! ffdec_h264 ! video/x-raw-yuv ! queue ! avimux name=mux ! filesink location=result-yuv.avi demux. ! queue ! decodebin ! audioconvert ! queue ! mux.
链接地址: http://www.djcxy.com/p/7642.html

上一篇: gstreamer在c ++中添加textoverlay

下一篇: 使用GStreamer将mp4视频转换为avi视频