Find the answer to your Linux question:
Results 1 to 2 of 2
When I use the command above, (ffmpeg -i foo.avi -aspect 16:9 -target ntsc-dvd foo.mpg) I get an unknown encoder error. I also get the same error any time I try ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    1

    ffmepg encoding help please



    When I use the command above, (ffmpeg -i foo.avi -aspect 16:9 -target ntsc-dvd foo.mpg) I get an unknown encoder error. I also get the same error any time I try to specify a file type for output except for a straight mpeg. The error is as follows;
    Unknown encoder 'mpeg2video'
    I am able to specify resolution and bitrate for mpeg, but not a different file type. Seems like I can only encode mpeg, not mpeg 2, 3, 4 , svcd, or anything else.
    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3
    Quote Originally Posted by MindGame View Post
    When I use the command above, (ffmpeg -i foo.avi -aspect 16:9 -target ntsc-dvd foo.mpg) I get an unknown encoder error. I also get the same error any time I try to specify a file type for output except for a straight mpeg. The error is as follows;
    Unknown encoder 'mpeg2video'
    I am able to specify resolution and bitrate for mpeg, but not a different file type. Seems like I can only encode mpeg, not mpeg 2, 3, 4 , svcd, or anything else.
    Any ideas?
    I'm assuming you got ffmpeg from synaptic using the standard Debian repositories, if that's the case ffmpeg doesn't have all the dependencies to do what you're wanting (I can't recall if it's because of copyright violations, or what?).

    You can add Debian multimedia (debian-multimedia.org/) to your apt-sources list and then get ffmpeg from there. Everything should then work. Instructions to add Debian multimedia to your sources list is listed on their site.

    HTH.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •