Look at attached message,
ffmpeg problem... i use ffmepg/ mpeg4 for .avi encodes for my dsm320 -
just use 1st pass only... - quality is fine.
Florian Lindner wrote:
> Hello,
> my ffmpeg with mpeg4 codec failed on the second pass. What's wrong there?
>
> Thanks,
>
> Florian
>
>
> Job 'Video Transkodieren - Titel #1, Lauf 2' failed with error message:
> Command exits with failure code:
> Command: mkdir -m 0775 -p '/media/disk/temp/Land_of_the_dead/tmp' &&
> cd /media/disk/temp/Land_of_the_dead/tmp &&
> mkdir -p /media/disk/temp/Land_of_the_dead/avi/001 && execflow -n 19
> transcode -H 10 -a 1 -x vob -i /media/disk/temp/Land_of_the_dead/vob/001/ -w
> 1668,50 -F mpeg4 -b 128,0,2 -s 1.018 --a52_drc_off -J
> smartyuv=threshold=10:Blend=1:diffmode=2:highq=1 -f 25.000 -Y 42,0,38,0 -B
> 28,12,8 -R 2 -y
> ffmpeg -o /media/disk/temp/Land_of_the_dead/avi/001/Land_of_the_dead-001.avi
> --print_status
> 25 && echo EXECFLOW_OK
>
> Output: transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T.
> Bitterberg
> tc_memcpy: using sse for memcpy
> [import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM |
> (subtitle)
> [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.9.0 | (audio)
> MPEG/AC3/PCM
> [export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant
> video).
> [export_ffmpeg.so]: WARNING: Interlacing parameters unknown,
> use --encode_fields
> [export_ffmpeg.so]: INFO: No profile selected
> [export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
> [export_ffmpeg.so] found. Default settings will be used instead.
> [export_ffmpeg.so]: INFO: Starting 1 thread(s)
> [export_ffmpeg.so]: INFO: Set display aspect ratio to input
> tc_memcpy: using sse for memcpy
> tc_memcpy: using sse for memcpy
> [decode_mpeg2.c] libmpeg2 0.4.0b loop decoder
> [decode_mpeg2.c] libmpeg2 acceleration: mmxext
> [mpeg4 @ 0xb52caba4]removing common factors from framerate
> [mpeg4 @ 0xb52caba4]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] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
> [transcode] auto-probing source /media/disk/temp/Land_of_the_dead/vob/001/
> (ok)
> [transcode] V: import format | MPEG-2 (V=vob|A=vob)
> [transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
> [transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9
> [transcode] V: new aspect ratio | 624x352 1.77:1 (-B)
> [transcode] V: clip frame (->) | 624x272
> [transcode] V: bits/pixel | 0.393
> [transcode] V: decoding fps,frc | 25.000,0
> [transcode] V: multi-pass | (mode=2) reading data (pass2) from divx4.log
> [transcode] V: Y'CbCr | YV12/I420
> [transcode] A: import format | 0x2000 AC3 [48000,16,2] 384 kbps
> [transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
> [transcode] V: encoding fps,frc | 25.000,3
> [transcode] A: bytes per frame | 7680 (7680.000000)
> [transcode] A: adjustment | 0@1000
> [transcode] A: rescale stream | 1.018
> [transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
> [transcode] V: video buffer | 10 @ 720x576
> [filter_smartyuv.so] options=threshold=10:Blend=1:diffmode=2:highq=1
> [filter_smartyuv.so] (MMX) 0.1.4 (2003-10-13) Motion-adaptive deinterlacing
> [import_vob.so] tccat -i "/media/disk/temp/Land_of_the_dead/vob/001/" -t
> vob -d 0 -S 0 | tcdemux -a 1 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -a 1 -x
> ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 1
> [import_vob.so] tccat -i "/media/disk/temp/Land_of_the_dead/vob/001/" -t
> vob -d 0 -S 0 | tcdemux -s 0x81 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a
> 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
> [transcode] critical: failed to init encoder
>
> --------------------------------------------------------------------------------
>
>
--- Begin Message ---
|
Subject: |
ffmpeg/mpeg4 2pass broken (was: Re: [dvd::rip] errors at second pass) |
|
From: |
Jörn Reder <joern@xxxxxx> |
|
Date: |
Sun, 13 Aug 2006 13:03:16 +0200 |
Darren Cornish wrote:
> for some reason the second pass fails.. am fairly new to this - please
> be patient.
It looks something goes wrong with ffmpeg two pass initialization:
> [mpeg4 @ 0xb5216808]removing common factors from framerate
> [mpeg4 @ 0xb5216808]Error: 2pass curve failed to converge
> [export_ffmpeg.so] could not open FFMPEG codec
> [transcode] warning : (encoder.c) video export module error: init failed
I just tried to to a ffmpeg/mpeg4 2pass transcoding myself and got the
same error message! I upgraded my transcode/libavcodec installation, but
that didn't help. Looks like a serious problem with ffmpeg, which isn't
able to read or find it's own divx4.log file.
I googled for this issue and found this posting:
http://article.gmane.org/gmane.comp.video.mencoder.user/3612
So it looks like a known problem out of scope of transcode and dvd::rip.
For know you should use xvid for your transcodings.
@Christian Marillat: I used your transcode and libavcodec* i386 Debian
sid packages from today. Are you aware of this issue?
Regards,
Joern
--
Joern Reder
Development Head ZYN! Coding Division - http://www.zyn.de/
pgpL6X4nBheXo.pgp
Description: PGP signature
--- End Message ---
|