VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. 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 -c 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 copy -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.
    Image Attached Thumbnails Click image for larger version

Name:	Electrta screen shot One.png
Views:	19
Size:	177.0 KB
ID:	86965  

    Quote Quote  
  2. put scripts it into a code tags, example:
    [ CODE ]cmd /k ffmpeg ...[ /CODE ]

    no spaces in that example within those square brackets
    Quote Quote  
  3. Originally Posted by _Al_ View Post
    put scripts it into a code tags, example:
    [ CODE ]cmd /k ffmpeg ...[ /CODE ]

    no spaces in that example within those square brackets
    Yes, thanks. I should have remembered the style element.
    Quote Quote  
  4. 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.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. 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"
    Image Attached Thumbnails Click image for larger version

Name:	electra first run.png
Views:	12
Size:	237.4 KB
ID:	87002  

    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!