2019-02-15, 23:14
(2019-02-15, 23:00)primaeval Wrote:same happens without the fifo setting too,(2019-02-15, 22:50)hsh24 Wrote:I would hazard a guess that it is something to do with pthreads.(2019-02-14, 10:30)primaeval Wrote: You should be able to add the complete url in your m3u file.Thanks for the input,
The ? query string isn't stripped off in the program.Code:#EXTINF:-1 tvg-id="cbbc" tvg-logo="https://server/cbbc.jpg" group-title="Kids",CBBC
udp://10.1.1.238:1234?fifo_size=1000000
You can use the | syntax to add extra headers to ffmpeg in the url. eg
You can also add extra ffmpeg arguments in "Settings\Jobs and Rules\Optional extra ffmpeg arguments"
I'm having trouble with ffmpeg not quitting when a recording time comes to an end.
for reference I'm using ffmpeg enabled with pthreads since my streams are udp.
I can only quit Kodi once I manually kill ffmpeg process otherwise Kodi hangs when quitting.
And when I kill the ffmpeg process I get the recording has finished prompt.
Any idea why this is happening?
other builds without pthreads works ok.
A quick google for "ffmpeg pthreads hangs" came up with a few suspects.
Is that fifo setting necessary? It might keep it waiting to fill the last buffer if no more packets arrive.
I doubt if udp has been very high on the development list either. Bugs are less likely to be found than in more common protocols.
In fact it might even be impossible to tell when the stream has finished with udp as there is no handshake or disconnection event.
Try googling "ffmpeg udp hangs" too. There are some reports there too.
I'll dig around to find something that helps, in the meantime I got another stable build(without pthreads) which is working ok.
Thanks for the quick reply.