Log in

View Full Version : x264 error: ffms : could not create index


lutinor
13th April 2011, 22:48
I use the last 1936 x264.exe v64bit but when i use this command line :

x264 --bitrate 1100 --fake-interlaced --bluray-compat --vf resize:width=720,height=576,method=spline --preset veryslow --tune animation --fps 25/1 --force-cfr --weightp 1 --bframes 3 --nal-hrd vbr --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 25 --b-pyramid strict --slices 4 --ref 6 --aud --colorprim "bt470bg" --transfer "bt470bg" --colormatrix "bt470bg" --sar 16:11 --pass 1 -o out.264 1.h264

I get -> ffms error : could not create index

Nonetheless the encode is starting...what is it ? :confused:

Dark Shikari
13th April 2011, 22:49
If FFMS fails, x264 will fall back to the next available input mode (typically lavf).

Why are you inputting from an H.264 file? Are my psychic powers telling me that you're trying to encode the output of pass 1 during the second pass?

lutinor
13th April 2011, 22:56
If FFMS fails, x264 will fall back to the next available input mode (typically lavf).

Why are you inputting from an H.264 file? Are my psychic powers telling me that you're trying to encode the output of pass 1 during the second pass?

No, my original file was an mkv, progressive high 5.1 in an exotic resolution. My first step to make it on a blueray is :

-resize to 720x576
-use the right command line to be bitrate and other stuff compliant

The previous version don't say this error if i remember right. Any idea ?

ps: hey wait, when i encode i use -pass1 and on the next line i change it to -pass2 without changing anything other in the cli, am i wrong ?

EDIT: very strange, when i use the file in his original container (aka mkv) i haven't the error...

sneaker_ger
13th April 2011, 23:19
EDIT: very strange, when i use the file in his original container (aka mkv) i haven't the error...

Because ffms supports h.264 in mkv.

lutinor
14th April 2011, 00:31
My source is a 23.976 mkv

If i use the mkv as source with the cli --fps 25/1 --force-cfr, i get an sound desync when i mux the data

Notheless

If i use the mkv as source with the cli --fps 24000/1001 --force-cfr, it's ok when i mux

Question : The fps is about the input or the output ?

ps: If i use tmpg to make it 25 fps (i get a big .mpg media) i can use --fps 25/1 and all is fine

sneaker_ger
14th April 2011, 00:35
This is expected and not a bug. "--fps" sets the framerate for the output, i.e. the duration each frame is shown is set. It does not duplicate/drop frames to change the framerate, like tmpg probably does.

Dark Shikari
14th April 2011, 00:51
No, my original file was an mkv, progressive high 5.1 in an exotic resolution. My first step to make it on a blueray is :

-resize to 720x576
-use the right command line to be bitrate and other stuff compliant

The previous version don't say this error if i remember right. Any idea ?

ps: hey wait, when i encode i use -pass1 and on the next line i change it to -pass2 without changing anything other in the cli, am i wrong ?Correct.

lutinor
14th April 2011, 07:30
This is expected and not a bug. "--fps" sets the framerate for the output, i.e. the duration each frame is shown is set. It does not duplicate/drop frames to change the framerate, like tmpg probably does.
I will make a new topic about that, it should help some people i think