Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35814 - vlc-0.6.2-r1 failed to initialize ffmpeg video decoder
Summary: vlc-0.6.2-r1 failed to initialize ffmpeg video decoder
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-14 11:15 UTC by Alexey Bazhin
Modified: 2005-03-09 14:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Bazhin 2003-12-14 11:15:20 UTC
vlc-0.6.2-r1 failed to initialize ffmpeg video decoder, vlc-0.6.2 worked fine.


baz@baz baz $ vlc --extraintf sap -v
VideoLAN Client 0.6.2 Trevelyan
[00000001] main vlc warning: config file /home/baz/.vlc/vlcrc does not exist yet[00000001] main vlc warning: config file /home/baz/.vlc/vlcrc does not exist yet[00000166] main input: playlist item `udp://@239.255.2.3:1234'
[00000166] mp4 input warning: MP4 plugin discarded (unseekable)
[00000166] avi input warning: avi module discarded (invalid header)
[00000166] asf input warning: ASF v1.0 plugin discarded (not a valid file)
[00000166] mpeg_system input warning: first packet for PID 0 received by TS demux
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0)
[00000166] mpeg_system input warning: first packet for PID 66 received by TS demux
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0)
[00000166] ts_dvbpsi input warning: found IOD descriptor

************ IOD ************
* iod_label:1
* ===========
* tag:0x2
* length:43
* od_id:1
* url flag:0
* includeInlineProfileLevel flag:0
* ODProfileLevelIndication:255
* sceneProfileLevelIndication:255
* audioProfileLevelIndication:254
* visualProfileLevelIndication:254
* graphicsProfileLevelIndication:255
* - ES_Descriptor length:32
*   * streamDependenceFlag:0
*   * OCRStreamFlag:0
*   * streamPriority:31
*   - DecoderConfigDesc length:13
*     * objectTypeIndication:0x20
*     * streamType:0x4
*     * upStream:0
*     * bufferSizeDB:1048576
*     * maxBitrate:2147483647
*     * avgBitrate:0
*   - SLConfigDescr length:8
*     * i_predefined:0x1
*****************************
[00000166] ts_dvbpsi input warning: found SL_descriptor
[00000168] ffmpeg decoder error: codec not found (MPEG-4)
[00000168] ffmpeg decoder error: initialization failed
[00000166] mpeg_system input warning: first packet for PID 69 received by TS demux
[00000166] mpeg_system input warning: first packet for PID 68 received by TS demux
[00000166] access_udp input: closing UDP target `udp://@239.255.2.3:1234'


Reproducible: Always
Steps to Reproduce:
1. emerge vlc-0.6.2-r1
2. try to play network mpeg4(?) stream
3.

Actual Results:  
only sound works

Expected Results:  
sound and video

baz@baz baz $ emerge info
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-baz)
=================================================================
System uname: 2.6.0-test11-baz i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs userpriv usersandbox"
GENTOO_MIRRORS="ftp://dgap-gw.mipt.ru/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://dgap-gw.mipt.ru/gentoo-portage"
USE="X aalib acpi apache2 autofs avi berkdb bonobo cdr cgi crypt curl dga dv dvd
encode faad gd gif gpm gtk gtk2 imap imlib ipv6 irda irmc java javascript jpeg
libwww mad maildir matroska mikmod mmx motif mozilla moznocompose moznoirc
moznomail mpeg ncurses nls oggvorbis opengl oss pdflib perl png python qt
quicktime readline samba sdl slang socks5 spell sse ssl svga tcltk tetex threads
tiff truetype wmf wxwindows x86 xface xfs xml2 xmms xosd xv xvid zlib"
Comment 1 Alexey Bazhin 2003-12-19 06:56:16 UTC
More details:
when emerging vlc and have ffmpeg(libavcodec) installed, vlc wouldn't link statically with libavcodec(that coming with vlc ebuild), instead it will try to use system's libavcodec.so that is from ffmpeg-0.4.8 and incommpatible with vlc.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-01 03:51:09 UTC
Is there still such a problem with current 0.7.2-r1?
Comment 3 Chris White (RETIRED) gentoo-dev 2005-01-07 20:05:40 UTC
Check this with 0.8.1.  I'm trying to get that into stable.
Comment 4 Alexey Bazhin 2005-01-08 04:00:19 UTC
Failed to compile whith USE="mozilla"

make[2]: Entering directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/mozilla'
/usr/lib/mozilla/xpidl  -I/usr/share/idl/mozilla \
  -I/usr/lib/mozilla/include/idl \
  -m header -o vlcintf ./vlcintf.idl
make[2]: /usr/lib/mozilla/xpidl: Команда не найдена
make[2]: *** [vlcintf.h] Ошибка 127
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/mozilla'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1'
make: *** [all] Ошибка 2
Comment 5 Chris White (RETIRED) gentoo-dev 2005-01-08 06:46:27 UTC
#4, I can't read that, you must have another locale compiled please:

`LC_ALL=C LANG=C emerge vlc`

so that I can get the correct output.  Also, please make sure you have the latest 1.7.5 mozilla for both stable and unstable.
Comment 6 Alexey Bazhin 2005-01-08 07:11:17 UTC
make[2]: Entering directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/mozilla'
/usr/lib/mozilla/xpidl  -I/usr/share/idl/mozilla \
  -I/usr/lib/mozilla/include/idl \
  -m header -o vlcintf ./vlcintf.idl
make[2]: /usr/lib/mozilla/xpidl: Command not found
make[2]: *** [vlcintf.h] Error 127
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1/mozilla'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1/work/vlc-0.8.1'
make: *** [all] Error 2


baz ~ # slocate xpidl
/usr/bin/xpidl
/usr/lib/MozillaThunderbird/xpidl
/usr/lib/MozillaFirefox/xpidl
/usr/share/gecko-sdk/bin/xpidl

baz ~ # equery belongs /usr/bin/xpidl
[ Searching for file(s) /usr/bin/xpidl in *... ]
net-www/mozilla-1.7.5 (/usr/bin/xpidl)

Without mozilla it works fine
Comment 7 Chris White (RETIRED) gentoo-dev 2005-01-08 07:59:23 UTC
Ok, I fixed the mozilla issue just now (Had to sed the correct path in).  Still need to know if the ffmpeg decoder thingy is an issue.
Comment 8 Alexey Bazhin 2005-01-08 08:06:58 UTC
No, ffmpeg decoder is ok now
Comment 9 Chris White (RETIRED) gentoo-dev 2005-03-09 14:46:54 UTC
Alright... closing this then.