[MacPorts] #12659: unable to fire subtitle to a video via mencoder

MacPorts trac at macosforge.org
Sat Jan 12 14:18:00 PST 2008


#12659: unable to fire subtitle to a video via mencoder
---------------------------------------+------------------------------------
  Reporter:  sylvain.maucourt at free.fr  |       Owner:  ecronin at macports.org
      Type:  defect                    |      Status:  assigned            
  Priority:  Normal                    |   Milestone:  Port Bugs           
 Component:  ports                     |     Version:  1.6.0               
Resolution:                            |    Keywords:                      
---------------------------------------+------------------------------------
Comment (by sylvain.maucourt at free.fr):

 i try this command line:
 mencoder origin.avi -o fichier.avi -ovc lavc -oac copy -sub fichier.srt

 with this version:
 swietenia:~ sylvek$ mencoder
 MEncoder 1.0rc2-4.0.1 (C) 2000-2007 MPlayer Team
 CPU: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz (Family: 6, Model:
 15, Stepping: 6)
 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

 the output:
 success: format: 0  data: 0x0 - 0x2bb47800
 AVI file format detected.
 [aviheader] Video stream found, -vid 0
 [aviheader] Audio stream found, -aid 1
 VIDEO:  [XVID]  656x272  12bpp  23.976 fps  1286.4 kbps (157.0 kbyte/s)
 [V] filefmt:3  fourcc:0x44495658  size:656x272  fps:23.98  ftime:=0.0417
 SUB: Detected subtitle file format: subviewer
 SUB: Read 628 subtitles.
 Opening video filter: [expand osd=1]
 Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
 ==========================================================================
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
 ==========================================================================
 audiocodec: framecopy (format=2000 chans=5 rate=48000 bits=0 B/s=56000
 sample-1)
 VDec: vo config request - 656 x 272 (preferred colorspace: Planar YV12)
 VDec: using Planar YV12 as output csp (no 0)
 Movie-Aspect is 2.41:1 - prescaling to correct movie aspect.
 videocodec: libavcodec (656x272 fourcc=34504d46 [FMP4])
 New_Face failed. Maybe the font path is wrong.
 Please supply the text font file (~/.mplayer/subfont.ttf).
 subtitle font: load_sub_face failed.
 Writing header...1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
 ODML: Aspect information not (yet?) available or unspecified, not writing
 vprp header.
 Writing header...
 ODML: Aspect information not (yet?) available or unspecified, not writing
 vprp header.

 1 duplicate frame(s)!
 Pos:3271.4s  78436f (97%) 177.74fps Trem:   0min 497mb  A-V:0.042
 [800:448]

 I see this line:
 New_Face failed. Maybe the font path is wrong.
 Please supply the text font file (~/.mplayer/subfont.ttf).
 subtitle font: load_sub_face failed.

 is there a problem?

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12659#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list