Advertisement
Guest User

Untitled

a guest
Aug 17th, 2013
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. 1. Take the original flashvars string und URL decode it. Many ways to do it, but simplest.. Throw it here: http://meyerweb.com/eric/tools/dencoder/ and hit decode.
  2.  
  3. 2. Ok, what have we here? playlistfile=http://www.rtvslo.si/media.php?id=173767487&mt=flv&mq=hi&wm=true&rm=false&file=playlist.xml
  4.  
  5. 3. Play with the parameters, see how well you fare. Does not really seem to do anything useful other than provide the original playlist which uses rtmp. Seems to have some future framework for video tags, but its not working right now. So lets look at the original playlist:
  6.  
  7. We have a streamer entity: rtmp://stream.rtvslo.si/simplevideostreaming
  8.  
  9. And an asset location: 74/90/FredWilsonx201307291225x700000x351x413x.mp4
  10.  
  11. 4. Load up VLC, File > Open Network Stream. For URL join the two parts we just got:
  12.  
  13. rtmp://stream.rtvslo.si/simplevideostreaming/74/90/FredWilsonx201307291225x700000x351x413x.mp4
  14.  
  15. Click Convert, choose a destination file name, and check Dump raw input (you can also click Settings and select Keep original video/audio track. I find VLC conversions to be a mixed bag.. Instead I used the next step after seeing the player was getting an FLV container.
  16.  
  17. 5. ffmpeg -i FredWilsonx201307291225x700000x351x413x.mp4 -vcodec copy -acodec copy fred.mp4
  18.  
  19. You now have a pristine video file.
  20.  
  21. I'm sparing a bit of details, and in any such thing there is a bit of trial and error, and a bit of research. In this case I fired up Wireshark to see if there anything useful before looking at http://www.rtvslo.si/media.php, spent a few minutes on reading re jwplayer), and trusted the very capable VLC instead my inclination of going commando with rtmpdump.
  22.  
  23. This will obviously not work verbatim for other sites, but maybe give folks in this community some pointers next time they hit an unfriendly site.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement