I've tried to put together things from the earlier thread on this but it's a new job. So I'm doing it in screen shots where the new file name is designated as Electra.mkv in the bin folder of a fresh ffmpeg 7.
Does # have to be turned off with -#? That was not working right for me to post this.
cmd /k ffmpeg -i "ffmpeg -i "Electra.mkv" -map 0:0 -map 0:1 -map 0:2 ^
-vf crop="in_w:in_h-62:0:0",pad="in_w:in_h+62:0:0",atadenoise,unsharp, atadenoise ^
-c:v libx264 -profile:v high -level:v 4.0 -preset medium -crf 22 ^
-c:a copy -ccopy -y "Electra-new.mkv" -map 0:0 -map 0:1 -map 0:2 ^
-vf crop="in_w:in_h-62:0:0",pad="in_w:in_h+62:0:0",atadenoise,unsharp, atadenoise ^
-c:v libx264 -profile:v high -level:v 4.0 -preset medium -crf 22 ^
-c:a copy -ccopy -y "Electra-new.mkv"
I can add in screen shot samples and MediaInfo as needed.
This will have to be renamed a .cmd in the final
Another question I had was about the remark (pcspeak or other) that FFmpeg can be installed in the System32 folder to... avoid path errors? I'm not sure.
[edit] And I have no idea where those smiley characters are in the post.
+ Reply to Thread
Results 1 to 6 of 6
-
-
put scripts it into a code tags, example:
[ CODE ]cmd /k ffmpeg ...[ /CODE ]
no spaces in that example within those square brackets -
-
Code:
cmd /k ffmpeg -i "ffmpeg -i "Electra.mkv" -map 0:0 -map 0:1 -map 0:2 ^ -vf crop="in_w:in_h-62:0:0",pad="in_w:in_h+62:0:0",atadenoise,unsharp,atadenoise ^ -c:v libx264 -profile:v high -level:v 4.0 -preset medium -crf 22 ^ -c:a copy -c:s copy -y "sb1-new.mkv"Electra.mkv" -map 0:0 -map 0:1 -map 0:2 ^ -vf crop="in_w:in_h-62:0:0",pad="in_w:in_h+62:0:0",atadenoise,unsharp,atadenoise ^ -c:v libx264 -profile:v high -level:v 4.0 -preset medium -crf 22 ^ -c:a copy -c:s copy -y "sb1-new.mkv"/
Ok I got that much.
I see what the error is but I'll have to make something totally corrected. Trying to edit this code in Win10 gives a permissions error.
Plus I got a result from the code but that kicked out an error right at the first line. Screen shot for that follows:Last edited by loninappleton; 13th May 2025 at 18:30.
-
I ran into some problems making and trying to edit the cmd for the errors. Some permission problem.
While I got through this whole routine before for the other project these errors seem new.
It could be I cannot edit things in a BIN folder. But that's the first thing that I have to change.
Also if I remade the code on the desktop in text I could not get it to save as cmd. It just wrote cmd.txt at the end.
Win 10 can't be that much different than Win7 where the old job was run. -
I got past the editing problem which had to do with a step in loading cmd I forgot which is run as administrator. I got that prompt using
Notepad++ to try another edit. Notepad++ set the admin level and I made edits needed just to get the source and target files named properly.
A screen shot from running that shows the code doesn't really get past the first line:
Code:cmd /k ffmpeg -i "ffmpeg -i "Electra.mkv" -map 0:0 -map 0:1 -map 0:2 ^ -vf crop="in_w:in_h-62:0:0",pad="in_w:in_h+62:0:0",atadenoise,unsharp,atadenoise ^ -c:v libx264 -profile:v high -level:v 4.0 -preset medium -crf 22 ^ -c:a copy -c:s copy -y "electra-new.mkv" -map 0:0 -map 0:1 -map 0:2 ^ -vf crop="in_w:in_h-62:0:0",pad="in_w:in_h+62:0:0",atadenoise,unsharp,atadenoise ^ -c:v libx264 -profile:v high -level:v 4.0 -preset medium -crf 22 ^ -c:a copy -c:s copy -y "electra-new.mkv"
Similar Threads
-
New black mask project
By loninappleton in forum SubtitleReplies: 1Last Post: 13th May 2025, 18:46 -
Add a black bar on video to mask the area without trimming
By loninappleton in forum EditingReplies: 52Last Post: 17th Dec 2024, 01:44 -
Auto mask section of video
By Tsubaru in forum EditingReplies: 2Last Post: 13th May 2023, 12:13 -
Premiere CC - using title (text) layer as mask for video layer
By Ygramul in forum EditingReplies: 0Last Post: 28th Nov 2021, 18:12 -
need assistance with mask
By Betelman in forum RestorationReplies: 9Last Post: 19th Aug 2021, 20:53