Originally Posted by
IJK_Principle
I have this little flv downloaded using replay media catcher but I'm really hopeless trying to find a way to convert it to anything that is playable in windows media player, media player classic or vlc.
Put everything in the same folder. Probably ...\My Recordings is fine
Download FLVEXTRACT.EXE, Unzip, then Double-click it.
Tick the three tick boxes Video Timecode Audio
Drag and Drop khl.flv onto the FLVExtract window
You got three files
khl.aac
khl.264
khl.txt
Press the Copy Frame Rates button. Paste it into a text document
------------
File: khl.flv
Estimated True Frame Rate: 33.3333333333333 (100/3)
Average Frame Rate: 24.4988662131519 (10804/441)
-------------
You can close all FLVExtract Windows
This is the what you want from the copy frame rates button --> Average Frame Rate: 24.4988662131519
Round up to known good Frames Per Second values. In this case round up to 25
Combine the audio and video into an MP4 file. Note below where we use the rounded value "25" in MP4Box. <-- You may need to download this and unzip it to where everything else is.
In a command window navigate to where everything is in the same folder, e.g.,
Code:
CD "%HOMEDRIVE%%HOMEPATH%\My Documents\My Recordings"
type in
Code:
mp4box.exe -add "khl.264:fps=25" -add "khl.aac" "khl_flv.mp4"
and hit enter.
If you have errors running mp4box you may need the latest version of the Microsoft Visual Studio 2008 redistributable containing MSVCR90.dll. It can be very bad to hunt for DLL's other than from a Microsoft site. Choose your platform x86, ia64, download and install. Reboot if asked. Then try the MP4Box step again
You can delete khl.aac khl.264 khl.txt
khl_flv.mp4 should convert with Replay Converter or play in VLC.
Since we are dealing with a very short clip with only music and action this works. There is no perceptible audio/video destnchronization.
In other cases you would often transcode the video stream at the Average Frame Rate and convert the Frame Rate to the known good value during transcoding. This would leave the audio file at the same length of the video file. The audio and video would then be multiplexed together resulting in most probably imperceptible desynchronization as differences in average and actual rates of the two files is minimal.
Most video files with dialogue and face close-ups can't be done so simply. The loger the video the worse it gets.
Bookmarks