[FFmpeg-trac] #706(avfilter:new): scale filter doesn't understand »out_h«

FFmpeg trac at avcodec.org
Sun Dec 4 23:04:40 CET 2011


#706: scale filter doesn't understand »out_h«
------------------------------------+------------------------------------
             Reporter:  taeuber     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  scale       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by taeuber):

 command line:
 nice -n 9 ionice -c3 ffmpeg -i 2a.mpeg -an -sn -threads 0 -vf
 crop=in_w-0-16:in_h-6-2:0:6,scale=ow:oh/2,setsar=32:15 -c:v libx264
 -x264opts crf=23:deblock:partitions=all:me=tesa:merange=16:subme=9:min-
 keyint=25:keyint=250:scenecut=40:b-adapt=2:qcomp=.6:qpmin=10:qpmax=51:qpstep=4:bframes=16:ref=3:direct=auto:trellis=2:weightp=2:b-pyramid=normal
 -f matroska -y test.mk

 [[BR]]
 [[BR]]

 console output:
 ffmpeg version N-35433-g2f8b6e9, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec  4 2011 21:30:23 with gcc 4.5.2
   configuration: --enable-gpl --enable-pthreads --enable-libx264 --enable-
 libfaac --enable-libgsm --enable-libmp3lame --enable-libschroedinger
 --enable-libtheora --enable-libvorbis --enable-nonfree --enable-shared
 --enable-pic --enable-libxvid --enable-libdirac --enable-libspeex
 --enable-librtmp --enable-libopenjpeg --disable-vdpau
   libavutil    51. 30. 0 / 51. 30. 0
   libavcodec   53. 40. 0 / 53. 40. 0
   libavformat  53. 24. 0 / 53. 24. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 51. 0 /  2. 51. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpeg @ 0x1fa99a0] max_analyze_duration 5000000 reached at 5000000
 Input #0, mpeg, from '2a.mpeg':
   Duration: 00:08:05.02, start: 0.360000, bitrate: 7087 kb/s
     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR
 16:15 DAR 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
 [buffer @ 0x1fb03c0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15
 sws_param:
 [setsar @ 0x1fa5b80] a:32/15
 [crop @ 0x1fa48e0] w:720 h:576 -> w:704 h:568
 Error when evaluating the expression 'oh/2'
 Error opening filters!

 [[BR]]
 [[BR]]


 Thanks!

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/706#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list