[MEncoder-users] Broken mpeg files after EDL cutting

Volker Quetschke quetschke at scytek.de
Thu Dec 6 22:27:00 CET 2007


I am experiencing some problems using mencoder to cut mpeg files.

When cutting mpeg files recorded with GBPVR with my HVR-1600 card
I frequently (allways?) get the problem that the reported length
after cutting is 0:00:00. This occurs with the GBPVR viewer but
is reproducible with Windows Media Player. To exclude that this
problem stems from GBPVR or the HVR-1600 driver I build a "small"
testcase to reproduce the problem with a free mpeg from the web.

Get this file: <http://www.pangolin.com/images/video/creation.mpg>
(~48MB)

Check that it is OK - Mplayer, GBPVR and Windows Media Player
play it, it has a length of about 4:40min and the slider works
in Windows Media Player to access every position in the file.

Now do this:

$ ./mencoder.exe creation.mpg -edl cut.edl -oac copy -ovc copy -of mpeg
-o cr_cut.mpg

With cut.edl:
- - - - - - -
0.0 260.0 0
265.0 280.0 0
- - - - - - -

and play it again.

The length is 0, and the slider does not work. Also mplayer plays it,
but shows a broken frame:
A:   3.2 V:   3.2 A-V: -0.002 ct:  0.111  91/ 91  5%  8%  0.4% 0 0

Broken frame at 0xB539
A:   3.4 V:   4.4 A-V: -0.997 ct:  0.088 127/127  3%  8%  0.3% 0 0


Interestingly this the broken frame is not there if mplayer uses the
original file and the EDL file ( mplayer.exe creation.mpg -edl cut.edl).

Is this a known problem? Do solutions exist?

   Volker

P.S.: This is:

MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Turion(tm) 64 Mobile Technology ML-32 (Family: 15, Model: 36,
Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D



More information about the MEncoder-users mailing list