VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Member
    Join Date
    Dec 2009
    Location
    United States
    Search Comp PM
    I am trying to encode a video to x264 via CLI in the command prompt and am having trouble, mainly with the input commands.

    So far I have

    x264 -o C:\Users\Videos\ys 2 trailer.avs --output C:\Users\Videos\Ys_2_Trailer.mkv --crf 1 --profile high --preset veryslow

    I received the errors:

    ffms [error]: could not create index
    lavf [error]: could not open input file
    raw [error]: raw input requires a resolution.
    x264 [error]: could not open input file `2' via any method!

    What am I typing incorrectly?
    Quote Quote  
  2. Put quotes around filenames with spaces.

    x264 -o "C:\Users\Videos\ys 2 trailer.avs" --output C:\Users\Videos\Ys_2_Trailer.mkv --crf 1 --profile high --preset veryslow

    CRF 1? You're gonna get a very big file.
    Quote Quote  
  3. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    ... Also this is the syntax for x264:-

    x264 [options] -o outfile infile
    So you need to rearrange the command, though you probably have other problems too.

    Helpfile is attached.
    Image Attached Files
    Last edited by bat999; 6th Oct 2010 at 12:20.
    Quote Quote  
  4. Actually, the options can be in any order. But I noticed another error, get rid of the -o:

    x264 "C:\Users\Videos\ys 2 trailer.avs" --output C:\Users\Videos\Ys_2_Trailer.mkv --crf 1 --profile high --preset veryslow

    I'm assuming here that "C:\Users\Videos\ys 2 trailer.avs" is the source AviSynth script.
    Quote Quote  
  5. Member
    Join Date
    Dec 2009
    Location
    United States
    Search Comp PM
    x264 --pass 2 --bitrate 1800 --stats "C:\Users\Videos\Ed Eddn eddy Episode 1.stats"
    --output "C:\Users\Videos\Ed Edd n Eddy Episode 1.mkv" "C:\Users\Videos\Ed Edd n Eddy Episode 1.avs"

    I received the errors:

    avs [error]: failed to load avisynth
    x264 [error]: could not open input file `C:\Users\Videos\Ed Edd n Eddy Episode 1.avs'

    What is the problem?
    Quote Quote  
  6. Do you have AviSynth installed? Can you open the AVS script successfully with a media player?
    Quote Quote  
  7. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    Could try using the experimental build of Virtualdub

    http://www.virtualdub.org/beta/VirtualDub-1.9.X-test30.zip

    With external encoder to create x264 mkv.

    Here is a guide to setup and use the encoder sets.

    http://forums.virtualdub.org/index.php?act=ST&f=3&t=18840&
    Quote Quote  
  8. Member
    Join Date
    Dec 2011
    Location
    Villahermosa
    Search PM
    Hi, how print of fullhelp of the x264 cli syntax in a txt file?.
    Quote Quote  
  9. Originally Posted by Qaned View Post
    Hi, how print of fullhelp of the x264 cli syntax in a txt file?.
    x264 --fullhelp 1>fullhelp.txt

    also see
    http://mewiki.project357.com/wiki/X264_Settings
    Quote Quote  
  10. Member
    Join Date
    Dec 2011
    Location
    Villahermosa
    Search PM
    Originally Posted by poisondeathray View Post
    Originally Posted by Qaned View Post
    Hi, how print of fullhelp of the x264 cli syntax in a txt file?.
    x264 --fullhelp 1>fullhelp.txt

    also see
    http://mewiki.project357.com/wiki/X264_Settings
    Hi poisondeathray, your answare funtion in any cli executable.
    Quote Quote  



Similar Threads