Skip to main content
Nov 11, 2012 9:11 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Nov 14, 2012 8:27 PM UTC

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!

Translate
Nov 11, 2012 1:27 PM UTC

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?

Translate
Adobe Employee
Nov 14, 2012 6:37 PM UTC

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.

Translate