piping from ffmpeg to gstreamer - windows command line

Dragan Randjelovic logicomyu at gmail.com
Sat Jun 15 16:18:30 UTC 2019


 How to pipe from ffmpeg to gstreamer in windows command line ? I try with
fdsrc fd=0 but it doesnt work. The closest I could get was with filesrc
location=con:0.

ffmpeg -nostats -loglevel 0 -stream_loop -1 -r 25000/1000 -re -i
C:\testclip.ts  -map 0 -c: copy  -f mpegts - | gst-launch-1.0 -e -v filesrc
location=*con:0* ! queue ! tsparse set-timestamps=true ! tsdemux name=d
d.video_0_0100 ! h264parse ! queue ! mpegtsmux name=mx alignment=7 !
srtserversink uri=srt://:8888/ latency=100 d.audio_0_0101 ! mpegaudioparse
! audio/mpeg ! queue ! mx.sink_66 d.audio_0_0102 ! mpegaudioparse !
audio/mpeg ! queue ! mx.sink_67

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
handling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


If I just put filesrc location= C:\testclip.ts, pipeline is rolling.

Could you please help me with piping.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190615/07524ea0/attachment.html>


More information about the gstreamer-devel mailing list