[MEncoder-users] Cutting MOV file

Rytis Daugirdas rd_ree at yahoo.com
Thu Jun 5 21:58:30 CEST 2008


Hello,

I'm very new to mencoder and just trying to use it for cutting movies of various formats. So far it worked fine with AVI files but now I've got a problem with cutting a MOV file:

mencoder -ss 00:01:00 -endpos 00:02:00 -ovc copy -oac pcm file.mov -o test.mov

I used "-oac pcm" as suggested by mencoder (it didn't like "-oac copy" for some reason).

I don't get any errors and the file can be played by mplayer. The problem is that from time to time the video gets garbled and then gets back to normal again after a few seconds. By garbled I mean very visible artifacts appear in different places of the video area. This happens periodically at irregular intervals.

I'm not really sure what the problem could be. Do you have any ideas? Are there any options I could use that may help without reducing video quality?

Here's the output of mencoder:

MEncoder 2:1.0~rc2-0ubuntu13+medibuntu1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6420  @ 2.13GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0  data: 0x0 - 0x901d3a4
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO:  [avc1]  1280x720  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7  fourcc:0x31637661  size:1280x720  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
videocodec: framecopy (1280x720 24bpp fourcc=31637661)
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos:   0.9s     22f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.084 [0:1411]
Skipping frame!
Pos:   1.2s     31f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.080 [2275:1411]
Skipping frame!
Pos:   1.6s     42f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.084 [2267:1411]
Skipping frame!

-- lots of similar "Skipping frame" messages omited --

Writing index...24f ( 0%) 1906.68fps Trem:   0min   0mb  A-V:0.050 [2093:1411]
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream: 2093.941 kbit/s  (261742 B/s)  size: 31419592 bytes  120.040 secs  3024 frames

Audio stream: 1411.200 kbit/s  (176400 B/s)  size: 21168000 bytes  120.000 secs



      


More information about the MEncoder-users mailing list