gst-launch-1.0不录制仅音频视频

时间:2018-07-06 11:48:42

标签: gstreamer transcoding gst-launch-1.0

嗨,大家好,我在rtranscode的帮助下管理了这个管道。但它仅记录视频,不包含声音。我想念什么?

gst-launch-1.0 souphttpsrc location="http://example/2.ts" is-live=true keep-alive=true do-timestamp=true retries=10 typefind=true blocksize=16384 \
!  tsdemux parse-private-sections=false program-number=-1 name=demux demux.audio_0101 \
!  queue \
!  aacparse \
!  avdec_aac \
!  audioconvert dithering=0 \
!  audio/x-raw,channels=2 \
!  voaacenc bitrate=65536 \
!  matroskamux name=stream streamable=true demux. \
!  queue \
!  h264parse \
!  video/x-h264,alignment=au \
!  omxh264dec \
!  video/x-raw,width=910,height=512 \
!  omxh264enc target-bitrate=294912 control-rate=variable \
!  h264parse \
!  filesink location="test.h264"

0 个答案:

没有答案