ffserver -formats
References
- WORKS ! -> ffmpeg -i test2.mp4.h264.mp4 http://localhost:8090/feed1.ffm
- ffmpeg -f dshow -i video="HP HD Webcam [Fixed]" http://demo.myrobotlab.org:8090/feed1.ffm # fails on windows
-
ffmpeg - experiments with win64
ffmpeg -list_devices true -f dshow -i dummy # show devices
ffmpeg -f dshow -i video="HP HD Webcam [Fixed]" out.mp4 # capture and encode to local file - http://superuser.com/questions/563591/streaming-mp4-with-ffmpeg
- http://stackoverflow.com/questions/12257762/real-time-streaming-to-html5-with-out-webrtc-just-using-video-tag
- http://stackoverflow.com/questions/1735933/streaming-via-rtsp-or-rtp-in-html5
- http://www.willus.com/author/streaming2.shtml
- https://trac.ffmpeg.org/wiki/StreamingGuide#Latency
- http://www.slideshare.net/esumit/rtsp
- http://stackoverflow.com/questions/16658873/how-to-minimize-the-delay-in-a-live-streaming-with-ffmpeg
- http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/25-HTML5-Video-Resources-You-Might-Have-Missed-74010.aspx
- http://stackoverflow.com/questions/1735933/streaming-via-rtsp-or-rtp-in-html5
Webm VP8/9 encoding set - Royalty free encoding algorithms - https://trac.ffmpeg.org/wiki/Encode/VP9
with variable bitrate - ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 1M -c:a libvorbis output.webm
The Theora video format, Vorbis audio format, and Ogg container formats are an "Modern Open Source Encoding Set" - Encoding algorithms which do not have complicated licensing issues, but is older than VP8/VP9 & Webm
Containers - Chrome can potentially handle .mp4 .webm & .ogg containers
Progress with H.264
H.264 is a codec - which is important for sending larges amounts of data (like audio & video) over the network. Telerobotics would benefit from H.264.
For maximum confusion there are a variety of acronyms which all mean the same thing.
Here are 3 which mean exactly the same thing.
MPEG 4 Part 10 = H.264 = AVC
We want the webgui capable of working like skype - with more options :)
In order to do that we first try to get our webgui to return some necessary HTTP header info regarding our file
Content-Type will need to be video/mp4
And here I sent video back to the webgui
We are closer !!
It's H264 Encoded with OpenCV Yay !
Its got a video and an audio channel Yay !
It was recorded by MRL & the OpenCV Service Yay !
It was played by the WebGUI using HTML5 video tags Yay !
Now we need it live - so that OpenCV is continuously reading & writing to a stream which the WebGUI served and the browser plays ...
More pipes to connect !
Installing ffserver with h264 encoding on an Amazon AMI image:
-
add rpm forge to ami repos
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf…
rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
-
install libh264 and lame mp3 encoder
yum install x264-devel lame-devel yasm
Centos 6.5
http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+Re…
- rpmforge
rpm -Uhv http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6…
yum install lame-devel lame opencore-amr