VideoHelp Forum




Results 1 to 7 of 7
  1. Hi

    sorry to shout out but trying to encode to dvd using the settings i think are correct and get the following error message:
    creation_time : 2011-09-01 16:11:13
    Stream #0.2(eng): Data: tmcd / 0x64636D74, 0 kb/s
    Metadata:
    creation_time : 2011-09-01 16:11:14
    Unknown input format: 'dvd'

    my settings are below and any help would be greatly appreciated:
    -f dvd
    -acodec ac3
    -ab 448000
    -ar 4800
    -b 7000000
    -s 720x576
    -r 25
    -vf setdar=16:9
    -aspect 16:9
    -vcodec mpeg2video
    -qmin 2
    -qmax 31
    -async 1
    -i fichierentree
    -pass 2
    -passlogfile ffmpeg2pass fichiersortie -2



    the last three were my attempt at setting a 2pass encode

    any pointers would be greatly appreciated

    thank you

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by supportpartners View Post
    Unknown input format
    The error seems to be related to your source file.
    What kind of file, with what specs, is your source file?

  3. Hi

    it's a DV file 720x576 .mov

  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Closer inspection reveals some errors in the syntax:
    * input file should be specified before output options.
    * -ar 4800 should be -ar 48000 (48 kHz audio)
    * the "-2" at the end makes no sense to me? Neither to ffmpeg...
    * do pass 1 first, then pass 2; you can't set both in one command (see below)

    And some minor things:
    * -vf setdar=16:9 and -aspect 16:9 do the same thing (not a real error, but redundant)
    * -qmin 2 -qmax 31 is about the whole quantizer range. More useful would be a restriction, e.g. -qmin 2 -qmax 20 would set a comfortable qmax for limiting compression, thereby not allowing too much degradation from compression.

    Assuming interlaced content, you may need to set the field order, as DV is bottom field first (bff) and MPEG-2 is top field first (tff).
    -vf "fieldorder=bff" or -vf "fieldorder=tff", not sure which for DV > MPG. (The example from the ffmpeg docs list -vf "fieldorder=bff" for VOB > DV.)

    Two pass conversion:
    * The first pass may ignore audio (-an), as the two pass routine works on the video.
    * The output of the first pass may be nulled (-y /dev/null or -y NUL), as you only need the passlogfile. The second pass will write the actual output (output.mpg)

    Code:
    ffmpeg -i input.mov -f dvd -an -b 7000000 -s 720x576 -r 25 -vf "setdar=16:9" -vcodec mpeg2video -qmin 2 -qmax 20 -async 1 -pass 1 -passlogfile ffmpeg2pass -y /dev/null
    
    ffmpeg -i input.mov -f dvd -acodec ac3 -ab 448000 -ar 48000 -b 7000000 -s 720x576 -r 25 -vf "setdar=16:9" -vcodec mpeg2video -qmin 2 -qmax 20 -async 1 -pass 2 -passlogfile ffmpeg2pass output.mpg

  5. Hi

    i really appreciate the help and patience as i am not exactly The Code Whisperer

    all good except with the codes added i get an "input.mov: no such file or directory" error
    will double and triple check the settings

    aargh

    thanks again

  6. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by supportpartners View Post
    all good except with the codes added i get an "input.mov: no such file or directory" error
    Replace input.mov with the (path and) filename of your source file.

  7. Thank you so much!




Similar Threads

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