Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more