[FFmpeg-user] deinterlacing failed (webm encoding)
Benoit
benoit at friry.net
Fri Apr 29 19:53:03 CEST 2011
Hello,
I try to save VHS films.
1st step: capturing from Dazzle DVC100
My box is not speed enough to encode directly.
$ ffmpeg \
-f alsa -i plughw:0,0 \
-f video4linux2 -tvstd SECAM -i /dev/video0 \
-acodec pcm_s16le -ac 2 -ar 44100 \
-vcodec mjpeg -qscale 1 -s 720x576 -r 25 -sameq \
-f avi video.avi
Avi file is huge, but seems ok. Readable with ffplay.
2nd step: cut and sync
I use avidemux to cut unwanted time at the beginning and at the end,
and to offset sound so as to resync.
3rd step: reencode
$ ffmpeg \
-i video.avi \
-acodec libvorbis -aq 4 -ac 2 \
-vcodec libvpx \
-deinterlace \
-croptop 6 -cropbottom 2 -cropleft 16 -cropright 6 \
-vb 1M \
-g 360 -keyint_min 0 \
-rc_lookahead 16 \
-skip_threshold 0 -level 116 \
-f webm video.webm
output is:
FFmpeg version 0.6.2-4:0.6.2-1, Copyright (c) 2000-2010 the Libav developers
built on Mar 29 2011 16:14:25 with gcc 4.5.2
configuration: --extra-version=4:0.6.2-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-x11grab --enable-libdirac --enable-libfaad --enable-librtmp --enable-libdc1394 --enable-shared --disable-static
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'video.avi':
Duration: 00:31:23.68, start: 0.000000, bitrate: 25231 kb/s
Stream #0.0: Video: mjpeg, yuvj420p, 720x576, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[libvpx @ 0xc78e50]v0.9.6
Output #0, webm, to 'video.webm':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: libvpx, yuv420p, 698x568, q=2-31, 1000 kb/s, 1k tbn, 25 tbc
Stream #0.1: Audio: libvorbis, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
Deinterlacing failed
Deinterlacing failed
Deinterlacing failed
Deinterlacing failed
Deinterlacing failedq=0.0 size= 69kB time=0.09 bitrate=6046.5kbits/s
Deinterlacing failed
Deinterlacing failed
Deinterlacing failedq=0.0 size= 69kB time=0.18 bitrate=3141.5kbits/s
Deinterlacing failed
Deinterlacing failed
Deinterlacing failedq=0.0 size= 101kB time=0.29 bitrate=2794.8kbits/s
Deinterlacing failed
Deinterlacing failed
Deinterlacing failedq=0.0 size= 133kB time=0.43 bitrate=2503.7kbits/s
Deinterlacing failed
Deinterlacing failedq=0.0 size= 133kB time=0.50 bitrate=2156.0kbits/s
Deinterlacing failed
Deinterlacing failed
Deinterlacing failedq=0.0 size= 165kB time=0.62 bitrate=2175.4kbits/s
frame= 19 fps= 4 q=0.0 Lsize= 195kB time=0.72 bitrate=2216.6kbits/s
video:182kB audio:8kB global headers:4kB muxing overhead 0.508158%
Final webm video is not deinterlaced.
I've got the same errors with first file (before avidemux)
Any idea about the "Deinterlacing failed"?
(I'm also interested by any hint about my process. Is MJPEG a good intermediate?)
Thanks,
benoit
More information about the ffmpeg-user
mailing list