php实现flash流媒体视频合成(F4M格式)

朋友发过来一个视频希望录制和下载下载,找了下工具借助此工具成功下载和合成;去缓存拿到对应的流媒体的url地址,可以下载下来也可以通过url的方式进行合成;

推荐下载指定码率的 流媒体文件再进行合成,缓存中直接拿到的可能码率不同,合成的文件无法播放等,谨记.

项目地址:https://github.com/K-S-V/Scripts

本地下载:AdobeHDS.php And Scripts-master

  1. Usage:
  2. php AdobeHDS.php --manifest "your_manifest_url" --delete
  3. MyVideo-Seg1-Frag1.f4f, MyVideo-Seg1-Frag2.f4f………MyVideo-Seg1-Frag99.f4f
  4. php AdobeHDS.php MyVideo-Seg1-Frag
  5. You can use script with following switches:
  6. --help displays this help
  7. --debug show debug output
  8. --delete delete fragments after processing
  9. --fproxy force proxy for downloading of fragments
  10. --play dump stream to stdout for piping to media player
  11. --rename rename fragments sequentially before processing
  12. --update update the script to current git version
  13. --auth [param] authentication string for fragment requests
  14. --duration [param] stop recording after specified number of seconds
  15. --filesize [param] split output file in chunks of specified size (MB)
  16. --fragments [param] base filename for fragments
  17. --manifest [param] manifest file for downloading of fragments
  18. --outdir [param] destination folder for output file
  19. --outfile [param] filename to use for output file
  20. --parallel [param] number of fragments to download simultaneously
  21. --proxy [param] proxy for downloading of manifest
  22. --quality [param] selected quality level (low|medium|high) or exact bitrate //开源软件:phpfensi.com
  23. --referrer [param] Referer to use for emulation of browser requests
  24. --start [param] start from specified fragment
  25. --useragent [param] User-Agent to use for emulation of browser requests