FAQ  •  Register  •  Login

[Solved] Get Audio/video from page

<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Sun Sep 02, 2012 11:31 pm

[Solved] Get Audio/video from page

Hi,

How do I get audio and video on this page to work in Serviio:

http://envivo.capital.com.pe

Please I need your help.

Thank you very much.
Last edited by Intel1 on Thu Sep 06, 2012 11:32 pm, edited 1 time in total.
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Tue Sep 04, 2012 1:22 pm

Re: Get Audio/video from page

Can someone help me at least to use the audio from Serviio?

I can not find how to play audio from Serviio: (

I think this code can help, but I have tried several ways and I can not run the audio on Serviio

<script src='http://dev.rpp.com.pe/services/ipjs.php' ></script><script type='text/javascript'>var ikmm=0; var tprg=1; var aprg=tprg-1; var sec=0; var pvideo=''; var novideo=0; var vonlyPE=''; var voutPE=''; var novideo1=''; var cvideo=''; var paudio=''; var noaudio=0; var aonlyPE=''; var aoutPE=''; var noaudio1=''; var streamaudioweb = 'rtmp://gruporpp.mediastream.pe/av_capital/'; var streamaudioapple = 'http://movil.mediastream.com.pe/av_capital/audio01/playlist.m3u8'; var streamaudiomovil = 'rtsp://movil.mediastream.com.pe:1935/av_capital/'; var streamvideoweb = 'rtmp://fms003.mediastream.com.pe/vv_cab_capital/'; var streamvideoapple = 'http://movil.mediastream.com.pe/vv_cab_capital/video01/playlist.m3u8'; var streamvideomovil = 'rtsp://movil.mediastream.com.pe:1935/vv_cab_capital/';

Serviio can play files m3u8?

Thank you very much.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Sep 04, 2012 2:17 pm

Re: Get Audio/video from page

You have to write a specific plugin to extract rtmp Url.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Tue Sep 04, 2012 10:11 pm

Re: Get Audio/video from page

Any guide I can recommend where to start?

Thank you.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Sep 05, 2012 7:39 am

Re: Get Audio/video from page

Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Wed Sep 05, 2012 9:04 pm

Re: Get Audio/video from page

Hi,

I have the url of rtmp:

rtmp://fms003.mediastream.com.pe/vv_cab_capital/

And the video url with swf player that works in google chrome is:

http://www.capital.com.pe/swf/player.sw ... b_capital/

I need to write a plugin to play this video with Serviio?

Thank you very much.
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Wed Sep 05, 2012 10:08 pm

Re: Get Audio/video from page

I've also tried this:

C:\Program Files\Serviio\lib>ffmpeg -i rtmp://fms003.mediastream.com.pe/vv_cab_c
apital/ app=live playpath=video01 swfUrl=http://www.capital.com.pe/swf/player.sw
f swfVfy=1 live=1
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
HandShake: client signature does not match!
Closing connection: NetStream.Play.Failed
rtmp://fms003.mediastream.com.pe/vv_cab_capital/: Unknown error occurred


But I do not understand this error:

HandShake: client signature does not match!

Thank you very much
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Wed Sep 05, 2012 11:10 pm

Re: Get Audio/video from page

I tried this software and capture the live video without problem:

http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm

Right click on the url captured - Download by Bleder

Mark: The resource is live media

Thank you
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Thu Sep 06, 2012 3:18 am

Re: Get Audio/video from page

Streaming video solved, then I write as I did, thank you, missing audio streaming :)
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Thu Sep 06, 2012 3:09 pm

Re: Get Audio/video from page

Hi, my last url in Serviio for video in streaming live is:

rtmp://fms003.mediastream.com.pe/vv_cab_capital/video01 app=vv_cab_capital/ playpath=video01 swfUrl=http://envivo.capital.com.pe/swf/player.swf swfVfy=1 live=1

And syntax ok in ffmpeg is:

fmpeg -i "rtmp://fms003.mediastream.com.pe/vv_cab_capital/video01 app=vv_cab_capital/ playpath=video01 swfUrl=http://envivo.capital.com.pe/swf/player.swf swfVfy=1 live=1"

And video play nice in Serviio :)

Now I have to test the audio url.

Thank you.
<<

Intel1

Streaming enthusiast

Posts: 20

Joined: Sun Sep 02, 2012 11:26 pm

Post Thu Sep 06, 2012 11:31 pm

Re: Get Audio/video from page

Hi,
Finally I was able to play audio and video :)

Serviio url for audio:
rtmp://gruporpp.mediastream.pe/av_capital/ app=av_capital/ swfUrl=http://envivo.capital.com.pe/swf/player.swf playpath=audio01 pageurl=http://envivo.capital.com.pe/ swfVfy=1 live=1

Serviio url for video:
rtmp://fms003.mediastream.com.pe/vv_cab_capital/video01 app=vv_cab_capital/ playpath=video01 swfUrl=http://envivo.capital.com.pe/swf/player.swf swfVfy=1 live=1

My problem with the url of the audio was missing the parameter: -p "http://envivo.capital.com.pe/"

And first tested with:-p "http://envivo.capital.com.pe"

But the strange thing is that it seems that only verifies PageURL in the audio stream, as the stream of video works without PageURL parameter. Something very rare that I do not understand but I still works :)

And it was missing the "/" end, apparently makes vericiaciton of "PageURL" and the end of the url with "/" and therefore not connected the ffmpeg,, but thanks to the program: RTMPExplorer I realized my mistake :)

Hope this help for others with the same problem with the RTMP protocol.

Greetings.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 48 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.