Skip to content

[Question] FFMPEG Flags #313

Description

@soybeans-generator

I have a stream url that every once in a while disconnect and to be able to play it in mpv, I used this flags:

--stream-lavf-o-append=reconnect_on_http_error=4xx,5xx --stream-lavf-o-append=reconnect_delay_max=30 --stream-lavf-o-append=reconnect_streamed=yes --stream-lavf-o-append=reconnect_on_network_error=yes

I am trying to have this kind of setup in kodi. Is it possible to set these flags in kodiprops? I have seen this repo with the reconnect flags here https://github.com/kodi-pvr/pvr.iptvsimple?tab=readme-ov-file#http-header-fields-supported-by-kodi but I don't know how to set it properly. Below configurations are my hail mary attempt at trying to make it work

#KODIPROP:inputstream=inputstream.ffmpegdirect
#KODIPROP:mimetype=video/mp2t
#KODIPROP:reconnect_on_http_error=4xx,5xx
#KODIPROP:reconnect_delay_max=30 
#KODIPROP:reconnect_streamed=yes
#KODIPROP:reconnect_on_network_error=yes
#EXTINF:-1, Channel 1
http://example.com

Can anyone provide a guide on how to do it properly or answer if it is not possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions