实际上,我无法将所有三个任务存储在一个文件中。 1个文件 2蒸 3-将两个音频视频存储在一个文件中。
答案 0 :(得分:0)
我尝试了各种方法
gst-launch-1.0 uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80 name = u u。 !音频转换!米你!视频转换!米avimux名称= m! multifilesink location = test2%d.wav next-file = 4 max-file-size = 5120000000
gst-launch-1.0 uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80 name = u u。 !音频转换!米你!视频转换! avenc_mpeg2video!米matroskamux名称= m! filesink location = ts.mp4
gst-launch-1.0 uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80 name = u u。 !音频转换!米你!视频转换!米avimux名称= m! multifilesink location = test.mkv
gst-launch-1.0 uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80 name = u u。 !音频转换!米你!视频转换!米matroskamux名称= m! filesink location = test.mkv
gst-launch-1.0 uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80!音频转换!米uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80!视频转换!米matroskamux名称= m! filesink location = test.mkv
但是这一次可以完成所有任务
gst-launch-1.0 uridecodebin uri = rtsp:// admin:密码#@192.168.1.109:80 name = u u。 !音频转换!米你!视频转换! avenc_mpeg2video! textoverlay text =“ Utsav” valignment = top halignment = left font-desc =“ Sans,72”!米matroskamux名称= m! multifilesink location = success2%d.mp4 next-file = 4 max-file-size = 10240000