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.