[FFmpeg-user] libutvideo causes Segmentation fault
Johann Rekowski
johann.rekowski at googlemail.com
Sun Mar 10 15:17:50 CET 2013
Hello dear ffmpeg developers,
I'm having trouble with recording a video using the utvideo codec. It
instantly causes a Segmentation fault (core dumped) once I start encoding.
I'm using the latest Arch Linux with the latest kernel from official
repositories (3.7.10-1-ARCH). I'm trying to do a screencast with the
utvideo codec. I have compiled libutvideo and ffmpeg from git with
following parameters:
libutvideo:
# git source: git://github.com/qyot27/libutvideo.git
./configure \
--prefix=/usr \
--enable-shared \
--disable-static \
--optlevel=3 \
--enable-pic \
--enable-asm=x64
make
ffmpeg:
# git source: git://git.videolan.org/ffmpeg
./configure \
--prefix=/usr \
--disable-debug \
--disable-static \
--enable-libfaac \
--enable-nonfree \
--enable-avresample \
--enable-fontconfig \
--enable-gpl \
--enable-libass \
--enable-libbluray \
--enable-libfreetype \
--enable-libgsm \
--enable-libmodplug \
--enable-libmp3lame \
--enable-libopencore_amrnb \
--enable-libopencore_amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-libpulse \
--enable-librtmp \
--enable-libschroedinger \
--enable-libspeex \
--enable-libtheora \
--enable-libv4l2 \
--enable-libvorbis \
--enable-libx264 \
--enable-libxvid \
--enable-postproc \
--enable-runtime-cpudetect \
--enable-shared \
--enable-version3 \
--enable-libutvideo \
--enable-x11grab
make -j8
make tools/qt-faststart
make doc
Here's the command line input:
ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 -vcodec libutvideo output.avi
Here's the output:
ffmpeg version N-36845-gcb2bd91 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 10 2013 14:46:38 with gcc 4.7.2 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static
--enable-libfaac --enable-nonfree --enable-avresample --enable-fontconfig
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libv4l2 --enable-libvorbis --enable-libx264 --enable-libxvid
--enable-postproc --enable-runtime-cpudetect --enable-shared
--enable-version3 --enable-libutvideo --enable-x11grab
libavutil 52. 19.100 / 52. 19.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 44.100 / 3. 44.100
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[x11grab @ 0x2319140] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1920
height: 1080
[x11grab @ 0x2319140] shared memory extension found
[x11grab @ 0x2319140] Estimating duration from bitrate, this may be
inaccurate
Input #0, x11grab, from ':0.0':
Duration: N/A, start: 1362924305.570385, bitrate: 1990656 kb/s
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080,
1990656 kb/s, 30 tbr, 1000k tbn, 30 tbc
Output #0, avi, to 'output.avi':
Metadata:
ISFT : Lavf54.63.104
Stream #0:0: Video: utvideo (ULRG / 0x47524C55), bgr24, 1920x1080,
q=2-31, 200 kb/s, 30 tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> libutvideo)
Press [q] to stop, [?] for help
Segmentation fault (core dumped)
I have two questions regarding the libutvideo codec in ffmpeg:
#1: Did I compile utvideo right for ffmpeg or is this a bug?
#2: Where do I find the documentation for the arguments accepted by ffmpeg
for utvideo?
(e. g. -vcodec libutvideo -ULRG -predict-median -threads 8 etc.**)
Yours faithfully
Johann Rekowski
**
More information about the ffmpeg-user
mailing list