20230806将ASF格式的视频转换为MP4

20230806将ASF格式的视频转换为MP4

2023/8/6 18:47

缘起,自考中山大学的《计算机网络》,考试《数据库系统原理》的时候找到视频,由于个人的原因,使用字幕更加有学习效率!

由于【重型】的PR2023占用资源较多,速度较慢【占用硬件资源较大】。

剪映不识别ASF这个视频格式,只能使用MP4了。

于是ffmpeg登场了!当然将ASF转换为ts格式剪影应该也是可以支持的!

另:尝试使用MKVToolNix将ASF转换为MKV失败!

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MKVToolNix

\[西安交通大学][数据库系统原理][54讲全][燕彩蓉]

中山大学自考 专业名称:计算机网络(独立本科段)* 专业代号:B080709 考试计划

类型序号 课程代号 课程名称 学分 类型 考试方式

008 4735 数据库系统原理 4 必考 笔试

ffmpeg asf mp4

http://t.zoukankan.com/jinli1771-p-15059440.html

ffmpeg将常见视频格式转换为mp4

1,avi、mkv、mp4等格式转为mp4

ffmpeg -i 1.avi -c copy 1.mp4

2,wmv、asf等格式转为mp4

ffmpeg -i 1.asf 1.mp4

Microsoft Windows [版本 10.0.19045.2311]

(c) Microsoft Corporation。保留所有权利。

C:\Users\Administrator>cd I:\[西安交通大学][数据库系统原理][54讲全][燕彩蓉]

C:\Users\Administrator>i:

I:\[西安交通大学][数据库系统原理][54讲全][燕彩蓉]>dir

驱动器 I 中的卷是 8T

卷的序列号是 E2B3-3455

I:\[西安交通大学][数据库系统原理][54讲全][燕彩蓉]>ffmpeg -i 第01讲j.asf 01.mp4

ffmpeg version 2020-11-04-git-cfdddec0c8-essentials_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 10.2.0 (Rev3, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband

libavutil 56. 60.100 / 56. 60.100

libavcodec 58.112.101 / 58.112.101

libavformat 58. 64.100 / 58. 64.100

libavdevice 58. 11.102 / 58. 11.102

libavfilter 7. 88.102 / 7. 88.102

libswscale 5. 8.100 / 5. 8.100

libswresample 3. 8.100 / 3. 8.100

libpostproc 55. 8.100 / 55. 8.100

Guessed Channel Layout for Input Stream #0.0 : mono

Input #0, asf, from '第01讲j.asf':

Metadata:

WM/WMADRCPeakReference: 32767

WM/WMADRCAverageReference: 18937

WMFSDKNeeded : 0.0.0.0000

WMFSDKVersion : 10.00.00.4054

IsVBR : 0

Duration: 00:45:54.50, start: 0.000000, bitrate: 46 kb/s

Chapter #0:0: start 85.400000, end 636.800000

Metadata:

title : 数据库概述

Chapter #0:1: start 636.800000, end 2754.496000

Metadata:

title : 数据库产生发展

Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 8000 Hz, mono, fltp, 8 kb/s

Stream #0:1: Video: mss1 (MSS1 / 0x3153534D), pal8, 800x600, 120 kb/s, 2 tbr, 1k tbn, 1k tbc

Stream mapping:

Stream #0:1 -> #0:0 (mss1 (native) -> h264 (libx264))

Stream #0:0 -> #0:1 (wmav2 (native) -> aac (native))

Press [q] to stop, [?] for help

[libx264 @ 000001a0f45cbc80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

[libx264 @ 000001a0f45cbc80] profile High 4:4:4 Predictive, level 3.1, 4:4:4, 8-bit

[libx264 @ 000001a0f45cbc80] 264 - core 161 r3027 4121277 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=19 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=2 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

[aac @ 000001a0f45339c0] Too many bits 8832.000000 > 6144 per frame requested, clamping to max

Output #0, mp4, to '01.mp4':

Metadata:

WM/WMADRCPeakReference: 32767

WM/WMADRCAverageReference: 18937

WMFSDKNeeded : 0.0.0.0000

WMFSDKVersion : 10.00.00.4054

IsVBR : 0

encoder : Lavf58.64.100

Chapter #0:0: start 85.400000, end 636.800000

Metadata:

title : 数据库概述

Chapter #0:1: start 636.800000, end 2754.496000

Metadata:

title : 数据库产生发展

Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(tv, progressive), 800x600, q=-1--1, 2 fps, 16384 tbn, 2 tbc

Metadata:

encoder : Lavc58.112.101 libx264

Side data:

cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A

Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s

Metadata:

encoder : Lavc58.112.101 aac

More than 1000 frames duplicated 4864kB time=00:11:06.81 bitrate= 59.8kbits/s dup=989 drop=0 speed=87.2x

frame= 5509 fps=170 q=-1.0 Lsize= 20879kB time=00:45:54.36 bitrate= 62.1kbits/s dup=3791 drop=0 speed=84.8x

video:5386kB audio:15315kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.857927%

[libx264 @ 000001a0f45cbc80] frame I:29 Avg QP: 7.48 size:144343

[libx264 @ 000001a0f45cbc80] frame P:1390 Avg QP:12.64 size: 773

[libx264 @ 000001a0f45cbc80] frame B:4090 Avg QP:19.70 size: 62

[libx264 @ 000001a0f45cbc80] consecutive B-frames: 0.8% 0.4% 0.8% 98.0%

[libx264 @ 000001a0f45cbc80] mb I I16..4: 46.7% 15.2% 38.1%

[libx264 @ 000001a0f45cbc80] mb P I16..4: 0.1% 0.1% 0.2% P16..4: 0.5% 0.1% 0.1% 0.0% 0.0% skip:99.0%

[libx264 @ 000001a0f45cbc80] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.4% 0.0% 0.0% direct: 0.0% skip:99.5% L0:53.7% L1:46.2% BI: 0.1%

[libx264 @ 000001a0f45cbc80] 8x8 transform intra:17.3% inter:25.8%

[libx264 @ 000001a0f45cbc80] coded y,u,v intra: 42.7% 39.8% 37.6% inter: 0.0% 0.0% 0.0%

[libx264 @ 000001a0f45cbc80] i16 v,h,dc,p: 66% 9% 24% 1%

[libx264 @ 000001a0f45cbc80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 52% 13% 34% 0% 0% 0% 0% 0% 0%

[libx264 @ 000001a0f45cbc80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 21% 31% 3% 5% 3% 4% 3% 3%

[libx264 @ 000001a0f45cbc80] Weighted P-Frames: Y:0.0% UV:0.0%

[libx264 @ 000001a0f45cbc80] ref P L0: 51.0% 1.8% 28.6% 18.6%

[libx264 @ 000001a0f45cbc80] ref B L0: 76.8% 22.1% 1.1%

[libx264 @ 000001a0f45cbc80] ref B L1: 97.2% 2.8%

[libx264 @ 000001a0f45cbc80] kb/s:16.02

[aac @ 000001a0f45339c0] Qavg: 64839.609

参考资料:

计算机网络 中山大学 考试科目代码

https://zhidao.baidu.com/question/560321793.html

中山大学自考 专业名称:计算机网络(独立本科段)* 专业代号:B080709 ; 15

https://www.zikaoben.cn/archives/4002.html

四川自考计算机网络专业(Y080709)考试科目课程一览表 - 自考网.mhtml

中山大学自考 专业名称:计算机网络(独立本科段)* 专业代号:B080709 考试计划

http://www.gdzsxx.com/zikao/zy/bk/201203/1323.html

B080709 计算机网络(独立本科段)*

相关推荐
南棱笑笑生6 天前
20241217使用M6000显卡在WIN10下跑whisper来识别中英文字幕
杂质
南棱笑笑生6 天前
20241217让荣品的PRO-RK3566开发板在Android13下使得GC2093摄像头使用1080p分辨率录像
杂质
南棱笑笑生1 个月前
20241116解决在WIN11和ubuntu20.04通过samba共享时出现局域网千兆带宽拉满的情况
杂质
南棱笑笑生2 个月前
20241107给荣品PRO-RK3566开发板刷Rockchip原厂的Android13并配置永不休眠
杂质
南棱笑笑生2 个月前
20241105编译荣品的Android13并给荣品PRO-RK3566开发板刷机
杂质
南棱笑笑生2 个月前
20241102在荣品PRO-RK3566开发板使用荣品预编译的buildroot通过iperf2测试AP6256的WIFI网速
杂质
南棱笑笑生2 个月前
20241028在荣品PRO-RK3566开发板的预置Android13下用iperf3测试AP6256的WIFI网速
杂质
南棱笑笑生2 个月前
20241029在荣品PRO-RK3566开发板的预置Android13下用iperf3测试以太网eth0的网速【RTL8211F-CG】
杂质
南棱笑笑生2 个月前
20241021给荣品RD-RK3588-AHD开发板刷荣品预编译的Android12之后使用GPStest测试板载GPS
杂质
南棱笑笑生3 个月前
20241004给荣品RD-RK3588-AHD开发板刷Rockchip原厂的Android12【HDMI0显示】
杂质