Hi ! it’s my first message after some day search
I would like stream to Wowza server with StreamType = live in RTMP.
That’s works with adobe air application but not with vlc or ffmpeg or gstreamer.
I would like to use a command line application or python, for stream in RTMP, it’s realist?
My last test for exemple (not working):
ffmpeg -i /home/video.avi -re -acodec copy -vcodec copy -f mp4 rtmp://999.999.999.999:1935/Apps/stream_name
cvlc v4l2:///dev/video0 --sout ‘#transcode {vcodec=FLV1,acodec=mp3}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=999.999.999.999:1935/Apps/stream_name}’
Might have better luck with rtsp in this case. I know rtmp support in vlc is not good. But I don’t have any good experience with this kind of use to really help much.
Richard
We do not have specific instructions for ffmpeg using RTMP protocol. We do have instructions for using MPEG-TS here:
https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts
Charlie
You can try the lastest ffmpeg from here:
http://ffmpeg.arrozcru.org/autobuilds/
Richard
Sorry, I don’t know where to point you for that.
Richard
I’m not sure how to capture webcam with ffmpeg. Here is a guide to doing it with VLC:
Note: I am providing these instructions on as “AS-IS” basis. The reason for the qualification is because I have found VLC to be difficult to get to work reliably and predictably.
Step by step instructions for using the VLC media player as an encoder with Wowza Pro (Flash Player version 9.0.115.0 or greater is required).
Download and install Wowza Media Server Pro (version: Wowza Pro 1.7.2 or greater)
Create a new Wowza Pro application for streaming (may already exist if examples installed…
Here is current ffmpeg guide:
Richard
try this. It works for me. you might have to specify the preset of ffmpeg
ffmpeg -i /home/video.avi -re -acodec libfaac - vcodec libx264 -vpre default -f flv rtmp://serverip/app/streamName
try this. It works for me. you might have to specify the preset of ffmpeg
ffmpeg -i /home/video.avi -re -acodec libfaac - vcodec libx264 -vpre default -f flv rtmp://serverip/app/streamName
Which version of ffmpeg did you use? My one does not support rtmp publishing yet.
try this. It works for me. you might have to specify the preset of ffmpeg
ffmpeg -i /home/video.avi -re -acodec libfaac - vcodec libx264 -vpre default -f flv rtmp://serverip/app/streamName
Just adding my 2pennys worth, for me I could only get real time playback/streaming if -re was before -i input.
ffmpeg [B]-re[/B] -i /home/sample.mp4 -acodec copy -vcodec copy -f flv rtmp://serverip/app/streamName
Otherwise ffmpeg would just act as if transcoding and do it as fast as it could, not helpful for streaming
Also my file was an mp4 ready for streaming so i just used -acodec copy -vcodec copy
I am trying to make ffmpeg work with wowza. For testing purpose I am trying to send video from my webcam. The follow is the command I am using.
ffmpeg -re -f video4linux2 -i /dev/video0 -acodec libfacc -vcodec libx264 -f h264 rtmp://localhost:1935/live/test
But it doesnt seem to work.
I build ffmpeg from git repository with the following config
–enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
ffmpeg -protocols says it has rtmp input/output support
Any pointers on how to make this work…
Thank you I saw that one… But the problem is I am trying this on linux and it seems to have some problem…