Page 1 of 1

Does VLC support RTMP?

Posted: 13 Nov 2014 16:38
by nghnam
I read a article about VLC and RTMP in :
http://www.jpsaman.org/vlc/rtmp

He said that
VLC versions 2.0.x and above support RTMP streaming through ffmpeg/libav
And he showed a command :

Code: Select all

$ vlc v4l2:// --v4l2-fps=25 --sout '#transcode{vcodec=h264,vb=300,fps=25,scale=1,acodec=mp4a,ab=64,channels=2}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://rtmp.server.com:1935/path/to/stream}'
I installed VLC and ffmpeg in CentOS 6.x from atrpms repo. When i tested some case but it could not run.

Can someone give me an advice ?

P/s: I want to compile VLC with source to attach ffmpeg but VLC 2.1.x does not some options --enable-ffmpeg, --with-ffmpeg-tree=/home/user/ffmpeg as i read in https://wiki.videolan.org/Configure/
In source VLC 2.1.5, .it shows only options --enable-merge-ffmpeg. I compiled this option but I could not run rtmp streaming.