Sunday, July 13, 2014

Image streaming issues with VLC media player

Today i dedicated a good chunk of time learning how to stream raw video using VLC media player. The idea is to work backwards. That is, i want to generate UDP stream from a local image and capture it via Wireshark. Once this is done, i can move towards capturing RTP/UDP stream coming from FPGA. So in a way, it is getting more acquainted with sending video stream and capturing it.

 Here is the relevant post that i tried

http://stackoverflow.com/questions/2738228/how-to-stream-your-images-files-with-vlc

after learning the command line of VLC.  Here is what i am inputting at the command line

vlc -I dummy fake:// --fake-file checkboard.jpg --fake-duration 5000 --fake-width 300 --fake-height 300 --fake-caching 40 -vvv --sout "#std{access=udp,mux=ts,dst=127.0.0.1:1234}" --loop

Unfortunately, i am constantly getting the following ERROR


vlc: unknown option or missing mandatory argument `--fake-file=checkboard.jpg'


If you have any experience with VLC or you want to suggest some other tools like Gstreamer or ffmpeg might be better for this, please explain

1 comment:

  1. I think you're probably better using gsteamer. It lets you build a pipeline of each parts, allowing you to "incrementally" build up a system. See http://gstreamer.freedesktop.org/documentation/rtp.html and http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gstreamer-rtp.html for more information. You might want to take a look at the following presentations too http://www.slideshare.net/jeffsigmon/g-streamer and https://docs.google.com/a/mithis.com/presentation/d/1s6a5CMDAiycqK_sTi6ROoS4bNct-xRa_xe4kHJYb1eA/edit for some background information.

    ReplyDelete