You are not logged in.

#1 2008-01-26 11:05:47

Johannes
Member
Registered: 2007-11-21
Posts: 5

ffmpeg: Unknown decoder 'xvid'

Hi Everyone,

If I try to encode a video File with the ffmpeg-20071204-1 package i get the following error:

FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec  4 2007 21:40:55, gcc: 4.2.2

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from 'test.flv':
  Duration: 01:56:23.6, start: 0.000000, bitrate: 64 kb/s
    Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 0:1 DAR 0:1], 29.92 tb(r)
    Stream #0.1: Audio: mp3, 22050 Hz, mono, 64 kb/s
Must supply at least one output file
FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec  4 2007 21:40:55, gcc: 4.2.2
Unknown decoder 'xvid'

With an old package i.e. ffmpeg-20070505-3 i don't get this error.

Do you know how to fix this problem??

Offline

#2 2008-01-26 18:38:32

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: ffmpeg: Unknown decoder 'xvid'

Do you have xvidcore installed?


/path/to/Truth

Offline

#3 2008-01-26 20:20:33

Johannes
Member
Registered: 2007-11-21
Posts: 5

Re: ffmpeg: Unknown decoder 'xvid'

of course

Offline

#4 2008-01-26 21:03:16

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: ffmpeg: Unknown decoder 'xvid'

I can confirm the error with the ffmpeg 20071204-1 package on x86_64.  I can add that the man pages are missing, despite being in the File List for the package and also this, which I never noticed before:

[david@darkstar ffmpeg]$ ffmpeg -formats
FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Jan 26 2008 20:51:54, gcc: 4.2.2
File formats:

Codecs:

Supported file protocols:

Frame size, frame rate abbreviations:
 ntsc pal qntsc qpal sntsc spal film ntsc-film sqcif qcif cif 4cif

Note, the names of encoders and decoders do not always match, so there are
several cases where the above table shows encoder only or decoder only entries
even though both encoding and decoding are supported. For example, the h263
decoder corresponds to the h263 and h263p encoders, for file formats it is even
worse.

Looks as though a bug report or two is in order?

Last edited by azleifel (2008-01-26 21:03:50)

Offline

#5 2008-01-26 21:49:53

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: ffmpeg: Unknown decoder 'xvid'

looks like ffmpeg is kinda messed up right now. look at the problems with vlc.

Offline

#6 2008-01-26 22:19:03

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: ffmpeg: Unknown decoder 'xvid'

bionnaki wrote:

looks like ffmpeg is kinda messed up right now. look at the problems with vlc.

I've filed 3 bug reports in the meantime, one for the missing man pages, one for the incomplete output from "ffmpeg -formats" and one for transcoding to xvid.

I don't often use vlc because I've always had the problem with crackly audio and so I'm not too worried about it not working with the updated ffmpeg package.  I do wonder, however, what other knock-on effects there will be from the update.

Last edited by azleifel (2008-01-26 22:19:55)

Offline

#7 2008-01-26 22:27:41

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: ffmpeg: Unknown decoder 'xvid'

All of the external encoders are now prefixed with 'lib'. xvid is now libxvid. x264 is now libx264. faac is now libfaac... etc.

[skottish@iasE ~]$ ffmpeg -formats | grep xvid
... snip ...
  EV    libxvid

Last edited by skottish (2008-01-26 22:28:08)

Offline

#8 2008-01-26 22:40:31

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: ffmpeg: Unknown decoder 'xvid'

skottish wrote:

All of the external encoders are now prefixed with 'lib'. xvid is now libxvid. x264 is now libx264. faac is now libfaac... etc.

[skottish@iasE ~]$ ffmpeg -formats | grep xvid
... snip ...
  EV    libxvid

You have the advantage of me, at least, because I don't get any output from "ffmpeg -formats" and have no man pages to view either!

[david@darkstar Video]$ ffmpeg -formats | grep xvid
FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec 15 2007 20:57:32, gcc: 4.2.2
[david@darkstar Video]$

EDIT: I just tried using "-vcodec libxvid" and it does indeed work!

Last edited by azleifel (2008-01-26 22:42:32)

Offline

#9 2008-01-26 22:43:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: ffmpeg: Unknown decoder 'xvid'

I'm not using FFmpeg from the repos, so I was unaware of the formats problem until this thread. That's a huge part of FFmpeg to have missing. I don't install the man pages, so I don't know anything about that either.

Offline

#10 2008-01-26 22:45:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: ffmpeg: Unknown decoder 'xvid'

azleifel wrote:

EDIT: I just tried using "-vcodec libxvid" and it does indeed work!

What's happening at FFmpeg is they are systematically replacing all external libraries. Their internal mpeg4 encoder is getting better all the time. It's not as high quality yet as xvid or x264, but it's fast as hell; Faster than even xvid.

Offline

#11 2008-01-26 22:46:48

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: ffmpeg: Unknown decoder 'xvid'

skottish wrote:
azleifel wrote:

EDIT: I just tried using "-vcodec libxvid" and it does indeed work!

What's happening at FFmpeg is they are systematically replacing all external libraries. Their internal mpeg4 encoder is getting better all the time. It's not as high quality yet as xvid or x264, but it's fast as hell; Faster than even xvid.

Thanks for the information.  I just went and requested closure of the bug I filed about xvid.

UPDATE: I'm back in business with manual pages and a working ffmpeg -formats.  I installed the latest ffmpeg svn checkout using the PKGBUILD from AUR with the configure options amended to bring them into line with the PKGBUILD from Extra and an extra make line to generate the man pages.

Last edited by azleifel (2008-01-27 00:38:53)

Offline

#12 2008-02-03 19:08:23

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: ffmpeg: Unknown decoder 'xvid'

I still cant use ffmpeg -vcodec libxvid.  It give me the unknown decoder "libxvid".  I did a pacman -Sss xvid, but there are no libxvid files.  What library do I need to get this to work?

Offline

#13 2008-02-03 22:37:08

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ffmpeg: Unknown decoder 'xvid'

try installing  xvidcore

Offline

#14 2008-02-04 01:39:40

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: ffmpeg: Unknown decoder 'xvid'

It is already installed. same error.

Offline

#15 2008-04-02 01:32:26

darose
Member
Registered: 2004-04-13
Posts: 158

Re: ffmpeg: Unknown decoder 'xvid'

I'm still seeing this problem:  Unknown decoder 'libxvid'.  I have libxvidcore installed.  Anyone know what's up with this?

Offline

#16 2008-04-02 01:58:30

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: ffmpeg: Unknown decoder 'xvid'

darose wrote:

I'm still seeing this problem:  Unknown decoder 'libxvid'.  I have libxvidcore installed.  Anyone know what's up with this?

Please post an example of something that's failing for you.

Offline

#17 2008-04-16 18:40:09

Bapman
Member
From: Ottawa, Canada
Registered: 2007-09-02
Posts: 140

Re: ffmpeg: Unknown decoder 'xvid'

Same problem here sad

Offline

#18 2008-04-16 19:22:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: ffmpeg: Unknown decoder 'xvid'

Again, if anyone is still having problems, please post a command line that you're trying that isn't working for you.

Last edited by skottish (2008-04-16 19:33:31)

Offline

#19 2008-04-25 17:16:59

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: ffmpeg: Unknown decoder 'xvid'

DEFAULT_ARGS = "-f mp4 -vcodec libxvid -maxrate 1000 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac"FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec  4 2007 21:40:55, gcc: 4.2.2
Unknown decoder 'libxvid'

sad

Offline

#20 2009-05-16 01:54:01

msdark
Member
From: Chile
Registered: 2008-08-17
Posts: 49
Website

Re: ffmpeg: Unknown decoder 'xvid'

Same problem here with mp4ize script, is a script in ruby like the script posted by sH before me...


www.msdarkici.wordpress.com (Spanish) All what i Do in the linux world!!!
Arch User... Feel Free... Feel Speed....

Offline

#21 2009-08-05 18:32:05

secretfox
Member
Registered: 2007-03-27
Posts: 11

Re: ffmpeg: Unknown decoder 'xvid'

I had the same problem with vlc 1.0 and smplayer after x264-git update.
I resolved with

ln -s /usr/lib/libx264.so.67 /usr/lib/libx264.so.68

I don't know if it resolves your problem, but you can try smile

Bye.

Offline

Board footer

Powered by FluxBB