|
@@ -218,6 +218,8 @@ public class FileUtils {
|
|
|
"ffmpeg",
|
|
|
"-y",
|
|
|
"-i", fileUrl,
|
|
|
+ "-http_proxy",
|
|
|
+ "http://t17772369458618:5zqcjkmy@q796.kdltps.com:15818",
|
|
|
"-c", "copy",
|
|
|
// "-bsf:a", "aac_adtstoasc",
|
|
|
filePath
|
|
@@ -519,9 +521,9 @@ public class FileUtils {
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
// try {
|
|
|
// System.out.println("https://api-hl.huoshan.com/hotsoon/item/video/_source/?video_id=v0300fg10000ckmbrbbc77uc3nq19840&line=0&app_id=0&vquality=normal&watermark=0&long_video=0&sf=4&ts=1697528496&item_id=7290410334844718376".replace("https://api-hl.huoshan.com", "http://api-hl.huoshan.com"));
|
|
|
- download(
|
|
|
- "https://vdept3.bdstatic.com/mda-pi7hrdnkgwtdg2tk/360p/h264/1694176740575005064/mda-pi7hrdnkgwtdg2tk.mp4?v_from_s=hkapp-haokan-hbe&auth_key=1715591339-0-0-1287bc081fd203422d9cb9cbd8a81a59&bcevod_channel=searchbox_feed&cr=0&cd=0&pd=1&pt=3&logid=0539607253&vid=3386079544532479912&abtest=",
|
|
|
- "/Users/luojunhui/Downloads/" + System.currentTimeMillis() + ".mp4",
|
|
|
+ downloadZFHYD(
|
|
|
+ "http://res.xinghetime.com/luckvideo/video/5d7c1d52a7b944c993eb2162500f9481.m3u8",
|
|
|
+ "/Users/z/Downloads/" + System.currentTimeMillis() + ".mp4",
|
|
|
true,
|
|
|
false,
|
|
|
null
|