Transmisión http con gst-launch (GStreamer)

Transmisión http con gst-launch (GStreamer)

¿Cómo hago streaming http con GStreamer?

Sí, lo busqué en Google y no pude encontrar una respuesta a esta simple pregunta en ninguna parte.

Respuesta1

Creo que puedes usar un nuevo hlssinkcomplemento.

Tubería simple para probar hlssinklocalmente:
gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! hlssink max-files=5
luego ejecute vlc:
cvlc playlist.m3u8

Si desea transmitir a través de la red, inicie su servidor web y corrija la tubería:
gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! hlssink max-files=5 playlist-root=http://server.com location=/var/www/hlssink playlist-location=/var/www/hlssink
allí
/var/www/hlssinkestá su document_rootdirectorio
y http://server.com/playlist.m3u8la lista de reproducción abierta.vlc

Respuesta2

información relacionada