• 04 Sep 2008 /  GNU/Linux, Unix

    Para aquellos que nos gusta hacer uso de la linea de comandos para la reproducción de streaming media y no contamos con una conexión directa a Internet, y que hacemos uso de un HTTP Proxy tendremos por defecto problema para la reproducción de estos.

    Pero… haciendo uso de algunas facilidades que MPlayer nos provee para pasar a través de nuestro HTTP Proxy, permitiéndonos escuchar y ver streaming media. Y lo podremos hacer de la siguiente manera:

    Ejemplo 1:

    mplayer http_proxy://proxy:port/http://prov.com:80/stream.asf

    Ejemplo 2:

    export http_proxy=http://proxy:port
    mplayer http://prov.com:80/stream.asf

    Ejemplo 3:

    export http_proxy=http://proxy:port
    wget ftp://prov.com/something.avi -O - | mplayer -

    En el ultimo ejemplo quien se encarga de pasar a través del HTTP Proxy es la aplicación wget, y por medio de un pipe pasamos esto al MPlayer, y es así como podemos conseguir la reproducción.

    Posted by lexo @ 1:09 pm

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word