Closed gregkoganvmm closed 2 days ago
Thanks for reporting and documenting the issue. We're a bit slower than usual to process issues, thanks for your patience.
Yes this was not fully supported and on my todo - now in master, thanks for the reminder :)
Platform: linux/amd64 (Ubuntu 22.04) or macOS Sonoma 14.4.1
Hello,
Subtitles provided using stdin pipes or http/https does not work correctly - the output is either empty or corrupted.
gpac -i "https://download.blender.org/demo/movies/ToS/subtitles/TOS-en.srt" -o stdout:ext=vtt
cat TOS-en.srt|gpac -no-block=all -i stdin -o stdout:ext=vtt
produces nothingThere is a workaround to make it work (hope this helps someone) - adding the
-no-block=all
parameter helps in both cases, but this is hardly obvious. See the full command below:cat TOS-en.srt|gpac -no-block=all -i stdin -o stdout:ext=vtt
gpac -no-block=all -i "https://download.blender.org/demo/movies/ToS/subtitles/TOS-en.srt" -o stdout:ext=vtt