New submission from ami_stuff <[email protected]>:

"-lowres" option from some time passes the value to the audio and video codecs
at the same time,
but I want to pass the value only to video codec without touching audio codec's
settings. I think that this should be changed by adding for example "-alowres"
option for audio codec's setting.

C:\>ffmpeg -lowres 2 -i "C:\zelda first commercial.mpeg" out.avi
FFmpeg version SVN-r26032, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec 16 2010 11:41:00 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg
 --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
--enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect -
-enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarss
l -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --
cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack

  libavutil     50.34. 0 / 50.34. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.99. 1 / 52.99. 1
  libavformat   52.88. 0 / 52.88. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.69. 0 /  1.69. 0
  libswscale     0.12. 0 /  0.12. 0
[mpeg @ 01bbd060] max_analyze_duration reached
Input #0, mpeg, from 'C:\zelda first commercial.mpeg':
  Duration: 00:00:29.76, start: 0.070267, bitrate: 690 kb/s
    Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 160x120 [PAR 1:1 DAR 4:3], 6
14 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 1 channels, s16, 64 kb/s
[NULL @ 01d08be0] Requested sampling rate unsupported using closest supported (1
6000)
[buffer @ 01cca210] w:160 h:120 pixfmt:yuv420p
[scale @ 01cee350] w:160 h:120 fmt:yuv420p -> w:40 h:30 fmt:yuv420p flags:0x4
[mp2 @ 01cb20b0] The maximum value for lowres supported by the decoder is 0
Output #0, avi, to 'out.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 40x30 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/
s, 90k tbn, 29.97 tbc
    Stream #0.1: Audio: mp2, 16000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening decoder for input stream #0.1

http://samples.mplayerhq.hu/MPEG1/zelda%20first%20commercial.mpeg

----------
messages: 12982
priority: normal
status: new
substatus: new
title: "-lowres" option passes the lowres value to audio and video codecs at 
the same time
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2432>
________________________________________________

Reply via email to