i want to stream video file to icecast
this is my liq file:
---------------------------------------------------------------------------------------------------------------
set("frame.video.height",360)
set("frame.video.samplerate",24)
source = single("/root/screen-capture.flv")
clock.assign_new(sync=false,[source])

output.icecast(
  format="video/mpeg",
  icy_metadata="false",
  host="localhost",
  port=8000,
  password="pass",
  mount="/screen-capture",
  %gstreamer(video="x264enc speed-preset=1",audio="lamemp3enc"),
  source)
------------------------------------------------------------------------------------------------------------------
i get this error:
Line 14, char 4 before "%": Parse error!
other question: can i stream to rtmp server ?
thanks