Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lives: Encoder error - Bug report created (#113957)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Nov 23, 2005 1:00 pm    Post subject: Lives: Encoder error - Bug report created (#113957) Reply with quote

Hi, I'm trying to cut a AVI file and record it as a MPEG or another AVI using Lives, but I am having the following error messages:

Quote:
*** glibc detected *** double free or corruption (!prev): 0x0805b020 ***
sh: line 1: 10004 Abortado ffmpeg -comment "Created with LiVES" -author "Claudio" -title "Kali project" -y -f image -r 25,000

-i %8d.jpg -r 25,000 -t 11.16 "/home/claudio/kali/LP01.avi" >/dev/null 2>&1
Debug: mencoder command 1 is: mencoder -mf h=240:w=320:type=jpg -o "tmpvid" -ovc lavc -lavcopts vcodec=ljpeg -noskip -ofps 25,000 mf://*.jpg

-frames 280 1>&2
MEncoder 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilado para CPU x86 com extenções: MMX MMX2 3DNow 3DNowEx SSE SSE2

85 audio & 196 video codecs
Arquivo não encontrado: 'frameno.avi'
Failed to open frameno.avi
success: format: 16 data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: *.jpg
[mf] number of files: 280 (1120)
VIDEO: [IJPG] 320x240 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:320x240 fps:25.00 ftime:=0.0400
Abrindo filtro de vídeo: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Abrindo decodificador de vídeo: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Gravando cabeçalho do AVI...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
VDec: configuração vo pedida - 320 x 240 (preferido csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Aspecto do filme é 1.33:1 - pré-redimensionando para corrigir o aspecto do filme.
videocodec: libavcodec (320x240 fourcc=47504a4c [LJPG])
[ljpeg @ 0x86458e0]colorspace not supported in jpeg
Impossível abrir codec
FATAL: Impossível inicializar o driver de vídeo.

Saindo...






Debug: mencoder command 2 is: mencoder -mc 0 -o "/home/claudio/kali/lp01.avi" -ovc lavc -lavcopts vcodec=mjpeg:vhq -noskip -ofps 25,000

tmpvid -info comment="Created with LiVES":name="Kali project":artist="Claudio" 1>&2
MEncoder 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilado para CPU x86 com extenções: MMX MMX2 3DNow 3DNowEx SSE SSE2

85 audio & 196 video codecs
Arquivo não encontrado: 'frameno.avi'
Failed to open frameno.avi
success: format: 0 data: 0x0 - 0x100c
Detectado formato de arquivo AVI!
AVI: Trilha de vídeo faltando!? Contacte o autor, pode ser um bug :(
======= Desculpe, este formato de arquivo não é reconhecido/suportado ========
== Se este arquivo é um fluxo AVI, ASF ou MPEG, por favor contacte o autor ==
Impossível abrir "demuxer"

Saindo...






Debug: mencoder command 1 is: mencoder -mf h=240:w=320:type=jpg -o "tmpvid" -ovc lavc -lavcopts vcodec=ljpeg -noskip -ofps 25,000 mf://*.jpg

-frames 280 1>&2
MEncoder 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilado para CPU x86 com extenções: MMX MMX2 3DNow 3DNowEx SSE SSE2

85 audio & 196 video codecs
Arquivo não encontrado: 'frameno.avi'
Failed to open frameno.avi
success: format: 16 data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: *.jpg
[mf] number of files: 280 (1120)
VIDEO: [IJPG] 320x240 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:320x240 fps:25.00 ftime:=0.0400
Abrindo filtro de vídeo: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Abrindo decodificador de vídeo: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Gravando cabeçalho do AVI...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
VDec: configuração vo pedida - 320 x 240 (preferido csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Aspecto do filme é 1.33:1 - pré-redimensionando para corrigir o aspecto do filme.
videocodec: libavcodec (320x240 fourcc=47504a4c [LJPG])
[ljpeg @ 0x86458e0]colorspace not supported in jpeg
Impossível abrir codec
FATAL: Impossível inicializar o driver de vídeo.

Saindo...






Debug: mencoder command 2 is: mencoder -mc 0 -o "/home/claudio/kali/lp01.avi" -oac copy -audiofile /tmp/livestmp//667049823/audiodump.wav

-ovc lavc -lavcopts vcodec=mjpeg:vhq -noskip -ofps 25,000 tmpvid -info comment="Created with LiVES":name="Kali project":artist="Claudio" 1>&2
MEncoder 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compilado para CPU x86 com extenções: MMX MMX2 3DNow 3DNowEx SSE SSE2

85 audio & 196 video codecs
Arquivo não encontrado: 'frameno.avi'
Failed to open frameno.avi
success: format: 0 data: 0x0 - 0x100c
Detectado formato de arquivo AVI!
AVI: Trilha de vídeo faltando!? Contacte o autor, pode ser um bug :(
======= Desculpe, este formato de arquivo não é reconhecido/suportado ========
== Se este arquivo é um fluxo AVI, ASF ou MPEG, por favor contacte o autor ==
Impossível abrir "demuxer"

Saindo...






Debug: transcode command is transcode -i list -x imlist,null -g 320x240 -f 25,000 -o "/home/claudio/kali/lp01.avi" -y ffmpeg -F mjpeg -N 0x1

-z -k --avi_comments comments 1>&2
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[fileinfo.c:118] file read error: Success
[transcode] auto-probing source list (failed)
[transcode] V: import format | unknown (V=imlist|A=null)
[transcode] V: import frame | 320x240 1.33:1
[transcode] V: flip frame | yes
[transcode] V: rgb2bgr | yes
[transcode] V: bits/pixel | 0.000 (unknown)
[transcode] V: decoding fps,frc | 0.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export format | 0x1 PCM [48000,16,2] 1536 kbps
[transcode] V: encoding fps,frc | 0.000,0
[transcode] A: bytes per frame | -2147483648 (inf)
[transcode] A: adjustment | -2147483648@1000
[transcode] V: IA32 accel mode | sse (sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using mmxext for memcpy
[transcode] V: video buffer | 10 @ 320x240
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_imlist.so] v0.0.2 (2003-11-13) (video) RGB
Video format not supported by import module
Please try --uyvy or --use_rgb
[transcode] failed to init import modules
[transcode] critical: plug-in initialization failed





ffmpeg_encoder command is: ffmpeg -comment "Created with LiVES" -author "Claudio" -title "Kali project" -y -f image -r 25,000 -i %8d.jpg -r

25,000 -t 11.16 "/home/claudio/kali/lp01.avi" 1>&2
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share

--sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --enable-shared-pp --enable-shared --disable-static --enable-mmx

--disable-altivec --disable-debug --enable-mp3lame --disable-a52 --disable-a52bin --enable-audio-oss --enable-v4l --disable-dv1394

--disable-dc1394 --enable-pthreads --enable-xvid --enable-ogg --enable-vorbis --enable-dts --disable-network --enable-zlib --enable-ffplay

--enable-faad --enable-faac --disable-faadbin --enable-gpl --enable-pp --disable-opts
built on Oct 26 2005 01:27:39, gcc: 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
*** glibc detected *** double free or corruption (!prev): 0x0805b020 ***
sh: line 1: 11995 Abortado ffmpeg -comment "Created with LiVES" -author "Claudio" -title "Kali project" -y -f image -r 25,000

-i %8d.jpg -r 25,000 -t 11.16 "/home/claudio/kali/lp01.avi" 1>&2
Traceback (most recent call last):
File "/usr/share/lives/plugins/encoders/multi_encoder", line 387, in ?
if abs(24000.0/1001.0 - float(fps)) < fpst: fpsc = '1'
ValueError: invalid literal for float(): 25,000



The mplayer version installed on my system is the following:

Quote:
Calculating dependencies ...done!
[ebuild R ] media-video/mplayer-1.0_pre7-r1 -3dfx +3dnow +3dnowext +X +aac -aalib +alsa (-altivec) +arts -bidi -bl -cdparanoia -cpudetection -custom-cflags -debug +dga -directfb -doc +dts -dv -dvb +dvd -dvdread -edl +encode +esd* -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc +live +lzo +mad +matroska -matrox +mmx +mmxext -mythtv -nas +nls +nvidia +opengl +oss +png +real -rtc -samba +sdl +sse +sse2 -svga -tga -theora +truetype +v4l -v4l2 +vorbis +win32codecs -xanim -xinerama +xmms +xv +xvid +xvmc 0 kB


My system details:

Quote:
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -momit-leaf-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -momit-leaf-frame-pointer -fno-ident"
DISTDIR="/mnt/hda/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo http://www.linorg.usp.br/gentoo/ ftp://ftp.linorg.usp.br/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.oregonstate.edu/ "
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/mnt/hda/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aaci alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cmipci crypt curl dga dts dvd eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java javascript jpeg kdeenablefinal kdexdeltas lcms libg++ libwww live lzo mad matroska mikmod mmx mmxext mng mozcalendar mp3 mpeg ncurses nls nomotif nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline real sdl speex spell sse sse2 ssl tcltk tcpd theorai threads tiff truetype truetype-fonts type1-fonts udev userlocales v4l vidix vorbis win32codecs xine xml2 xmms xv xvid xvmc yv12 zlib video_cards_nvidia linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS


Thanks in advance
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes


Last edited by Gotterdammerung on Wed Nov 30, 2005 12:25 am; edited 3 times in total
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Thu Nov 24, 2005 11:01 am    Post subject: Reply with quote

bump!
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Mon Nov 28, 2005 11:30 am    Post subject: Reply with quote

Would somebody mind to post the output of his/her emerge -epv world and emerge --info if his/her system has Lives or Cinelerra running without errors?

Thanks in advance.
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Tue Nov 29, 2005 2:33 am    Post subject: Reply with quote

Nothing so far. I'm recompiling the whole system with the following config to see what happens:

Code:
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-O2 -mtune=athlon-xp -pipe -fomit-frame-pointer  -fvisibility-inlines-hidden"
DISTDIR="/mnt/hda/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pt_BR"
LC_ALL="pt_BR"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/mnt/hda/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cmipci crypt curl dga dts eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java javascript jpeg kdeenablefinal kdexdeltas lcms libg++ libwww mad matroska mikmod mjpeg mmx mng mozcalendar mp3 mpeg ncurses nls nomotif nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline sdl speex spell sse sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev userlocales v4l vorbis xine xml2 xmms xv xvid zlib video_cards_nvidia linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET


Code:
 media-video/transcode-0.6.14-r3  +3dnow +X -a52 (-altivec) -dv -dvdread +encode -fame +gtk +imagemagick +jpeg -lzo +mjpeg +mmx +mpeg -network +ogg -pvm -quicktime +sdl +sse +sse2 -theora +truetype +v4l +vorbis +xml2 +xvid 0 kB

 media-video/mplayer-1.0_pre7-r1  -3dfx +3dnow -3dnowext +X -aac -aalib +alsa (-altivec) +arts -bidi -bl -cdparanoia -cpudetection -custom-cflags -debug +dga -directfb -doc +dts -dv -dvb -dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad +matroska -matrox +mmx -mmxext -mythtv -nas +nls +nvidia +opengl -oss +png -real -rtc -samba +sdl +sse +sse2 -svga -tga -theora +truetype +v4l -v4l2 +vorbis -win32codecs -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB

 media-video/ffmpeg-0.4.9_p20051120  -a52 -aac (-altivec) -debug -doc +dts +encode -ieee1394 +imlib +mmx -network +ogg -oss +sdl -test -theora +threads +truetype +v4l +vorbis +xvid +zlib 0 kB

 media-video/lives-0.9.5_pre3  +libvisual +matroska +ogg +theora +xmms 0 kB

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Nov 30, 2005 12:24 am    Post subject: Reply with quote

I've created the following bug report for this error: https://bugs.gentoo.org/show_bug.cgi?id=113957
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum