Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd December 2010, 14:15   #1  |  Link
Shevek
Registered User
 
Join Date: May 2008
Location: Kent, UK
Posts: 154
Windows ffmpeg: File for preset 'medium' not found

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:

Code:
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 which I have unzipped to D:\Encode.

My command line is:

Code:
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:

Code:
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

Last edited by Shevek; 3rd December 2010 at 14:30.
Shevek is offline   Reply With Quote
Old 3rd December 2010, 14:18   #2  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
-fpre D:\Encode\ffmpeg\presets\libx264-medium.ffpreset -fpre D:\Encode\ffmpeg\presets\libx264-baseline.ffpreset
-vpre medium -vpre baseline
Why are you specifying the same presets twice in two different ways?
Dark Shikari is offline   Reply With Quote
Old 3rd December 2010, 14:27   #3  |  Link
Shevek
Registered User
 
Join Date: May 2008
Location: Kent, UK
Posts: 154
Quote:
Originally Posted by Dark Shikari View Post
Why are you specifying the same presets twice in two different ways?
As I understood the documentation for this build, -fpre specifies the preset file's location and -vpre invokes it
Shevek is offline   Reply With Quote
Old 3rd December 2010, 14:35   #4  |  Link
Shevek
Registered User
 
Join Date: May 2008
Location: Kent, UK
Posts: 154
Quote:
Originally Posted by Dark Shikari View Post
Why are you specifying the same presets twice in two different ways?
Well, that was the answer!

I removed
Code:
-vpre medium -vpre baseline
and now it is encoding

Many thanks!
Shevek is offline   Reply With Quote
Reply

Tags
error, ffmpeg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.