Linux Howto play local ffmpeg stream?
#1
Hi!

As I already asked in 2882396 (post) I would like to show a stream that is generated on the same box by ffmpeg, preferrable with a pipe. Could anybody give me a hint how to do this?

KR,
Christof
Reply
#2
put the url in a file with .strm extension. play the .strm file in kodi.
Reply
#3
(2019-09-04, 09:53)spiff Wrote: put the url in a file with .strm extension. play the .strm file in kodi.
ffmpeg is running on the same machine, so the URL would be something with localhost. So I would have to tell ffmpeg to stream to a local port and put this in the *.strm-file.

But isn't there a better way to tell ffmpeg that the output shall be on the monitor of the KODI system (which is xbian, by the way). The classical way of Unix and Linux is to use a pipe where one program streams its output and the other program gets its input. Is it possible in the KODI ecosystem to launch an external program and output the result via the video player?
Reply
#4
a named pipe would work just fine - the url can be a local path, see e.g. (first google hit..) https://stackoverflow.com/questions/3258...named-pipe
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Howto play local ffmpeg stream?00