Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-03-2012, 08:56 AM
mzcl-mn mzcl-mn is offline
Junior Member
 
Join Date: Apr 2012
Posts: 11
mzcl-mn is on a distinguished road
Exclamation

How to record flash video from rtp site? (The resulting flv file is unplayable)


Software used:
Replay Media Catcher (works)
rtmpdump / rtmpsrv v2.4 7340f6d~git on Ubuntu 11.10 x86_64 (doesn't produce a readable flv file)
Hello everybody. I have posted almost this same post on another forum here at stream-recorder so I am going to edit it so it won't be regarded as spamming and refer it back to this one. The previous location was:

http://stream-recorder.com/forum/rec...al-t11359.html

I think this forum here would be much more appropriate, but forgive me if I am wrong...

Here is the story:

I am trying to record a video program from 'rtp' video on demand site. As I am trying to migrate to linux I much rather prefer not to use windows. It is a little cumbersome to divide the pc's time with another OS when maybe all the tasks could be done with Linux.

Let us move on...

So, I begun trying rtmpdump to see if I had some success.

rtmpdump works well on live audio shows from the same rtp domain. (That is if I use the live option)

But... for videos (namely this 'planetamusica' program) it doesn't.

Version one of the command:

Code:
# rtmpdump -r "rtmp://h2a.rtp.pt/redirectvodrtp" -a "redirectvodrtp" -f "LNX 11,2,202,228" -W "http://www.rtp.pt/swfjs/player/player.swf" -p "http://www.rtp.pt/programas-rtp/index.php?p_id=28042&e_id&c_id=1&dif=tv" -y "nas2.share/videos/auto/planetamusica/planetamusica_1_20120331" -o planetamusica_1_20120331.flv

(This was version one of the command that was output from standard procedure with rtmpsrv).

But, unfortunately, even with it I would end up with a large file (an unreadable one, too).

So I discovered that the file in question is one that can only be downloaded with the live option set. So I added the -v option.

But when that live option is set, the redirection prevents it from being downloaded.

So, next phase, was to verbose the output. Doing this I got the redirection url. So, I replaced the original rtmp url by the one that is referred by the redirection, and erased the -a option and its value.

Also, after some reading of rtmpdump man's pages I realised that most of the other parameters might not be necessary after all, so I slimmed the command version to this one:

Code:
# rtmpdump -v -r "rtmp://62.41.78.105:1935/vodrtp"  -y  "nas2.share/videos/auto/planetamusica/planetamusica_1_20120331" -o planetamusica_1_20120331.flv
Still, the file that I got is not playable.

Can there be any solution to this issue?

Thanks in advance.
Reply With Quote
 
Tags: , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:44 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons