本帖最后由 w60711 于 2024-1-2 04:35 编辑
抱歉 我有點混亂沒有表達的很好...
我版本都一樣,沒有變換過~
完整參數和簡寫參數也都有用過了
可ˋ能m3u8-DP和直接下指令流程有不一樣的地方
現在,直接使用m3u8-DP操作:ffmpegParameter=-c:v copy -c:a copy -bsf:a aac_adtstoasc
a大版本的ffmpeg〓当前已载入之前解析成功的数据,可无需再次解析
已获取所有视频链接,共 710 个
◆解析完成!分段数: 710, 总时长: 00:23:40
〓准备解密合并,检查文件…
710 个文件已全部检测到,开始合并…
无 ffmpeg 进程需要等待
ffmpeg version N-53033-g56ba331 Copyright (c) 2000-2013 the FFmpeg developers
built on May 13 2013 22:18:29 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 31.100 / 52. 31.100
libavcodec 55. 9.100 / 55. 9.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 65.100 / 3. 65.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, hls,applehttp, from 'C:\Users\Administrator\AppData\Local\Temp\~namxgno.tmp':
Duration: 00:21:12.00, start: 1.457000, bitrate: 0 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 854x480 [SAR 2560:2559 DAR 13664:7677], 12.50 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 67 kb/s
Output #0, mp4, to 'D:\m3u8-DP\01 (5).mp4':
Metadata:
encoder : Lavf55.7.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 854x480 [SAR 2560:2559 DAR 13664:7677], q=2-31, 12.50 fps, 90k tbn, 90k tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 67 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=23890 fps=0.0 q=-1.0 size= 64833kB time=00:15:55.50 bitrate= 555.8kbits/s
frame=35503 fps=0.0 q=-1.0 Lsize= 97377kB time=00:23:40.15 bitrate= 561.7kbits/s
video:84614kB audio:11602kB subtitle:0 global headers:0kB muxing overhead 1.207168%
★ D:\m3u8-DP\tmp\家裡蹲吸血姬的苦悶 ひきこまり吸血姫の悶々 第01集 - Gimy TV 劇迷線上看_ Gimy TV 劇迷線上看
耗时 1 秒,解密合并已完成!输出文件:
D:\m3u8-DP\01 (5).mp4
大小为:95.1 MB
2023-12-28新版本的ffmpeg
Not detecting m3u8/hls with non standard extension and non standard mime type
2023.05.15
Not detecting m3u8/hls with non standard extension
〓当前已载入之前解析成功的数据,可无需再次解析
已获取所有视频链接,共 710 个
◆解析完成!分段数: 710, 总时长: 00:23:40
〓准备解密合并,检查文件…
710 个文件已全部检测到,开始合并…
无 ffmpeg 进程需要等待
ffmpeg version 2023-12-28-git-c1340f3439-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 58. 36.100 / 58. 36.100
libavcodec 60. 36.100 / 60. 36.100
libavformat 60. 20.100 / 60. 20.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 14.102 / 9. 14.102
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
Not detecting m3u8/hls with non standard extension and non standard mime type
Last message repeated 7 times
[in#0 @ 000001fc967aa2c0] Error opening input: Invalid data found when processing input
Error opening input file C:\Users\Administrator\AppData\Local\Temp\~rgjyfpr.tmp.
Error opening input files: Invalid data found when processing input
▲ D:\m3u8-DP\tmp\家裡蹲吸血姬的苦悶 ひきこまり吸血姫の悶々 第01集 - Gimy TV 劇迷線上看_ Gimy TV 劇迷線上看 解密&合并失败!
貌似 2023.05.16 修改過,但更早之前就有相關檢驗了diff --git a/libavformat/hls.c b/libavformat/hls.c
index 2bc142510e..4fff4405e8 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2546,8 +2546,8 @@ static int hls_probe(const AVProbeData *p)
if (!mime_ok &&
!mime_x &&
- !av_match_ext (p->filename, "m3u8,hls,m3u") &&
- ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0) {
+ !av_match_ext (p->filename, "m3u8,m3u") &&
+ ff_match_url_ext(p->filename, "m3u8,m3u") <= 0) {
av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension and non standard mime type\n");
return 0;
}
|