VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. I use the online converter called cloudconvert at https://cloudconvert.com/ for most of my conversions. Below are 3 images showing a task I'm trying to figure out. It is the 2nd image where I think I'm having problems.

    From reading the cloudconvert documentation it seems the only way to resize a video is to use ffmpeg. I tried to do so (see 2nd image below) but when I go though the conversion process I get an error (see 3rd image below). I'm trying to resize a 1080p video to 720p

    I think what I need is a ffmpeg expert. Please look at the images below. I added notes to each image to give you an idea of what I was trying to do.

    If anyone has any suggestions, please post.

    Thanks


    Click image for larger version

Name:	1.png
Views:	571
Size:	11.8 KB
ID:	33094

    Click image for larger version

Name:	2.png
Views:	368
Size:	24.1 KB
ID:	33095

    Click image for larger version

Name:	3.png
Views:	436
Size:	8.4 KB
ID:	33093
    Quote Quote  
  2. The error message it's giving you is related to the path of the output file

    d: is not legal , it should be

    Code:
     "d:\end.mov"

    Your scale parameters are not correct either, it's width:height

    "720p" usually refers to height .e.g. 1280x720 means 1280 wide by 720 high

    The way you currently have it it will scale to 720px wide and adjust the width to the AR (so if you started with 1920x1080 your final video will be 720x405 - which will throw an error unless it's RGB or YUV444, not the usual YUV 4:2:0) . You don't have error handling in the scale code; odd numbers are not allowed with 4:2:0 subsampled chroma)
    Last edited by poisondeathray; 10th Aug 2015 at 20:42.
    Quote Quote  
  3. Thanks for getting back to me. So if I want it to be 1280 wide by 720 high should I enter it like this:

    -i end.mov -vf scale=1280:-1 d:\end.mov

    or like this

    -i end.mov -vf scale=1280:720 d:\end.mov

    Again, thanks for your help
    Quote Quote  
  4. Yes either works

    ffmpeg users typically use -s for scale as a shortcut (fewer characters to type)

    -s 1280x720

    You didn't specify the audio or video codec, or parameters such as bitrate etc... - or does the site take care of that?
    Quote Quote  
  5. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Check with the documentation and make sure when using custom ffmpeg scripts that only the "customized" is necessary and not the whole, fully formed, end-to-end script (which would completely replace all the GUI's settings).

    Scott
    Quote Quote  
  6. Member
    Join Date
    Jul 2014
    Location
    Denmark
    Search Comp PM
    You cannot be sure that the file is actually called "end.mov" on the server. If you read the description, you would know that your command should look like this:

    Code:
    -i {INPUTFILE} -vf scale=-1:720 -f mov {OUTPUTFILE}
    Using the "-f mov" switch should ensure the format to be QT/MOV no matter what extension the file is given by the server (download and rename to *.mov).
    I'm the developer behind FFQueue. My posts might reflect this! ;-)
    Quote Quote  



Similar Threads

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