Skip to main content
November 11, 2012
Question

Cannot get any video on client when streaming from ffmpeg to FMS

  • November 11, 2012
  • 2 replies
  • 1885 views

Hi. I am trying to re-stream a VLC stream using ffmpeg to FMS. The VLC-> ffmpeg part is okay. I can then see the ffmpeg stream reach the FMS server.

I then tested this stream with the sampel client app which ships with FMS. I opened a live stream and set the stream name. The problem is I only got audio. No video was being displayed.

Here's the ffmpeg command: ffmpeg -re -i rtsp://localhost:8554/test.sdp -vcodec libx264 -f flv rtmp://168.187.121.71/livepkgr/mystream

Can anyone please guide me on how to get this to work?

Thanks.

Sebouh.

This topic has been closed for replies.

2 replies

November 14, 2012

Try:

ffmpeg -i rtsp://localhost:8554/test.sdp -acodec copy -vcodec copy -re -f flv "rtmp://168.187.121.71/livepkgr/mystream&adbe-live-event=liveevent"

I don't strream ffpmeg from my source, but I stream h264 from my source, and this works when transcoding.

Hope this helps!

November 11, 2012

It looks like ffmpeg is only listing the audio as output.

Can anyone suggest how I can transcode a video/audio and send it to ffmepg, then send it to FMS as rtmp?

Adobe Employee
November 14, 2012

Are you seeing any error during re-publishing on ffmpeg console?

Do you have the x264 codec installed?

As far as I know, the codec has to be installed separately and is not available by default with ffmpeg installation.