AW: stream a mp4 file to udpsink again and again

Bernhard Graaf bernhard.graaf at gmx.de
Sat Aug 17 14:56:04 UTC 2019


Use bash and run something like:



#!/bin/bash

while :

do

      gst-launch-1.0 -v filesrc location=test.mp4 ! decodebin ! x264enc !
rtph264pay ! udpsink host=224.1.1.1

done



Bernhard



  _____

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von kk
Gesendet: Freitag, 16. August 2019 09:26
An: gstreamer-devel at lists.freedesktop.org
Betreff: stream a mp4 file to udpsink again and again



Hi experts:

OS: Ubuntu 16.04.6 LTS

Gstreamer Version: GStreamer 1.8.3



My pipeline:

    gst-launch-1.0 -v filesrc location=test.mp4 ! decodebin ! x264enc !
rtph264pay ! udpsink host=224.1.1.1



What I want:

    I want to send the mp4 file again and again, does gstreamer have some
option like ffmpeg's '-stream_loop' options?



Thanks!

//dengke

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190817/d92cd8a4/attachment.html>


More information about the gstreamer-devel mailing list