Find Jobs
Hire Freelancers

Powershell Script for FFMpeg and FFProbe - 02/05/2018 11:33 EDT

$30-250 USD

已取消
已发布大约 6 年前

$30-250 USD

货到付款
1. Checks to see if latest ffmpeg for Windows 10 64-bit is installed. 2. If ffmpeg not installed or not most current, download and install the latest version. 3. User specifies location or locations of videos to analyze and convert. (could just be variables in script or prompt the user with location(s) selected last time) 4. Script finds all videos that are not already in optimal format (x265 or hevc codec in an .mp4 container, with reasonably low bitrates for audio and video) and orders them from largest to smallest files so that the videos with the largest file size are converted first. 5. Optimal videos are videos that: - Use the .mp4 container - Are encoded using x265 or hevc (hevc_nvenc) codec - Maintain the best quality audio streams available (AAC, AC3, DTS...) - If the video or audio bitrate is ridiculously high, reduce to something more reasonable - Maintain all subtitles found in the original video - Retain chapter markers - Set the hvc1 video tag to make the Apple TV happy - Set the fast start atom (unless this is a bad idea...) - rename the file so that any reference to h264 x264 or the previous codec, are replaced with h265 - I've been experimenting with basic parameters like this but do not claim to know what is truly best for this type of conversion: $ffmpegParams = '-loglevel error -i "{0}" -c:v hevc_nvenc -tag:v hvc1 -preset slow -acodec copy -c:s mov_text -movflags +faststart -hide_banner "{1}"' -f $src, $newSrc; 6. Ensure that ffmpeg uses the hevc_nvenc codec to maximize the speed of conversion, but set the preset to slow and ensure it is Main 10 profile 7. After conversion (saving the new video to the same directory as the source file), double check that the resulting movie is of the same duration, dimensions and contains the relevant audio, video, and subtitle tracks that are expected 8. If the file conversion is successful, delete the original file 9. Rename any other .jpg, .nfo, .sub such files that matched the name of the original file, to the new file name Additional features: Leveraging powershell's parallel function or something similar, keep two ffmpeg conversion threads going at all times to maximize utilization of the system as the GTX 1080 card can handle 2 hevc_nvenc threads at the same time. I look to you as the developer to make recommendation to suggest a more optimal solution beyond what I am literally asking for if you what I am asking for is not perhaps the right way to look at this challenge. I'm asking for powershell because I'd like the ability to examine the code, tweak it over time, and easily customize it in the future using the foundation of what you develop. I've looked at and tried dozens of the open source, as well as paid solutions to this challenge, but find under Windows 10 the quality of most to be lacking severely in small, but significant ways. StaxRip is great, MyFFmpeg is good. I've always been a HUGE fan of HandBrake (and more specifically HandBrakeCLI), and have used various wrapper scripts I've found on GitHub, but none are as simple, effective, and easy to update and tweak as I would like.
项目 ID: 16864571

关于此项目

1条提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$155 USD来参与此工作竞标
用户头像
Hey I'm interested I'm a System and Network Engineer I had done many projects using Power Shell I can help
$155 USD 在3天之内
5.0 (6条评论)
3.2
3.2

关于客户

SLOVAKIA的国旗
Slovakia
0.0
0
会员自4月 23, 2018起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。