I changed StreamType back to “rtp-live”. That works as before. But I’m not able to get the edge to work. I added Repeater URL rtmp://orgin in Application.xml and set the StreamType to “liverepeater-edge” I tried both http and local file for sdp file. Does the repeater URL need to be rtmp://orgin/liverepeater instead of just server name? I don’t know how the edge server is going to know that it’s a SDP file stream at the origin server. The user’s guide example just has stream name “mycoolevent” I tried using sdp filename. but …
Keyframes are complete video frames (or images) that are inserted at consistent intervals in a video clip. The frames between the keyframes contain information on movement and scene changes that occurs between keyframes. For example, if a video depicts a person walking past a doorway, the keyframes contain the complete image of the person and the door in the background, and the interval frames contain information describing the person’s movement as they walk in front of the door.
By default, Flash Video Encoder automatically determines the keyframe interval to use based on the video clip’s frame rate. The keyframe interval value tells the encoder how often to re-evaluate the video image and record a full frame, or keyframe, into an FLV file. In Flash Video Encoder, this setting is the keyframe interval value, which represents the number of frames between keyframes. Flash Video Encoder approximates frames that reside between keyframes by estimating the full value of all pixels on the screen by comparing multiple frames and eliminating redundant information.
The keyframe interval value can be any number up to 100. When you select Automatic as an interval setting, Flash Video Encoder places a keyframe every two seconds of playback time. For example, if the video you’re encoding has a frame rate of 30 fps, a keyframe will be inserted every 60 frames. In general, the default keyframe interval value provides a reasonable level of control when seeking within a video clip. If you need to select a custom keyframe placement value, be aware that the smaller the keyframe interval, the larger the file size.
If your footage has a lot of scene changes or rapidly moving motion or animation, then the overall image quality may benefit from a lower keyframe interval. In general, a higher keyframe interval produces better image quality because data is not wasted describing the areas of an image that remain unchanged from frame to frame.
An important dependency of the keyframe interval is that it affects the ability of Flash Player to seek (fast-forward or rewind) through an FLV file. Flash Player can only advance from keyframe to keyframe, so if you want to skip to different places and pause the frames, you must use a lower keyframe interval value. If you want to advance to every frame in an FLV file, use a keyframe interval value of 1. When you reduce the keyframe interval value, you must raise the data rate for the Flash video to maintain comparable image quality.
One (stupid ?) question : if I send two different streams from 2 VLC instances at the same time to the same server, I need to use distinct UDP ports for each ? So distinct SDP files ?
I got everything running VLC->WMS->Flash as long as VLC and WMS are on the same machine. And if both servers are publicly available using the http://:/<*.sdp> publication method with vlc.
But if VLC is behind a firewall in a private network and WMS is somewhere in the internet, than I can’t transfer the sdp file information to the WMS.
(This works perfectly with Flash Live Media Encoder instead of VLC, as it uses RTMP.)
How can I publish the sdp-file to the /content folder?
I tried to copy the sdp file created on the VLC machine to the WMS, but that couldn’t really have worked, as the IP information within the SDP file is wrong.
Who establishes the RTP connection? WMS or VLC?
(IF WMS establishes the connection than my setup would be only possible with a VLAN connection between VLC and WMS first.)
My idea is to create the SDP file myself out of the SDP file created by VLC, edit IP adresses and Metadata and send it to the WMS through my own application. I hope the VLC is streaming it’s contents by that time already and WMS picks up that stream as soon as the SDP file is in it’s “/content” folder and the first client requests that stream.
I have vlc on my laptop, Im trying to send a stream to a wowza pro instance on EC2.
I am using a command like the following but getting no sdp file saved on wowza content folder so rtmp is failing. Need help to understand where Im going wrong.
example vlc call -
dshow:// :dshow-vdev=“WEB CAMERA” :dshow-adev="" :sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=rtp{dst=http://WOWZA INSTANCE PUBLIC DNS,mux=ts,port=1935,sdp=file:///usr/local/WowzaMediaServerPro/content/vlc.sdp }}