Skip to content

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

Open
@mozai

Description

@mozai

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.

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