Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use ffmpeg

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to use ffmpeg, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Ffmpeg-I "http://......m3u8"-c copy media.mp4-c copy means that all streams are copied without transcoding.

Ffmpeg-I "http://......m3u8"-c copy media.ts

(ffmpeg-I http://x.m3u8-c copy-movflags faststart x.mp4 > x.log 2 > & 1 < / dev/null &)

2. Merge locally encrypted m3u8 analysis m3u8 files

# EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:10#EXT-X-MEDIA-SEQUENCE:0#EXT-X-KEY:METHOD=AES-128,URI= "key.key" # this is the key # EXTINF:6.08000.ts#EXTINF:10001.ts

Download the key.key file and modify the m3u8 file (plus the local path)

# EXTM3U#EXT-X-VERSION:3#EXT-X-TARGETDURATION:10#EXT-X-MEDIA-SEQUENCE:0#EXT-X-KEY:METHOD=AES-128,URI= "d:/key.key" # this is the key # EXTINF:6.08,d:/000.ts#EXTINF:10,d:/001.ts

Then merge ffmpeg-allowed_extensions ALL-I HdNz1kaz.m3u8-c copy new.mp4

Wget-B http://xxx-P DIR_NAME-I xxx.m3u8-b-nv

The above is all the contents of this article "how to use ffmpeg". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report