Mencoder Help Please #2 (2-pass encoding)
Hi, Having digged net for a second day I am still having trouble converting a bunch of DIVX, XViD and QuickTime *.mov files into H264 (with mencoder) with AAC audio. Anyone please could help? I am trying to use one-line script for one-pass encoding: mencoder -oac faac -ovc x264 $1 -o $1.mp4 However, it produces no sound and throws message: WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help. I have no clue reason about. mencoder -oac copy -ovc x264 $1 -o $1.mp4 generates valid video file but sound track is being directly copied and remain mp3 2-PASS ENCODING - SEGMENTATION FAULT Having run this commands, I've got segmentation fault problem mencoder -nosound -ovc x264 -x264encopts pass=1:8x8dct:i8x8 $1 -o $1.mp4 mencoder -oac copy -ovc x264 -x264encopts pass=2:bitrate=1200:8x8dct:i8x8 $1 -o $1.mp4 x264 [warning]: Error: 2pass curve failed to converge x264 [warning]: target: 1000.00 kbit/s, expected: 449.69 kbit/s, avg QP: 10.0008 x264 [warning]: try reducing target bitrate or reducing qp_min (currently 10) x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow! Segmentation fault However, adjusting bitrate or lowering qp still produced segmentation fault. What's wrong ??? ------------------------------------------------- What I would like to write a script which scans given directory for *.avi and *.mov files, and converts them to H264/AAC sound using 2-pass encoding (since my script cannot do what is need in 1-pass I even did not tried 2-pass encoding). Anyone could suggest a workable solution? Thanks in advance.
participants (1)
-
Andrei Verovski (aka MacGuru)