Log in

View Full Version : [resolved] Set frame rate in x264 file


karasu
14th June 2006, 07:33
I've encoded a DVD using Megui, but set a wrong frame rate in the d2v project file (29.97 instead of 25) After a 5 days 3 passes encoding the file looks great but not at the right speed.

How to chage the frame rate without reencoding?

Thanks (and sorry for my english)

ChronoCross
14th June 2006, 07:36
The short answer is no. Although it might be possible if you use a timecodes file in mkv. no guarantee it will work.

GodofaGap
14th June 2006, 07:38
If you used mp4, just remux with mp4box using -fps 25. In case of mkvmerge you can use the default duration setting.

But I don't know why you thought it was a good idea to change the framerate in the d2v file. You can only do this manually by editing it I think.

karasu
14th June 2006, 08:08
But I don't know why you thought it was a good idea to change the framerate in the d2v file. You can only do this manually by editing it I think.
I don't edit it, DGindex set himself to 29.97 (wich is wrong, I m not very familiar with DGindex, I probably don't use it correctly.) after 2/3pulldown the frame rate might be 25, not 29.97.

Thanks for your solutions, I'll try to adjust the frame rate with the container.

karasu
14th June 2006, 08:11
Hmm, another question, how to use Timecodes in MKVmerge? How to generate a timecode file?

foxyshadis
14th June 2006, 09:14
http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html#EXTERNAL%20TIMECODE%20FILES
All you need is a v1 with the desired fps and no other lines.

If you care to attack the first problem again, update to the latest dgindex first and try again. If it really is a PAL dvd and it's still registering as NTSC, post in the latest dgindex dev thread (there's a whole forum for them).

If it's a NTSC converted from PAL, it probably needs some kind of special treatment.

karasu
14th June 2006, 09:57
Thanks, I write a time code file ( only "Assume 25")
MKVmerge start the mux but an error (code3) returne à 1/3 of the mux process. impossible to complete the task.

I Think I'm going to restart the insane quality encoding job...

karasu
14th June 2006, 13:27
Finally, It's ok.
- I mux the video with yamb (mp4box) with -fps 25
- add the mp4 file in MKV merge gui and add the ac3 streams, subs, chapters, tags and cover images
- mux it
- the final MKV speed is correct!

great, thanks to all!

bond
14th June 2006, 19:00
good old mp4box ;)

moved

MeteorRain
15th June 2006, 04:20
# timecode format v1
Assume 25

karasu
15th June 2006, 07:23
Code:

# timecode format v1 Assume 25


Yes, Is use this for MKVmerge, but crash after 10-15 seconds with "error code 3"

GodofaGap
15th June 2006, 08:18
Have you tried to use --default-duration ?