VideoHelp Forum
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 37 of 37
Thread
  1. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    This code generates an H.264 file (-c libx264 switch).
    Quote Quote  
  2. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    Originally Posted by rgr View Post
    This code generates an H.264 file (-c libx264 switch).
    It doesn't work. I've tried -i A Christmas Carol (1999) 4K Upscale AI.mkv -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k A Christmas Carol (1999) 4K Upscale AI.mp4

    AND

    ffmpeg -i A Christmas Carol (1999) 4K Upscale AI.mkv -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k A Christmas Carol (1999) 4K Upscale AI.mp4

    neither works. They say no such file or directory. Am I putting the command in wrong ?
    Think about this. Once bread becomes toast, you can't make it back into bread.
    Quote Quote  
  3. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    Use quotation marks in names as I wrote earlier.

    ffmpeg -i "A Christmas Carol (1999) 4K Upscale AI.mkv" -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k "A Christmas Carol (1999) 4K Upscale AI.mp4"
    Quote Quote  
  4. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    Originally Posted by rgr View Post
    Use quotation marks in names as I wrote earlier.

    ffmpeg -i "A Christmas Carol (1999) 4K Upscale AI.mkv" -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k "A Christmas Carol (1999) 4K Upscale AI.mp4"
    Good lord, I'm dense...
    Think about this. Once bread becomes toast, you can't make it back into bread.
    Quote Quote  
  5. Member
    Join Date
    Dec 2006
    Location
    United States
    Search Comp PM
    Originally Posted by rgr View Post
    Use quotation marks in names as I wrote earlier.

    ffmpeg -i "A Christmas Carol (1999) 4K Upscale AI.mkv" -preset slower -c:v libx264 -crf 17 -c:a aac -b:a 192k "A Christmas Carol (1999) 4K Upscale AI.mp4"
    How long does this take ? It looks like the speed is .05x. If the file is 3.97gb, won't it take forever ? It's been a couple hours so far. I can't check the progress as the cmd doesn't say anything about the time it'll take and the resulting file doesn't have a size to it yet.
    Think about this. Once bread becomes toast, you can't make it back into bread.
    Quote Quote  
  6. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    It depends on the speed of your computer. The size of the resulting file can be estimated based on the bitrate, but why?
    Quote Quote  
  7. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    It uses -preset slower, depending on your cpu it may take a while.
    4k video, even slower.
    You could change it to -preset medium, should be much faster
    with the trade-off of a bit larger final file (medium preset is the default if it's not specified
    at all)
    Could have set this up in HB or Vidcoder in about 5 minutes

    Some people like to learn the command line but not everyone
    Last edited by davexnet; 23rd Oct 2024 at 12:50.
    Quote Quote  



Similar Threads

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