[FFmpeg-user] Tile produce erroneous output

Molly Millions mollyrazormillions at gmail.com
Tue May 28 14:13:22 CEST 2013


HI!

The newest ffmpeg produces an invalid image tile, after executing the
following:

$ ffmpeg -i 00002.MTS -an -vsync 0 -vf
'select=isnan(prev_selected_t)+gte(t-prev_selected_t\,2),scale=90:45,tile=10x9'
-qscale:v 3 'f%03d.jpg'

ffmpeg version N-39939-gc8e9c92 Copyright (c) 2000-2013 the FFmpeg
developers
  built on May 26 2013 12:29:28 with gcc 4.7 (Debian 4.7.3-4)
  configuration: --extra-cflags=-I../static/include
--extra-ldflags='-L../static/lib -static' --enable-gpl --enable-version3
--enable-static --disable-shared --disable-debug --enable-runtime-cpudetect
--enable-libmp3lame --enable-libx264 --enable-libspeex --enable-libvorbis
--enable-libvpx --enable-libfreetype --enable-libxvid
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray
--enable-libopenjpeg --disable-ffserver
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.100 / 55. 12.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  1.101 / 55.  1.101
  libavfilter     3. 70.101 /  3. 70.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mpegts, from '00002.MTS':
  Duration: 00:00:19.78, start: 1.000033, bitrate: 16138 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
fltp, 256 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
Output #0, image2, to 'f%03d.jpg':
  Metadata:
    encoder         : Lavf55.7.100
    Stream #0:0: Video: mjpeg, yuvj420p, 900x405 [SAR 8:9 DAR 160:81],
q=2-31, 200 kb/s, 90k tbn, 0.28 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.2 q=0.0 Lsize=N/A time=00:00:03.60 bitrate=N/A
video:28kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.077345%


Image tile:
http://imgur.com/rxHfr3k


An older version with the same command produces a correct result:

$ ffmpeg -i 00002.MTS -an -vsync 0 -vf
'select=isnan(prev_selected_t)+gte(t-prev_selected_t\,2),scale=90:45,tile=10x9'
-qscale:v 3 'f%03d.jpg'

ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct  8 2012 03:05:27 with gcc 4.4.5 (Debian 4.4.5-8)
  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
--disable-decoder=libdirac --enable-libfreetype --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      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mpegts, from '00002.MTS':
  Duration: 00:00:19.78, start: 1.000033, bitrate: 16138 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
s16, 256 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
Output #0, image2, to 'f%03d.jpg':
  Metadata:
    encoder         : Lavf54.29.104
    Stream #0:0: Video: mjpeg, yuvj420p, 900x405 [SAR 8:9 DAR 160:81],
q=2-31, 200 kb/s, 90k tbn, 0.56 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.1 q=0.0 Lsize=       0kB time=00:00:01.80 bitrate=
0.0kbits/s
video:16kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-100.000000%


http://imgur.com/MOiHDvO


Any ideas what could be wrong?

Thanks!


More information about the ffmpeg-user mailing list