| 37 | | The "-re" flag means to "Read input at native frame rate. Mainly used to simulate a grab device." i.e. if you want to play a video file, but at realtime, then use this. I guess you typically don't want this flag when streaming from a live device. |
| | 37 | |
| | 38 | And here is what another person [http://web.archiveorange.com/archive/v/DUtyPSinPqSIxjhedGQd did]: |
| | 39 | {{{ |
| | 40 | ffmpeg -f dshow -i video="screen-capture-recorder":audio="Stereo Mix (IDT High |
| | 41 | Definition" -vcodec libx264 -preset ultrafast -tune zerolatency -r 10 |
| | 42 | -async 1 -acodec libmp3lame -ab 24k -ar 22050 -bsf:v h264_mp4toannexb |
| | 43 | -maxrate 750k -bufsize 3000k -f mpegts udp://192.168.5.215:48550 |
| | 44 | }}} |
| | 45 | |
| | 46 | NB that they also had to adjust the rtbufsize in that example. |
| | 47 | |
| | 48 | The ffmpeg "-re" flag means to "Read input at native frame rate. Mainly used to simulate a grab device." i.e. if you want to play a video file, but at realtime, then use this. My guess is you typically don't want this flag when streaming from a live device. |