You are not logged in.
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
Do you have xvidcore installed?
/path/to/Truth
Offline
of course
Offline
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
looks like ffmpeg is kinda messed up right now. look at the problems with vlc.
Offline
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
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
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
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
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
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
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
try installing xvidcore
Offline
It is already installed. same error.
Offline
I'm still seeing this problem: Unknown decoder 'libxvid'. I have libxvidcore installed. Anyone know what's up with this?
Offline
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
Same problem here
Offline
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
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'
Offline
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
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
Bye.
Offline