Shevek
3rd December 2010, 14:15
Hi All,
I am trying to encode some MJPG QT files from my digicam to x264 using ffmpeg but not having much luck.
My camera only records 15 mins at a time, my windscreen mount means that I have to mount my camera upside down and I want to speed the whole thing up by 4x so I have the following AviSynth Script:
a = QTInput("D:\Encode\P1010689.MOV", audio=false)
b = QTInput("D:\Encode\P1010690.MOV", audio=false)
c = QTInput("D:\Encode\P1010691.MOV", audio=false)
AlignedSplice(a,b,c)
Turn180()
AssumeFPS(last.framerate*4)
I am using Ramiro Polla's automated build (http://ffmpeg.arrozcru.org/autobuilds/) which I have unzipped to D:\Encode.
My command line is:
D:\Encode\ffmpeg\bin\ffmpeg.exe
-i D:\Encode\mov.avs -an -vcodec libx264
-fpre D:\Encode\ffmpeg\presets\libx264-medium.ffpreset -fpre D:\Encode\ffmpeg\presets\libx264-baseline.ffpreset
-vpre medium -vpre baseline -crf 22 -threads 0 D:\encode\mov.mp4
(I have split the lines for readability)
I get an error when I run this:
FFmpeg version SVN-r25862, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 3 2010 04:07:09 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread
s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --
enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-r
untime-cpudetect --enable-libxvid --enable-libx264 --extra-libs='-lx264 -lpthrea
d' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-o
s=mingw32 --enable-avisynth --cross-prefix=i686-mingw32- --cc='ccache i686-mingw
32-gcc' --enable-memalign-hack
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.67. 0 / 1.67. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, avs, from 'D:\Encode\mov.avs':
Duration: 00:11:15.00, start: 0.000000, bitrate: 0 kb/s
Stream #0.0: Video: rawvideo, yuyv422, 848x480, 781516 kb/s, 120 fps, 120 tb
r, 120 tbn, 120 tbc
File for preset 'medium' not found
What am I doing wrong?
TIA
I am trying to encode some MJPG QT files from my digicam to x264 using ffmpeg but not having much luck.
My camera only records 15 mins at a time, my windscreen mount means that I have to mount my camera upside down and I want to speed the whole thing up by 4x so I have the following AviSynth Script:
a = QTInput("D:\Encode\P1010689.MOV", audio=false)
b = QTInput("D:\Encode\P1010690.MOV", audio=false)
c = QTInput("D:\Encode\P1010691.MOV", audio=false)
AlignedSplice(a,b,c)
Turn180()
AssumeFPS(last.framerate*4)
I am using Ramiro Polla's automated build (http://ffmpeg.arrozcru.org/autobuilds/) which I have unzipped to D:\Encode.
My command line is:
D:\Encode\ffmpeg\bin\ffmpeg.exe
-i D:\Encode\mov.avs -an -vcodec libx264
-fpre D:\Encode\ffmpeg\presets\libx264-medium.ffpreset -fpre D:\Encode\ffmpeg\presets\libx264-baseline.ffpreset
-vpre medium -vpre baseline -crf 22 -threads 0 D:\encode\mov.mp4
(I have split the lines for readability)
I get an error when I run this:
FFmpeg version SVN-r25862, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 3 2010 04:07:09 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-pthread
s --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libmp3lame --
enable-libopenjpeg --enable-libschroedinger --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-r
untime-cpudetect --enable-libxvid --enable-libx264 --extra-libs='-lx264 -lpthrea
d' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --target-o
s=mingw32 --enable-avisynth --cross-prefix=i686-mingw32- --cc='ccache i686-mingw
32-gcc' --enable-memalign-hack
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.67. 0 / 1.67. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, avs, from 'D:\Encode\mov.avs':
Duration: 00:11:15.00, start: 0.000000, bitrate: 0 kb/s
Stream #0.0: Video: rawvideo, yuyv422, 848x480, 781516 kb/s, 120 fps, 120 tb
r, 120 tbn, 120 tbc
File for preset 'medium' not found
What am I doing wrong?
TIA