Seekable input via stdin
Posted: 18 Jul 2016 16:12
Hello everyone, and thanks for your time.
I'm aware of the difficulties of presenting playback control features (like the slider) when streaming, particularly when VLC cannot know the file duration beforehand.
My question is: is there any codec, format or package that I can pipe into vlc so that it can provide playback controls when receiving input over stdin? I'm particularly interested in the slider.
I have complete control over what is piped to vlc, and also over the command line used to start it. I know beforehand the duration of the file I'm about to stream to it, in case that there's any command line argument that I can use.
I really appreciate any help you can provide.
EDIT: I've tried several video formats and codecs, but none of them seem to work with the slider. I can't possibly try all the different combinations, but I have done my homework before deciding to ask over here
I'm also aware of https://forum.videolan.org/viewtopic.ph ... er#p367229 but in my case I'm not tied to any particular format. If there is a video format that can provide file duration beforehand, then I can use it.
More information: I should also mention that I'm trying to feed VLC from ffmpeg, so I also have control over what ffmpeg produces.
I'm aware of the difficulties of presenting playback control features (like the slider) when streaming, particularly when VLC cannot know the file duration beforehand.
My question is: is there any codec, format or package that I can pipe into vlc so that it can provide playback controls when receiving input over stdin? I'm particularly interested in the slider.
I have complete control over what is piped to vlc, and also over the command line used to start it. I know beforehand the duration of the file I'm about to stream to it, in case that there's any command line argument that I can use.
I really appreciate any help you can provide.
EDIT: I've tried several video formats and codecs, but none of them seem to work with the slider. I can't possibly try all the different combinations, but I have done my homework before deciding to ask over here
I'm also aware of https://forum.videolan.org/viewtopic.ph ... er#p367229 but in my case I'm not tied to any particular format. If there is a video format that can provide file duration beforehand, then I can use it.
More information: I should also mention that I'm trying to feed VLC from ffmpeg, so I also have control over what ffmpeg produces.