[MEncoder-users] MEncoder: not encoding entire file. Stops without error. (Video file broken?!)

Sebastian mencoder.20.deathcrow at spamgourmet.com
Tue Feb 10 02:52:32 CET 2009


Hi guys!

I'm trying to re-encode a x264 video file, but mencoder always stops
encoding before the video ends. wich results in about 8 minutes being
lost.
Even when using "-ovc copy" and "-oac copy" this happens.

The problem occurs at 36:09 minutes, when playing in mplayer the
playback will just stop there (just as if the ending was reached). But
if i skip over this point manually mplayer will play the rest of the
file fine. You can find the mplayer output at the end of this email.

I have been doing a lot of toying around with this file in the last
few hours (different formats, ffmpeg, rawvideo etc) and at one point
ffmpeg reported something about timestamps being "not monotone" or
something like that around the area (just one message and then it
aborted). But i can't reproduce the steps that led to this right now.

Is there any way to fix this file? Maybe it's possible to find the
'trouble' frames and just drop them?

Ah, and I am sorry: I am no video expert. So if i sound very
newbie-like or stupid, then please bare with me.

Thanks,
Sebastian


-----------------------------------------------------

[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[ass] auto-open
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
A:2169.3 V:2169.3 A-V: -0.022 ct: -0.077   0/  0 ??% ??% ??,?% 0 0

Exiting... (End of file)



More information about the MEncoder-users mailing list