User Tools

Site Tools


informatica:linux:ffserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
informatica:linux:ffserver [2009/11/27 10:31] 192.168.1.30informatica:linux:ffserver [2010/02/26 19:51] 192.168.1.30
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 5454+RTSPPort 554
  
 # 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:
-#   rtsp://localhost:5454/test1-rtsp.mpg+#   rtsp://localhost:554/prueba.mpeg
 # #
 # A non-standard RTSP redirector is also created. Its URL is: # A non-standard RTSP redirector is also created. Its URL is:
-#   http://localhost:8090/test1-rtsp.rtsp+#   http://localhost:8090/prueba.mpeg
  
-<Stream prueba.mpg>+<Stream prueba.mpeg>
 Format rtp Format rtp
 File "/ruta/a/mi_archivo.mpeg" File "/ruta/a/mi_archivo.mpeg"
Line 73: Line 75:
  
 3. Grabar y salir 3. Grabar y salir
 +
 +**NOTA** Se pueden almacenar más de un bloque <Stream> en el mismo archivo, pero tras cada cambio hay que matar/arrancar ffserver.
  
 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://localhost:5454/prueba.mpg+  rtsp://localhost:554/prueba.mpg 
 + 
 +===== 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.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1