VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Jan 2011
    Location
    London
    Search PM
    Hi,

    I am trying to convert video files to the webm format. I am using
    FFmpeg and have installed the libvpx library. I can confirm this when
    I run the following:

    $ ./ffmpeg -formats 2> /dev/null | grep WebM
    E webm WebM file format

    $ ./ffmpeg -codecs 2> /dev/null | grep libvpx
    DEV libvpx libvpx VP8

    Which means I should be able to convert to webm? However when I run
    "ffmpeg -i [input.mp4] [output.webm]", I get the following error:

    "Encoder (codec id 146) not found for output stream #0.0"

    Has anyone got any ideas?

    Many Thanks.
    Quote Quote  
  2. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Hi
    When I run the same grep commands I get similar results:-
    Code:
    x@ubuntu:~$ ffmpeg -formats 2> /dev/null | grep WebM
     D  matroska,webm   Matroska/WebM file format
      E webm            WebM file format
    
    x@ubuntu:~$ ffmpeg -codecs 2> /dev/null | grep libvpx
     DEV    libvpx          libvpx VP8
    And it converts OK with your command:-
    Code:
     ffmpeg -i input.mp4 output.webm
    And the result is the same if I use command:-
    Code:
     ffmpeg -i input.mp4 -vcodec libvpx -acodec libvorbis output.webm
    So maybe there is something wrong with your libvpx compilation/installation.

    Try testing libvpx and libvorbis individually.
    Like this:-
    Code:
    ffmpeg -i input.mp4 -vcodec libvpx -an output.mkv
    and this:
    Code:
    ffmpeg -i input.mp4 -acodec libvorbis -vn output.mka



    Code:
    Complete name                    : output.webm
    Format                           : WebM
    File size                        : 7.20 MiB
    Duration                         : 3mn 0s
    Overall bit rate                 : 335 Kbps
    Writing application              : Lavf52.92.0
    Writing library                  : Lavf52.92.0
    
    Video
    ID                               : 1
    Format                           : VP8
    Codec ID                         : V_VP8
    Duration                         : 3mn 0s
    Bit rate                         : 249 Kbps
    Width                            : 480 pixels
    Height                           : 272 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 25.025 fps
    Compression mode                 : Lossy
    Bits/(Pixel*Frame)               : 0.076
    Stream size                      : 5.35 MiB (74%)
    Language                         : English / English
    
    Audio
    ID                               : 2
    Format                           : Vorbis
    Format settings, Floor           : 1
    Codec ID                         : A_VORBIS
    Duration                         : 3mn 0s
    Bit rate                         : 64.0 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 44.1 KHz
    Bit depth                        : 16 bits
    Compression mode                 : Lossy
    Stream size                      : 1.37 MiB (19%)
    Writing library                  : aoTuV b5d  (UTC 2009-03-01)
    Language                         : English / English
    Last edited by bat999; 27th Jan 2011 at 13:56.
    Quote Quote  
  3. Member
    Join Date
    Jan 2011
    Location
    London
    Search PM
    Hi bat999,

    Thank you for the reply. I have been able to get it work. I completely removed ffmpeg and started again. I think the main issue was that I was trying to install libvpx library after ffmpeg was installed first.

    Thank you again!
    Quote Quote  



Similar Threads

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