[Ubuntu-PT 8296] Re: Vídeos RTP

Georgy Zhukov zhukov gawab.com
Sábado, 27 de Novembro de 2010 - 00:20:57 GMT


 sudo apt-get install python-beautifulsoup

 kimus ✆ to ubuntu-pt
 show details Oct 9
 a ver se é desta! :-p

adicionado supporte para links por SCRIPT:
http://tv2.rtp.pt/multimedia/progVideo.php?tvprog=25282

podem sacar a nova versão em: http://zlabs.org/st/rtpvideo.py

kimus

Depois suponho que seja python rtpvideo.py <link do video>

Aerrege, acho que não tinhas visto isto.

Cumprimentos!


2010/11/26 Aerrege <aerrege  gmail.com>

> Lá volto eu à questão ;-)
>
> Tentei descarregar o vídeo que está em
> http://www.rtp.pt/multimedia/progVideo.php?tvprog=24806&idpod=47742
>
> Executei flvstreamer -r
> rtmp://h2c.rtp.pt/fastplay/cacheprogs/cclara_1_20101121.flv >
> video.flv
>
> não deu erro nenhum, mas... obtive um ficheiro com 0 bytes ;-)
>
> Que estou a fazer de errado? ;-)
>
> Obrigado.
>
> No dia 6 de Outubro de 2010 18:46, kimus <kimus  ubuntu-pt.org> escreveu:
> >  Certo... mas vai dar no mesmo é uma questão de ver a source HTML :-p
> >
> > Botão direito do rato na página > View Page Source
> >
> > Depois vão reparar em algo como:
> >
> > <object
>  width="489"height="400"type="application/x-shockwave-flash"data="/blogs/swf/flowplayercm.swf"id="player_api">
> >        <param  value="true"name="allowFullScreen"/>
> >        <param  value="/blogs/swf/flowplayercm.swf"name="movie"/>
> >        <param  value="always"name="allowscriptaccess"/>
> >        <param  value="high"name="quality"/>
> >        <param  value="#000000"name="bgcolor"/>
> >        <param
>  value='config={"key":"#$22842984f0441053f14","play":{"replayLabel":"Voltar
> a ver"},"contextMenu":[{"RTP.PT
> ":"function()"}],"playlist":[{"autoPlay":true,"provider":"rtmp","url":"/videos/auto/ladob/ladob_1_20100926"}],"plugins":{"rtmp":{"url":"/blogs/swf/flowplayer.rtmp-3.1.0.swf","netConnectionUrl":"rtmp://
> video1.rtp.pt/flv/RTPFiles/
> "},"controls":{"url":"/blogs/swf/flowplayer.controls-tube-3.1.0.swf","bufferColor":"#013682","volumeSliderColor":"#013682","progressColor":"#013682","buttonOverColor":"#013682","tooltipTextColor":"#013682"}},"playerId":"player","clip":{}}'name="flashvars"/>
> > </object>
> >
> >
> > Repara em:
> >
> > "provider":"rtmp","url":"/videos/auto/ladob/ladob_1_20100926"}
> >
> > "netConnectionUrl":"rtmp://video1.rtp.pt/flv/RTPFiles/"}
> >
> > foi juntar as duas partes :-)
> >
> > e deu:
> >
> > rtmp://video1.rtp.pt/flv/RTPFiles/videos/auto/ladob/ladob_1_20100926
> >
> >
> >
> > On 06-10-2010 18:26, Tiago Santos wrote:
> >> Atenção que os vídeos da RTP não têm embebed por baixo do vídeo. Só para
> >> ajudar...
> >>
> >>
> >> Tiago Santos
> >>
> >>
> >> 2010/10/6 kimus<kimus  ubuntu-pt.org>
> >>
> >>>   Já é a terceira vez que envio isto :-p
> >>>
> >>> Cá vai um pequeno tutorial.
> >>>
> >>> 1. instalar o pacote flvstreamer
> >>>
> >>> por consola podem fazer: sudo apt-get install flvstreamer
> >>>
> >>> 2. Ir à pagina do video e copiar o embebed (por baixo do video)
> >>>
> >>> Vão ter algo como:
> >>> <embed type="application/x-shockwave-flash"
> >>> src="
> >>>
> http://tv1.rtp.pt/noticias/player.swf?image=http://tba.rtp.pt/icm/noticias/images/b5/b5c4da167ed78776834ec2f4aaa668a1_N.jpg&streamer=rtmp://video2.rtp.pt/flv/RTPFiles&file=/informacao/sida_africa_do_sul_58775.flv
> "
> >>>   <
> >>>
> http://tv1.rtp.pt/noticias/player.swf?image=http://tba.rtp.pt/icm/noticias/images/b5/b5c4da167ed78776834ec2f4aaa668a1_N.jpg&streamer=rtmp://video2.rtp.pt/flv/RTPFiles&file=/informacao/sida_africa_do_sul_58775.flv%22
> >>> width="491" height="401" bgcolor="#ffffff" allowscriptaccess="always"
> >>> allowfullscreen="true"
> >>> flashvars="image=
> >>>
> http://tba.rtp.pt/icm/noticias/images/b5/b5c4da167ed78776834ec2f4aaa668a1_N.jpg&streamer=rtmp://video2.rtp.pt/flv/RTPFiles&file=/informacao/sida_africa_do_sul_58775.flv
> "
> >>>   <
> >>>
> http://tba.rtp.pt/icm/noticias/images/b5/b5c4da167ed78776834ec2f4aaa668a1_N.jpg&streamer=rtmp://video2.rtp.pt/flv/RTPFiles&file=/informacao/sida_africa_do_sul_58775.flv%22
> >>>>> </embed>
> >>> A parte que interessa é:
> >>> streamer=rtmp://
> >>>
> video2.rtp.pt/flv/RTPFiles&file=/informacao/sida_africa_do_sul_58775.flv"
> >>>   <rtmp://
> >>>
> video2.rtp.pt/flv/RTPFiles&file=/informacao/sida_africa_do_sul_58775.flv%22
> >>> 3. Gravar o filme para o disco
> >>>
> >>> (na consola):
> >>> flvstreamer -r
> >>> rtmp://
> video1.rtp.pt/flv/RTPFiles/informacao/sida_africa_do_sul_58775.flv>
> >>> sida_africa_do_sul_58775.flv
> >>>
> >>>
> >>> kimus
> >>>
> >>>
> >>>
> >>> On 06-10-2010 08:40, Tiago Santos wrote:
> >>>> Sem querer movi esta mensagem para o Spam...
> >>>>
> >>>> Funcionou, mas como é sabes o endereço do stream de vídeo?
> >>>>
> >>>>
> >>>> Obrigado,
> >>>>
> >>>> Tiago Santos
> >>>>
> >>>>
> >>>> On Mon, Sep 27, 2010 at 5:37 PM, kimus<kimus  ubuntu-pt.org>   wrote:
> >>>>
> >>>>>    tenta:
> >>>>>
> >>>>> flvstreamer -r rtmp://
> >>>>> video1.rtp.pt/flv/RTPFiles/videos/auto/ladob/ladob_1_20100926>
> >>>>>    ladob_1_20100926.flv
> >>>>>
> >>>>>
> >>>>> On 27-09-2010 16:23, Tiago Santos wrote:
> >>>>>> Boas,
> >>>>>>
> >>>>>> Não estou a conseguir fazer download do último Lado B da
> >>>>>> RTP<
> >>>
> http://ww1.rtp.pt/blogs/programas/ladob/?k=1-parte-do-Lado-B-de-2010-09-26.rtp&post=11309
> >>>>>> .
> >>>>>>
> >>>>>> flvstreamer -r
> >>>>>>
> >>>
> http://ww1.rtp.pt/blogs/programas/ladob/?k=1-parte-do-Lado-B-de-2010-09-26.rtp&post=11309
> >>>>>> video1.flv
> >>>>>>
> >>>>>> Estou a fazer alguma coisa de errado?
> >>>>>>
> >>>>>>
> >>>>>> Cumprimentos,
> >>>>>>
> >>>>>> Tiago Santos
> >>>>>>
> >>>>>>
> >>>>>> 2010/6/21 kimus<kimus  ubuntu-pt.org>
> >>>>>>
> >>>>>>> Para os mais distraídos:
> >>>>>>>
> >>>>>>> On 21-06-2010 09:26, Tiago Boldt Sousa wrote:
> >>>>>>>> 2010/6/21 Miguel Ferreira<ns335741  gmail.com>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> Lamento não poder ajudar mais.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>> Outro!? No início desta discussão apontei para o endereço onde já
> >>>>>>> explicava
> >>>>>>>> como tirar vídeos da RTP:P Leiam lá com atenção que isto já está
> mais
> >>>>> que
> >>>>>>>> fechado..
> >>>>>>>>
> >>>>>>>>
> >>>>>>> sudo apt-get install flvstreamer
> >>>>>>> flvstreamer -r
> >>>>>>> rtmp://
> >>>>>>>
> video1.rtp.pt/flv/RTPFiles/videos/auto/escritores/escritores_01112009
> >>>>>>>     >    video.flv
> >>>>>>>
> >>>>>>> kimus
> >>>>>>>
> >>>>>>> --
> >>>>>>> ubuntu-pt mailing list
> >>>>>>> ubuntu-pt  lists.ubuntu.com
> >>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-pt
> >>>>>>>
> >>>>> --
> >>>>> ubuntu-pt mailing list
> >>>>> ubuntu-pt  lists.ubuntu.com
> >>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-pt
> >>>>>
> >>>
> >>> --
> >>> ubuntu-pt mailing list
> >>> ubuntu-pt  lists.ubuntu.com
> >>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-pt
> >>>
> >
> >
> > --
> > ubuntu-pt mailing list
> > ubuntu-pt  lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-pt
> >
>
>
>
> --
> http://aijesus.blogspot.com
>
> --
> ubuntu-pt mailing list
> ubuntu-pt  lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-pt
>


Mais informações acerca da lista ubuntu-pt