informatica:linux:ffserver
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:ffserver [2009/11/27 10:31] – 192.168.1.30 | informatica:linux:ffserver [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| aptitude update && aptitude install ffmpeg | aptitude update && aptitude install ffmpeg | ||
| + | |||
| + | |||
| ===== Servir un archivo local vía rstp ===== | ===== Servir un archivo local vía rstp ===== | ||
| Line 30: | Line 32: | ||
| # Anyadido | # Anyadido | ||
| - | RTSPPort | + | RTSPPort |
| # Address on which the server is bound. Only useful if you have | # Address on which the server is bound. Only useful if you have | ||
| Line 61: | Line 63: | ||
| # | # | ||
| # You can access this stream with the RTSP URL: | # You can access this stream with the RTSP URL: | ||
| - | # | + | # |
| # | # | ||
| # A non-standard RTSP redirector is also created. Its URL is: | # A non-standard RTSP redirector is also created. Its URL is: | ||
| - | # | + | # |
| - | <Stream prueba.mpg> | + | <Stream prueba.mpeg> |
| Format rtp | Format rtp | ||
| File "/ | File "/ | ||
| Line 73: | Line 75: | ||
| 3. Grabar y salir | 3. Grabar y salir | ||
| + | |||
| + | **NOTA** Se pueden almacenar más de un bloque < | ||
| 4. Arrancar ffserver como demonio: | 4. Arrancar ffserver como demonio: | ||
| Line 79: | Line 83: | ||
| 5. Desde la misma máquina (u otra cambiando lógicamente la ip) probar: | 5. Desde la misma máquina (u otra cambiando lógicamente la ip) probar: | ||
| - | |||
| | | ||
| - | rtsp:// | + | rtsp:// |
| + | |||
| + | ===== Configuración de iptables ===== | ||
| + | |||
| + | **REVISAR** En principio funciona, pero no debería, pues creo que el protocolo rstp envía algo por UDP | ||
| + | |||
| + | iptables -A INPUT -p tcp -m tcp --dport 5666 -j ACCEPT | ||
informatica/linux/ffserver.1259317871.txt.gz · Last modified: (external edit)
