Log in

View Full Version : MKV with VFR x264 to CFR - Fastest Way


zerowalker
3rd March 2014, 06:06
As topic says, i need to convert/change an MKV container which has x264 encoded video that's VFR to CRF as fast as possible.

I know that i probably must reencode, and if so, what's fastest (meaning, what decoding should i use).

ffmpegsource2, DSS2 etc?

I also need audio which is in the MKV file, but i think you can simple use, Audiodub and Directshowsource for that in worst case.


Thanks

sneaker_ger
3rd March 2014, 12:39
ffvideosource("source.mkv", fpsnum=24000, fpsden=1001)
Adapt fpsnum and fpsden according to the frame rate you want for the output. (24000/1001=23.976, 30000/1001=29.97, 25/1=25, ...)
Decoding is usually very fast, encoding takes more time. No special recommendation except choose the x264 preset which you deem fast enough.

I also need audio which is in the MKV file, but i think you can simple use, Audiodub and Directshowsource for that in worst case.
Don't re-encode the audio, just merge the new video and and the source file (except old video) with mkvmerge.

zerowalker
5th March 2014, 12:18
Actually used that, and DSS2, seems to me it went faster using DSS2 with Audiodub thanks to the non-index.
Got it done anyway:)

Thanks