piping from ffmpeg to gstreamer - windows command line

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

piping from ffmpeg to gstreamer - windows command line

Dragan Randjelovic
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.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel