Roger,

I'm trying to run more makempeg2 jobs and get the timings, but I'm 
having codec troubles.  Below is the output of makempeg2, where it seems 
at the last step mencoder declares it cannot open a codec.  Which codec 
or video-out device does it want?  Is it sensitive to something in the 
particular content I'm transcoding?  I've had success with some other 
hi-def video files.

This is a Mandriva 2008 64-bit system. I have compiled up the latest 
MPlayer (RC2), but its complaint is the same as the PLF packages that 
accompany the distro.

Here's the output, with the FATAL error at the bottom:

[EMAIL PROTECTED] tmp]$ makempeg2 home/mythtv/recordings/2051_20080801214700.mpg
Ext = mpg
Base = /home/mythtv/recordings/2051_20080801214700
/usr/local/bin/makempeg2: Temp file is /tmp/2051_20080801214700_tmp
Using SSE optimized IMDCT transform
Using MMX optimized resampler
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.
Limiting audio preload to 0.4s.
Increasing audio density to 4.

1 duplicate frame(s)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[...]
1 duplicate frame(s)!
/usr/local/bin/makempeg2: Oldfile= 
/home/mythtv/recordings/2051_20080801214700.mpg   newfile= 
/home/mythtv/recordings/2051_20080801214700.mpg.tmp

/usr/local/bin/makempeg2: ABITRATE = 384 TMPFILE is 
/tmp/2051_20080801214700_tmp

/usr/local/bin/makempeg2: abitrate is 384 limited to 320kbit/second
Cropping calculation with hsize=1280 vsize=720
/usr/local/bin/makempeg2: size:1280x720 is 1280 x 720 with vtype = MPEG2 
at  38810 bps and atype liba52 with crop=976:704:154:8,
/usr/local/bin/makempeg2: New Average bps = 3333 Max bps = 6666
/usr/local/bin/makempeg2: Crop is: crop=976:704:154:8,
/usr/local/bin/makempeg2: srate = 48000 abitrate=320
/usr/local/bin/makempeg2: FPS = 30000:1001
/usr/local/bin/makempeg2: scale = scale=640:456
/usr/local/bin/makempeg2: 1280x720 convertion selected
/usr/local/bin/makempeg2: Command line:
/usr/local/bin/makempeg2: nice -n 10 /usr/local/bin/mencoder -of mpeg 
-mpegopts format=dvd  -ovc lavc -vf 
crop=976:704:154:8,scale=640:456,expand=640:480,harddup -lavcopts 
vcodec=mpeg2video:keyint=18:vrc_buf_size=1835:vrc_maxrate=6666:vbitrate=3333 
-srate 48000  -oac mp3lame -lameopts cbr:br=320:preset=320 
-audio-preload 0.0 /home/mythtv/recordings/2051_20080801214700.mpg -o 
/home/mythtv/recordings/2051_20080801214700.mpg.mpg
MEncoder 1.0rc2-4.2.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (Family: 15, Model: 
67, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

success: format: 0  data: 0x0 - 0x50abf7b0
TS file format detected.
VIDEO MPEG2(pid=65) AUDIO A52(pid=68) NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  1280x720  (aspect 3)  59.940 fps  38810.4 kbps (4851.3 
kbyte/s)
[V] filefmt:29  fourcc:0x10000002  size:1280x720  fps:59.94  ftime:=0.0167
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [expand w=640 h=480]
Expand: 640 x 480, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Opening video filter: [scale w=640 h=456]
Opening video filter: [crop w=976 h=704 x=154 y=8]
Crop: 976 x 704, 154 ; 8
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1280 x 720 (preferred colorspace: Mpeg PES)
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.
Increasing audio density to 4.
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 2 -> 4
SwScaler: reducing / aligning filtersize 2 -> 4
SwScaler: reducing / aligning filtersize 2 -> 2
SwScaler: reducing / aligning filtersize 2 -> 2
[swscaler @ 0xd1cdf0]SwScaler: FAST_BILINEAR scaler, from yuv420p to 
yuv420p using MMX2
[swscaler @ 0xd1cdf0]SwScaler: using 4-tap MMX scaler for horizontal 
luminance scaling
[swscaler @ 0xd1cdf0]SwScaler: using 4-tap MMX scaler for horizontal 
chrominance scaling
[swscaler @ 0xd1cdf0]SwScaler: using n-tap MMX scaler for vertical 
scaling (YV12 like)
[swscaler @ 0xd1cdf0]SwScaler: 976x704 -> 640x456
videocodec: libavcodec (640x480 fourcc=3267706d [mpg2])
[mpeg2video @ 0xd245c0]MPEG1/2 does not support 19001/317 fps
Could not open codec.
FATAL: Cannot initialize video driver.

Exiting...

-- 
Clay Haapala <[EMAIL PROTECTED]>  GPG key 8DB9110D
"For as in absolute governments the King is law, so in free countries
  the law ought to be King; and there ought to be no other."
   -- Thomas Paine

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to