[MEncoder-users] What's wrong with this script (encoding x264 in mkv-container)
Al Bogner
mencoder at ml082.pinguin.uni.cc
Sun Mar 22 23:30:54 CET 2009
Am Sonntag 22 März 2009 21:51:55 schrieb Kerry Kirk:
> I've never tried encoding multiple vids with a single output like you are
> trying to but have put the code in a nested for loop for individual
> recordings which I then later combined.
>
> The first thing I would try is changing *.mpg to `ls *.mpg`.
Ok, it won't be a problem to encode each mpg-file in a loop, but how do I add
all the encoded files to a single file?
Al
> On Sun, Mar 22, 2009 at 4:10 PM, Al Bogner
<mencoder at ml082.pinguin.uni.cc>wrote:
> > If I replace *.mpg with 1 existing filename, the script works. What do I
> > have
> > to do to encode a few mpg-files to 1 mkv-file? Any improvement of the
> > options
> > are welcome of course!
> >
> >
> >
> > #!/bin/sh
> >
> > mencoder *.mpg -aspect 16/9 -vf yadif=0,softskip,harddup -nosound -ovc
> > x264 -
> > x264encopts
> > bitrate=3500:subq=5:bframes=3:b_pyramid:weight_b:turbo=1:threads=auto:pas
> >s=1 -
> > of rawvideo -o /dev/null
> >
> > mencoder *.mpg -aspect 16/9 -vf yadif=0,softskip,harddup -nosound -ovc
> > x264 -
> > x264encopts
> >
> > bitrate=3500:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:thread
> >s=auto:pass=2 -of rawvideo -o movie.264
> >
> > mencoder *.mpg -of rawaudio -oac mp3lame -lameopts preset=standard -ovc
> > copy -
> > o movie.mp3
> >
> > mkvmerge -o movie.mkv movie.264 movie.mp3
> >
> > rm movie.mp3
> > rm movie.264
> > rm divx2pass.log
> >
> >
> >
> > Al
> >
> > _______________________________________________
> > MEncoder-users mailing list
> > MEncoder-users at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
More information about the MEncoder-users
mailing list