Trouble with a fileI am looking at the main video on this page:
Code:
http://eestilaul.err.ee/videod/245a451c-d909-4ff4-8257-eb204316ec51 Code:
rtmpdump --flashVer 'LNX 11,1,102,55' --rtmp rtmp://media.err.ee:80/etvsaated/2012.02.18_-_21.35-22.45_-_Eesti_Laul_2012.mp4 --swfUrl http://eestilaul.err.ee/js/players/flowplayer/flowp.layer_bwcheck_final.swf --pageUrl http://eestilaul.err.ee/videod/245a451c-d909-4ff4-8257-eb204316ec51 --flv 2012.02.18_-_21.35-22.45_-_Eesti_Laul_2012.mp4 The problem is, I can't get more than sixty seconds (and then it restarts without truncating the file) at a time without using the "-v" (live) option. The live option gets around that problem, but then the dump dies every time at around eleven minutes (90 MB downloaded). And (of course), resume won't work with a "live" stream (even though this one isn't really live). So is there any way I can save this stream (I am using Linux if that is not obvious)? Thank you for your help. |
Re: Trouble with a fileCode:
rtmpdump --rtmp rtmp://media.err.ee:80/etvsaated/2012.02.18_-_21.35-22.45_-_Eesti_Laul_2012.mp4 --flv 2012.02.18_-_21.35-22.45_-_Eesti_Laul_2012.mp4 -v Code:
|
Re: Trouble with a fileRead the suggested thread and learn that there are patches to the source code.
Go to the github mirror thinking that it will be easier to find the source code there. Download the newest file. Go to a search engine to figure out how to unpack a .7z file. Learn that the p7zip package for my system comes with a bloated gui. Download the source for the p7zip program and compile it. Unpack the .7z file. Unpack the official rtmpdump source code. Attempt to apply the patch. Notice that 21 hunks fail (about half of them). Try think of an alternative to going through all of those hunks by hand. Finally see the "Download as tar.gz" button prominently displayed in the middle of the github page. Download and unpack the already patched source code. Attempt to compile (fails with undefined references to sqrt, atan, and exp). Back to the search engines to try to figure out what is going on. Learn that I need to have -lm in my linker flags. Try adding "-lm" to the command line (in XLDFLAGS), but that didn't work. Edit the Makefile and add "-lm" to the end of the "LDFLAGS=-Wall $(XLDFLAGS)" line. Successfully compile the patched rtmpdump. Attempt to run the modified program (it keeps crashing after one and a half seconds). Remember to LD_PRELOAD the modified librtmp.so, so it gets used instead of the system one. Run the modified program. See the stream restart every few seconds. Remember (again) to add the -v flag. Run the modified program again. Learn that it stops at the same place as the unmodified program. :( Code:
Connecting ... |
Re: Trouble with a fileCan anyone help me with this?
I ran it again with the --debug parameter, and it dies like this (at the same place): Code:
|
All times are GMT -6. The time now is 09:11 AM. |