Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/ezstream-video.xml doesn't work with icecast #45

Open
mozai opened this issue May 22, 2024 · 0 comments
Open

examples/ezstream-video.xml doesn't work with icecast #45

mozai opened this issue May 22, 2024 · 0 comments

Comments

@mozai
Copy link

mozai commented May 22, 2024

What I tried:

  • icecast 2.4.4
  • libshout 2.4.6
  • ezstream 1.0.1
  • ffmpeg2theora 0.30 (and later ffmpeg 6.1.1)
  • pwd is a folder of video files with a "playlist.m3u" listing them
  • modify ezstream-video.xml to have the correct source password for icecast instead of "hackme"
  • ezstream -r -v -c ./ezstream-video.xml

What I expected:

  • ezstream reports connecting to http://127.0.0.1:8000/video.ogg
  • icecast reports a new source at mountpoint "/video.ogg"
  • something that can digest a video stream (like firefox/chrome, mpv or vlc) can attach to icecast and display the stream for humans

What I saw instead:

  • ezstream does report connected: http://127.0.0.1:8000/video.ogg
  • ezstream skips to each next file in the playlist instantly, exhausting the playlist in an eyeblink
  • icecast does not report a new source/mountpoint
  • icecast error.log shows two errors
    EROR connection/_handle_connection HTTP request parsing failed
    EROR admin/admin_handle_request Error parsing command string or unrecognised command: !POKE
    

What I tried:

  • added <stream_once>Yes</stream_once> to so I don't fill my terminal in infinite loops
  • launched ffmpeg2theora -x 192 -y 128 -a 0 -v 4 --title K-Tel_Lets_Disco.mp4 -o - K-Tel_Lets_Disco.mp4 >blah. Finishes without error, though the output is unparsable by ffprobe, mpv or even file
  • replaced the with ffmpeg -i "@T@" -c:v libvpx -c:a libvorbis -f ogv - . Output of this Is parsable by ffprobe, mpv et al. But when used in ezstream I still get the instant skip to the next file and the EROR messages described above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant