11/10/25 18:53:17.81 DV9VSl830
>>433
1.22r3同梱のFFmpeg SVN-r21400 では 以下の avs を読み込んで実行できました。
(保存設定→コメント付き動画→保存するファイル名を指定するにチェック .\video.avi)
C:\Saccubus\bin>type ..\test.avs
AviSource("video.avi")
Lanczos4Resize(last, 400, 300)
# Lanczos4Resize (last, int target_width, int target_height, float "src_left", float "src_top", float "src_width", float "src_height")
C:\Saccubus\bin>ffmpeg.exe -i ..\test.avs ..\avsout.avi
FFmpeg version SVN-r21400, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Jan 24 2010 02:55:46 with gcc 4.4.0
configuration: --enable-memalign-hack --prefix=/mingw --enable-gpl --enable-vrsion3 --enable-nonfree --enable-postproc --enable-avisynth
(略)
Input #0, avs, from '..\test.avs':
Duration: 00:00:40.36, start: 0.000000, bitrate: 0 kb/s
Stream #0.0: Video: rawvideo, yuv420p, 400x300, 43200 kb/s, 30 tbr, 30 tbn, 30 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Output #0, avi, to '..\avsout.avi':
Stream #0.0: Video: mpeg4, yuv420p, 400x300, q=2-31, 200 kb/s, 30 tbn, 30 tbc
Stream #0.1: Audio: mp2, 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
frame= 1201 fps= 99 q=24.8 Lsize= 2820kB time=39.97 bitrate= 578.1kbits/s
video:2432kB audio:312kB global headers:0kB muxing overhead 2.760065%
ただリサイズだけに関しては、オプションで -s WidthxHeight を指定しているので
それを変更すればいいだけですが。(アスペクト比を変更しない時)
それにこのavsでは音質が劣化したのでWAVESourceを使わないといけないのかな?
# Avisynth 2.58 をインストール済み。