[FFmpeg-trac] #251(undetermined:new): rawvideo segfaults with -vcodec copy

FFmpeg trac at avcodec.org
Sun May 29 19:51:48 CEST 2011


#251: rawvideo segfaults with -vcodec copy
----------------------------------------------+---------------------
 Reporter:  thebombzen                        |        Type:  defect
   Status:  new                               |    Priority:  normal
Component:  undetermined                      |     Version:  git
 Keywords:  copy segmentation fault rawvideo  |  Blocked By:
 Blocking:                                    |  Reproduced:  0
 Analyzed:  0                                 |
----------------------------------------------+---------------------
 Hello, here is my full uncut output from ffmpeg:

 {{{
 [Leo at chessman ~]$ ffmpeg
 ffmpeg version git-N-30183-g040e1c6, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on May 24 2011 18:40:01 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
   configuration: --enable-static --enable-shared --enable-gpl --enable-
 version3 --enable-nonfree --enable-postproc --enable-x11grab --enable-
 runtime-cpudetect --enable-bzlib --enable-frei0r --enable-libopencore-
 amrnb --enable-libopencv --enable-libdc1394 --enable-libfaac --enable-
 libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
 --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --enable-libxvid --enable-zlib --arch=x86_64 --cpu=i7 --enable-pic
 --enable-sram --extra-libs=-lx264 --extra-cflags='-O3 -w' --extra-
 ldflags=-L/usr/local/lib --enable-libvo-amrwbenc --enable-libvo-aacenc
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  6. 0 / 53.  6. 0
   libavformat  53.  2. 0 / 53.  2. 0
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2. 10. 0 /  2. 10. 0
   libswscale    0. 14. 0 /  0. 14. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Hyper fast Audio and Video encoder
 usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
 outfile}...

 Use -h to get full help or, even better, run 'man ffmpeg'
 [Leo at chessman ~]$
 }}}

 When running this command:
 ffmpeg -f rawvideo -s qvga -r 29.97 -i /dev/zero -vcodec copy -f
 yuv4mpegpipe test.y4m
 FFmpeg segfaults just before encoding. However, with this command, it does
 not:
 ffmpeg -f rawvideo -s qvga -r 29.97 -i /dev/zero -vcodec rawvideo -f
 yuv4mpegpipe test.y4m
 This also happens on other ffmpeg -i's that have rawvideo in the yuv pixel
 format, not just this one.

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/251>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list