Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 Can there be any solution to this issue? Thanks in advance. |
#2
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)use mplayer2,vlc2
Code:
mplayer2 "rtmp://62.41.78.105/vodrtp/nas2.share/videos/auto/planetamusica/planetamusica_1_20120331" -dumpstream -dumpfile t.flv Code:
vlc "rtmp://62.41.78.105/vodrtp/nas2.share/videos/auto/planetamusica/planetamusica_1_20120331" --demux=dump --demuxdump-file=t.flv |
#3
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)Quote:
Thanks a lot! Worked like a charm! Cheers! |
#4
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)it was a rarely occurring bug in rtmpdump. rtmpdump wasn't saving flv header into file making it unplayable. i have fixed it. check the following package. it also supports automatic redirection handling.
Code:
http://stream-recorder.com/forum/release-unofficial-rtmpdump-binaries-t11030.html |
#5
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)Quote:
|
#6
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)Hello,
Thank you very much for all your suggestions. Been trying to compile following KSV instructions. Still, I have been unsuccessful. I keep getting the "undefined reference to `sqrt' `atan' and `exp'" functions, even if I use the -lm option inserted either on the XLDFLAGS declaration on the bash, either on LDFLAGS declaration on the makefile. Can you help me? Thanks. |
#7
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)Quote:
Code:
http://stream-recorder.com/forum/release-unofficial-rtmpdump-binaries-t11030.html |
#8
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)Hello KSV,
Thanks for all the assistance you've been giving out so far... I did try the procedure you've pointed out on the first post. I tried it first and then other procedures also on the thread. But with no avail. I keep getting the 'undefined' references to those functions that are given by C's math library. Still i do pass the -lm option on the XLDFLAGS command line argument, still there is something wrong as it doesn't seem to be picking up math library... When you mean afresh do you mean uninstalling (purging) currently installed rtmpdump? Thanks. |
#9
|
|||
|
|||
Re: ? How to record flash video from rtp site? (The resulting flv file is unplayable)Hello KSV and chap,
I've mistakenly chosen to use the 'angry' icon at the previously post... Maybe your lack of response is due to that. And I am most definitely responsible for that, I didn't notice the unhappy icon which was the one that I had wanted to pick up in the first place. (and it was right beside it... ) So even if you choose not to answer my queries, I've most definitely earned that silence. My apologies, and I sure know that you've helped me out so far, more than I did back. Cheers guys, see you another time when this mishap might have been solved. Bye. |
Tags: compile, fix, flash, howto, linux, not playable, replay media catcher, rtmpdump, unplayable flv |
Thread Tools | |
Display Modes | |
|
|