How to live stream a local video using FFmpeg

ffmpeg, stream, udp, video, vlc

Solution

My guess is that you are trying to play in VLC using the URL `udp://127.0.0.1:23000` as you have it in the FFmpeg command. In VLC, try using `udp://@:23000` instead.

Problem

I have been trying to stream local video on VLC using the FFmpeg library like this: ``` $ ffmpeg -i sample.mp4 -v 0 -vcodec mpeg4 -f mpegts udp://127.0.0.1:23000 ``` I have not been able to stream the file on VLC.

Original source