Le 13.03.2014 17:28, Pad Anius a écrit :
> Hi There,
>
> I am trying the latest liquidsoap from git and I would like to feed
> avserver/ffserver with the video stream generated by liquidsoap and
> then
> re-distribute it to multiple users using the many formats & options
> available by
> avserver/ffserver.
>
> However I am lost at how liquidsoap could possibly be used to take
> the generated
> video stream and pass it to avcoder (or ffmpeg) to feed the
> ffserver/avserver.
>
> I've seen examples on how feed ffserver with mp3 audio, like this:
>
> output.external(
> %mp3(bitrate=128,stereo_mode="stereo",samplerate=48000),
> fallible=true,
> "ffmpeg -i - -acodec copy -f mpegts
> udp://10.1.1.101:5000,?pktsize=1316",
> source
> )
>
> .. but no example with video ??
Don't forget to redirect the stdout of ffmpeg if you don't want have
memory increase.
output.external(
%mp3(bitrate=128,stereo_mode="stereo",samplerate=48000),
fallible=true,
"ffmpeg -i - -acodec copy -f mpegts
udp://10.1.1.101:5000?pktsize=1316\&ttl=1 >/dev/null 2>&1",
source
)
Yoann
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users