[FFmpeg-user] Can't encode a rawvideo stream - swScaler: Unknown format is not supported as input pixel format
White_R
bruno at anche.no
Tue Mar 29 13:07:08 CEST 2011
Hi all,
I couldn't find somebody else with my same issue, so I'm writing here.
I recorded an audio+video .mkv with
ffmpeg -f video4linux2 -s 352x288 -r 15 -b 3000k -i /dev/video0 -f
alsa -ac 2 -i hw:0 -vcodec rawvideo part0.mkv
Now I'd like to compress the video stream, but with
ffmpeg -i part0.mkv -an -vcodec libx264 out.mkv
I get
FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 21 2011 09:10:31 with gcc 4.4.5
configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall
-g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl
--enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid
--enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libspeex --enable-nonfree --disable-stripping
--enable-avfilter --enable-libdirac --disable-decoder=libdirac
--enable-libschroedinger --disable-encoder=libschroedinger
--enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp
--extra-libs=-lgcrypt --disable-altivec --disable-armv5te
--disable-armv6 --disable-vis
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.65. 0 / 1.65. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 0x9a0dd40] Estimating duration from bitrate, this may
be inaccurate
Input #0, matroska,webm, from 'video/cam/part0.mkv':
Metadata:
ENCODER : Lavf52.87.1
Duration: 00:41:48.33, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Video: rawvideo, 320x240, PAR 1:1 DAR 4:3, 15 fps, 15
tbr, 1k tbn, 15 tbc
Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, s16, 64 kb/s
swScaler: Unknown format is not supported as input pixel format
Cannot get resampling context
I'm running debian squeeze, with debian-multimedia in apt sources.list
Thank you for your attention,
bruno
More information about the ffmpeg-user
mailing list