Hi,
I'm using this <http://inferno.slug.org/cgi-bin/wiki?AviToVob> script to
convert mp4 files to mpg.
It uses the following command to run transcode:
" transcode --nice 20 \
           --print_status 250 \
           -G 0.9 \
           -J modfps=clonetype=3 \
           -x mplayer$MPLAYER_OPTS,raw \
           $probedata \
           -y ffmpeg \
           -p audiodump.wav \
           --import_asr $EXPORT_ASR \
           --export_asr $EXPORT_ASR \
           --export_prof dvd-$DVD_TYPE \
           $DVD_OPTS \
           -o $file \
           -m $file.ac3 \
           -i $arg \
       -J hqdn3d"

I've added a -R 1 at the end of the transcode command, copied the whole
command but used -R 2 (to make a two pass encode)
The first pass goes OK. However, at the second pass I get this error with
ffmpeg.

"[export_ffmpeg.so] Reading configuration from './ffmpeg.cfg'
[export_ffmpeg.so] Reading config section 'mpeg2video' from './ffmpeg.cfg'
[export_ffmpeg.so]: INFO: Starting 1 thread(s)
[export_ffmpeg.so]: INFO: Display aspect ratio calculated as 1.777778
[export_ffmpeg.so]: INFO: Sample aspect ratio calculated as 1.185185
tc_memcpy: using amd64 for memcpy
tc_memcpy: using amd64 for memcpy
[mpeg2video @ 0x2aaaaf9b16d0]Error: 2pass curve failed to converge
[export_ffmpeg.so] could not open FFMPEG codec
---------[transcode] warning : (encoder.c) video export module error: init
failed--------
---------[transcode] critical: failed to init encoder---------
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-gpl --enable-pp --enable-pthreads --enable-vorbis
--enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394
--disable-debug --enable-mp3lame --enable-faadbin --enable-faad
--enable-faac --enable-xvid --enable-x264 --enable-amr_nb --enable-amr_wb
--enable-shared --prefix=/usr
  libavutil version: 0d.49.0.0
  libavcodec version: 0d.51.11.0
  libavformat version: 0d.50.5.0
  built on Mar 25 2007 22:39:13, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Input #0, ac3, from
'[Okaeri]_Mahou_Sensei_Negima!_-_Introdução_I_[51F980FB].ac3':
  Duration: 00:05:54.7, start: 0.000000, bitrate: 224 kb/s
  Stream #0.0: Audio: ac3, 48000 Hz, stereo, 224 kb/s
Output #0, wav, to 'base.wav':
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
No accelerated IMDCT transform found
Press [q] to stop encoding
size=   66504kB time=354.7 bitrate=1536.0kbits/s
video:0kB audio:66504kB global headers:0kB muxing overhead 0.000065%
"

Can anyone help me to make a two pass encode???

-- 
Abraços,
Lucas PG Linard
    (\ /)
   (O.o)
   (> <)
Bunny, taking over the world, one signature at a time.

Reply via email to