我可以将我手中的扩展名为 mp4 的文件从与 PowerShell 相关的代码行转换为 m3u8 格式。
ffmpeg -i inputVideo.mp4 -profile:v baseline -level 3.0 -s 960x540 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls outputVideo.m3u8
但我想使用 C# 自动化这个过程。我按照微软网站上的文档写的做了,但是我无法添加相关参数。有没有人做过这样的事情?或者我该如何走一条路。