Hi, am facing a certain problem when attempting to hardsub an .srt file to another video file (.mkv).
First off, I imput the .srt file in the filters pane, following which I opened the video file in the abovemost box. I then switched back to the summary pane and selected AVI DIVX format and then clicked encode.
I have tried with two different video files, and two different .srt files, both of which produce the same problem. Upon completion of encoding, the program produces a .avi file that when played, freezes at the first frame of the video. The audio of this file however continues to play in the background.
I attempted to encode to .mp4 format, but again the same problem occurs.
Any assistance would be greatly appreciated. Thanks!
Results 1 to 11 of 11
-
-
Please follow the order in which ffmpegX expects settings to be done:
So first open the video file, then set a preset, then specify the subtitle file, then encode.
Some settings may be lost or changed, if you do the steps out of order.
Originally Posted by wyrewolf
-
I have done exactly as you have advised in the order that you stated, and in addition have tried all three possible mencoder presets (H.264, Xvid, DivX).
However, the same problem still occurs. A video file that freezes on the first frame, while the audio continues playing in the background.
-
Does this freeze happen with every player? (QuickTime Player, VLC, MPlayerOSX or perhaps a compatible set top player)
Can you find out if this is an encoding issue (is only the first frame encoded?) or a playback issue (does it fail to display any following frames because of a read error?) Do you see hints of a 'video refresh' if you skip to some point in the middle of the timeline?
What are the source resolution and the output resolution? Is it very high?
If you will, have a look at the Process Information log (click the blue "i" in the Progress window after a conversion). Can you post this log here? If there are no errors in there, it should contain a line describing the result of the video part of the conversion: "Video stream: xxx.xxx kbit/s (xxxxx B/s) size: xxxxxxx bytes xx.xxx secs xxx frames". I would be curious to see what it says about your conversion.
-
I've tried it with VLC player, Quicktime Player and MPlayerOSX, all three show the same problem. I am unsure as to whether it is an encoding issue or a playback issue. How would one check if it is either the former or the latter?
As for a "video refresh" there is no sign. The screen remains frozen at the first frame, but i hear the audio continuing from whatever point I had forwarded to.
This is what the current settings are:
Preset: AVI DivX mencoder
Video: mencoder mpeg4, 640x352, 4 kbps, 0.08 fps, no crop
Audio: mp3, 48000 Hz, 128 kbps
Source Video File Size: 284.6MB
Subtitle File Size: 44KB
Source Video Resolution: 720 x 480
-----
The Line you requested is here:
Video stream: 5.457 kbit/s (682 B/s) size: 2574830 bytes 3775.000 secs 113016 frames
Audio stream: 128.000 kbit/s (16000 B/s) size: 60273792 bytes 3767.112 secs
-
Originally Posted by wyrewolf
Originally Posted by wyrewolfLast edited by Case; 17th Apr 2010 at 02:42.
-
Apparently ffmpegX has trouble getting the correct framerate from your MKV file.
The solution it to get another tool to recognize the correct framerate. MediaInfo Mac or VideoSpec come to mind. Then use that framerate (most likely 23.976, 25 or 29.97) in ffmpegX, re-calculate the suggested bitrate by using the 'Best' button in the Bitrate calculator, then encode again.
-
Alright, in the process of downloading the software you recommended.
Upon completion, how does one apply the use of the new software with ffmpegX, in the way that ffmepgX can thus recognize the correct framerate?
Does one have to link the two softwares together? Or can I just try to encode as is with the three framerates you suggested?
-
I'm sorry, it isn't that advanced. The last tools will give all sorts of information on media files. If you tell it to examine your MKV file, it will display a value for the video framerate. Use that number to set a correct framerate in ffmpegX, either by typing it in, or by selecting one of the more common options in the drop down menu. Your action is to replace a faulty number by a trusted one.
(The best solution would be that the developer of ffmpegX brings out a new version that better recognizes MKV files.)Last edited by Case; 17th Apr 2010 at 03:16.
-
Hurrah! It worked!
For the benefit of those that might face the same problem, this is what I did:
Use VideoSpec to analyze the .mkv file. Check both the bit rate and frame rate.
Open ffmpegX, imput the video file and subtitle file as per Case's instructions above.
Open the Video pane, change the Video bit rate to the same number as specified in VideoSpec.
Change the frame rate to the same number as specified in VideoSpec.
Adjust the Video Size (resolution) to whatever you require.
Encode!
-----
And so it works! Thanks so much for your help Case!
Similar Threads
-
How to extract .srt from mkv file
By Wooody in forum SubtitleReplies: 13Last Post: 18th Oct 2012, 05:43 -
Can't Extract .srt files from .mkv file
By koenf1 in forum SubtitleReplies: 1Last Post: 1st Nov 2010, 14:11 -
mkv wont play after merging .srt file to it
By vice86 in forum SubtitleReplies: 2Last Post: 27th Oct 2010, 22:41 -
burning mkv file and separate srt file to play on dual layer disc
By julie_152 in forum Newbie / General discussionsReplies: 1Last Post: 29th Sep 2009, 11:26 -
Why did I convert MKV file to AVI and failed?
By efang622 in forum Video ConversionReplies: 4Last Post: 19th Nov 2007, 06:42