[MPlayer-users] FLV, -ss and -hr-edl-seek

Ronni Egeriis ronni at contentcube.dk
Thu Apr 23 14:59:56 CEST 2009


Hi,

 

I'm having some difficulties trimming a FLV file with MEncoder.

 

I've tried two different approaches, with -ss and -endpos:

 

mencoder input.flv -ss 00:10:00 -endpos 00:20:00 -ovc copy -oac copy -o
output.flv

 

With this method I get an error message in the output, and MEncoder
doesn't seem to recognise the input "nan kbit/s":

 

CPU: Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz (Family: 6, Model:
23, Stepping: 8)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

Compiled with runtime CPU detection.

success: format: 0  data: 0x0 - 0x9fc861

libavformat file format detected.

[lavf] Video stream found, -vid 0

[lavf] Audio stream found, -aid 1

VIDEO:  [VP6F]  480x208  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)

[V] filefmt:44  fourcc:0x46365056  size:480x208  fps:30.00
ftime:=0.0333

========================================================================
==

Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)

Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)

========================================================================
==

videocodec: framecopy (480x208 0bpp fourcc=46365056)

audiocodec: framecopy (format=55 chans=2 rate=44100 bits=16 B/s=12000
sample-0)

Writing index...

Writing header...

ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

 

Video stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000
secs  0 frames

Audio stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000
secs

 

 

And with -hr-edl-seek:

 

mencoder input.flv -hr-edl-seek -edl a.edl -ovc copy -oac copy -o
output.flv

 

With this method it seems to success, though the output is the exact
same as the input. No differences, other than a larger output file.

 

Regards,

Ronni



More information about the MPlayer-users mailing list