Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to record from this channel?

(http://stream-recorder.com/forum/showthread.php?t=20538)

Chemist925 12-14-2015 02:33 PM

How to record from this channel?


 
Hello. i can't record this channel,

http://panamericana.pe/tvenvivo

anybody would help me with a code for this stream either in livestreamer, rtmpdump or ffmpeg?. Thanks in advance.

iamsumit 12-14-2015 03:23 PM

Re: How to record from this channel?


 
Code:

rtmpdump -r "rtmp://cdn5a.iblups.com/ptv" -a "ptv" -f "MAC 20,0,0,228" -W "http://p.iblups.com/ptv/jwplayer/jwplayer.flash.swf"  -p "http://p.iblups.com/ptv/embedPTV.php?w=560&h=315" --live -C S:OK -y "ptv1" -k -o-  | vlc -
And a question to the experts - the link has two streams HD and SD. I find both the streams to have the same paramters, so can they be differentiated.
Thanks.

Chemist925 12-15-2015 05:20 AM

Re: How to record from this channel?


 
Quote:

Originally Posted by iamsumit (Post 81675)
Code:

rtmpdump -r "rtmp://cdn5a.iblups.com/ptv" -a "ptv" -f "MAC 20,0,0,228" -W "http://p.iblups.com/ptv/jwplayer/jwplayer.flash.swf"  -p "http://p.iblups.com/ptv/embedPTV.php?w=560&h=315" --live -C S:OK -y "ptv1" -k -o-  | vlc -
And a question to the experts - the link has two streams HD and SD. I find both the streams to have the same paramters, so can they be differentiated.
Thanks.

I was trying to record the HD stream which automatically loads with the page. By the way, your code does not include an output, just vlc. Mind adding how to record it as an flv extension?. Thanks in advance.

iamsumit 12-15-2015 07:31 AM

Re: How to record from this channel?


 
I am sorry i was not able to differentiate between SD and HD streams there. Maybe someone else will along to help you.

Also i haven't recorded to a file ever so not sure about the exact code for that but it is a slight variant from the above with a -o <filename> in the end (search the forum and you will get the examples).

Have a good day!

Chemist925 12-15-2015 08:27 AM

Re: How to record from this channel?


 
Quote:

Originally Posted by iamsumit (Post 81696)
I am sorry i was not able to differentiate between SD and HD streams there. Maybe someone else will along to help you.

Also i haven't recorded to a file ever so not sure about the exact code for that but it is a slight variant from the above with a -o <filename> in the end (search the forum and you will get the examples).

Have a good day!

I tried to change the code for an output file but it didn't work instead system crashed. I think there is some part that needs to be deleted but i am not sure how to do that. any help?. thanks.

iamsumit 12-15-2015 09:08 AM

Re: How to record from this channel?


 
Try this -
Code:

rtmpdump -r "rtmp://cdn5a.iblups.com/ptv" -a "ptv" -f "MAC 20,0,0,228" -W "http://p.iblups.com/ptv/jwplayer/jwplayer.flash.swf"  -p "http://p.iblups.com/ptv/embedPTV.php?w=560&h=315" --live -C S:OK -y "ptv1" -k -o output.flv


All times are GMT -6. The time now is 10:25 AM.