Comment 12 for bug 182999

Revision history for this message
Brian Neltner (neltnerb) wrote : Re: [Bug 182999] Re: AcidRip Fails to properly work with x264 (includes patch).

It appears that the mencoder x264 options have changed since I wrote the
patch. The me=3 option has been replaced with me=umh. However, it
appears that using umh over hex has a negligible gain in encoding
quality anyway, so I would recommend deleting the me=3 bit in the
encoding command.

In fact, you can replace the entire option line for the encoding with:

subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:threads=auto

for high quality encoding at reasonable speed, and with:

subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b:threads=auto

for ultra high quality encoding at slow speed.

These are the new "recommended" encoding options from the mencoder
homepage
(http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-x264-encoding-options).

On Thu, 2008-04-17 at 20:35 +0000, Kevin Oberle wrote:
> This patch doesn't work for me.
>
> I get the same symptoms before and after installing the patch. Upon
> starting the encode acidrip says it was interrupted by the user. Here is
> the debug output:
>
> AcidRip message - Running mencoder dvd://1 -dvd-device /dev/dvd -alang English -info srcform="DVD ripped by acidrip.sf.net" -oac mp3lame -lameopts abr:br=128 -ovc x264 -x264encopts subq=6:me=3:frameref=5:bframes=3:weight_b:turbo=2:psnr:keyint=125:bitrate=869 -vf pp=de -of mpeg -o "/home/kevin/juno.mpg"
> AcidRip message - Encoding film
> MEncoder 2:1.0~rc2-0ubuntu13 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Celeron(R) M processor 1.50GHz (Family: 6, Model: 13, Stepping: 8)
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> Option x264encopts: Bad argument me=3
> There are 32 titles on this DVD.
> There are 29 chapters in this DVD title.
> There are 1 angles in this DVD title.
> audio stream: 0 format: ac3 (5.1) language: en aid: 128.
> audio stream: 1 format: ac3 (stereo) language: es aid: 129.
> audio stream: 2 format: ac3 (stereo) language: fr aid: 130.
> audio stream: 3 format: ac3 (stereo) language: en aid: 131.
> number of audio channels on disk: 4.
> subtitle ( sid ): 4 language: en
> subtitle ( sid ): 5 language: es
> subtitle ( sid ): 6 language: es
> subtitle ( sid ): 7 language: fr
> number of subtitles on disk: 4
> success: format: 2 data: 0x2800 - 0x2000
> No matching DVD audio language found!
> MPEG-PS file format detected.
> VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
> [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
> Using MMX optimized resampler
> AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ==========================================================================
> PACKET SIZE: 2048 bytes, deltascr: 245760
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [pp=de]
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 480 (preferred colorspace: 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.
> Try appending the scale filter to your filter list,
> e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ==========================================================================
> MP3 audio selected.
> Limiting audio preload to 0.4s.
> Increasing audio density to 4.
> VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
> [PP] Using external postprocessing filter, max q = 6.
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> [swscaler @ 0x880f730]SwScaler: using unscaled yuv420p -> yuv420p special converter
> FATAL: Cannot initialize video driver.
>
> Exiting...
> AcidRip message - Playlist completed
> AcidRip message - Mencoder interrupted by user
>