[MEncoder-users] Trimming video

Oded Shimon ods15 at ods15.dyndns.org
Fri Jun 24 22:59:39 CEST 2005


On Fri, Jun 24, 2005 at 03:02:18PM -0500, Pete Davis wrote:
> > From: mencoder-users-bounces at mplayerhq.hu [mailto:mencoder-users-
> > bounces at mplayerhq.hu] On Behalf Of Oded Shimon
> > Sent: Friday, June 24, 2005 2:28 PM
> > To: MEncoder usage discussions
> > Subject: Re: [MEncoder-users] Trimming video
> > 
> > On Fri, Jun 24, 2005 at 02:19:54PM -0500, Pete Davis wrote:
> > > > From: mencoder-users-bounces at mplayerhq.hu [mailto:mencoder-users-
> > > > bounces at mplayerhq.hu] On Behalf Of Oded Shimon
> > > > Sent: Friday, June 24, 2005 2:08 PM
> > > > To: MEncoder usage discussions
> > > > Subject: Re: [MEncoder-users] Trimming video
> > > >
> > > > On Fri, Jun 24, 2005 at 02:00:15PM -0500, Pete Davis wrote:
> > > > > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> > > > > VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
> > > > > [PP] Using external postprocessing filter, max q = 6.
> > > > > Could not find matching colorspace - retrying with -vf scale...
> > > > > Opening video filter: [scale]
> > > > > The selected video_out device is incompatible with this codec.
> > > > > VDecoder init failed :(
> > > > > Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-
> > > > v0.4.0b
> > > >
> > > >
> > > > There's nothing wrong here, this is standard output from
> > MPlayer/Mencoder
> > > > when opening an MPEG file when you don't have a hardware MPEG card. Is
> > > > this
> > > > the entire output? show -v. show the command line.
> > > >
> > >
> > > Sorry. Here's the whole output from the first encoding pass. Obviously
> > the
> > > Segmentation fault is a bad sign. I tried it without the -edl parameters
> > > which is exactly the way it was working before under pre6 and I still
> > get
> > > the same segmentation fault.
> > 
> > OK, seems you found a bug (in my code..), could you send a small sample,
> > your EDL, and atleast for once, the entire command line? It keeps getting
> > cut.
> > 
> > - ods15
> > 
> 
> I was wrong. I guess I didn't save the file when I removed the edl stuff
> because it worked fine when I removed it and remembered to save the file.
> 
> Anyway, here is the command line with the edl:
> 
> mencoder $1 -oac mp3lame -lameopts cbr:br=128 -o /dev/null -vf pullup,pp=md
> -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900:mbd=2:vpass=1:vqmin=2:vqmax=31
> -edl edit.edl -hr-edl-seek -

Why do you have that '-' at the end all the time? I kept thinking the 
command line was cut because I saw that.
'-' means read from stdin, hence explaining your problem. I'm pretty sure 
you have no intent of this...

I think the cause of your crash is a missing 'softskip' after vf_pullup!
Use '-vf pullup,softskip' ALWAYS, it leads to crashes otherwise.

Tell me if this helps.

- ods15




More information about the MEncoder-users mailing list