Bug#663891: ffmpeg: little bug with redirection

yelloprotoss yellowprotoss at gmail.com
Wed Mar 14 19:53:14 UTC 2012


Package: ffmpeg
Version: 4:0.5.4-1
Severity: minor



ffmpeg -f alsa -ac 2 -i  hw:0,0 -f video4linux2 -i /dev/video0   pipe: | cat > test2.avi


$ ffmpeg -f alsa -ac 2 -i  hw:0,0 -f video4linux2 -i /dev/video0   pipe: | cat > test2.avi
FFmpeg version SVN-r0.5.4-4:0.5.4-1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.4-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar 26 2011 22:50:57, gcc: 4.4.5
Input #0, alsa, from 'hw:0,0':
  Duration: N/A, start: 20636.988357, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
[video4linux2 @ 0x93da3a0]Wrong size (0x0)
/dev/video0: Error while opening file


it should however work

it works wiht a file: 
 ffmpeg -f alsa -ac 2 -i  hw:0,0  -f avi pipe: | cat > test2.avi


someday a fix would be helpful.

Thank for ffmpeg !


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ffmpeg depends on:
ii  libavcodec52                  4:0.5.2-6  ffmpeg codec library
ii  libavdevice52                 4:0.5.2-6  ffmpeg device handling library
ii  libavfilter0                  4:0.5.2-6  ffmpeg video filtering library
ii  libavformat52                 4:0.5.2-6  ffmpeg file format library
ii  libavutil49                   4:0.5.2-6  ffmpeg utility library
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libpostproc51                 4:0.5.2-6  ffmpeg video postprocessing librar
ii  libsdl1.2debian               1.2.14-6.1 Simple DirectMedia Layer
ii  libswscale0                   4:0.5.2-6  ffmpeg video scaling library

ffmpeg recommends no packages.

ffmpeg suggests no packages.

-- no debconf information





More information about the pkg-multimedia-maintainers mailing list